Server IP : 184.107.3.203 / Your IP : 216.73.216.51 Web Server : Apache System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64 User : adminteladeoro ( 1015) PHP Version : 8.2.28 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/lib/python3.6/site-packages/sos/policies/distros/__pycache__/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
3 ~ �g� � @ sh d dl Z d dlZd dlmZmZ d dlmZ d dlmZ d dl m Z G dd� de�ZG dd � d e�Z dS ) � N)�RedHatPlugin� SuSEPlugin)�LinuxPolicy)�RpmPackageManager)�_sosc sN e Zd ZdZdZdgZdZd� fdd� Zedd d��Z dd � Z dd� Z� ZS )� SuSEPolicy�SuSE�Distribution Website�https://www.suse.com/z/var/tmpNTc s� t � j||||d� | jttg7 _d| _t� | _| jjsR| j j d� tjd� d| _ | j tjd 7 _ | j tjd 7 _ | j� d S )N)�sysroot�init� probe_runtime�remote_execFz(Could not obtain installed package list.� z"/usr/sbin:/usr/bin:/root/bin:/sbinz/usr/local/binz/usr/local/sbin)�super�__init__Zvalid_subclassesr r Zusrmover Zpackage_managerZpackagesZui_log�error�sys�exit�PATH�os�pathsepZ set_exec_path)�selfr r r r )� __class__� �/usr/lib/python3.6/suse.pyr s zSuSEPolicy.__init__� c C s dS )z�This method checks to see if we are running on SuSE. It must be overriden by concrete subclasses to return True when running on an OpenSuSE, SLES or other Suse distribution and False otherwise.Fr )�clsZremoter r r �check- s zSuSEPolicy.checkc C s |s | j S |S )N)�_tmp_dir)r Zopt_tmp_dirr r r �get_tmp_dir4 s zSuSEPolicy.get_tmp_dirc C s | j � S )N)Z host_name)r r r r �get_local_name9 s zSuSEPolicy.get_local_name)r r )NNTN)r ) �__name__� __module__�__qualname__�os_release_name�vendor�vendor_urlsr r �classmethodr r r! � __classcell__r r )r r r s r c s8 e Zd ZdZdgZdZdZed�Zd� fd d � Z � Z S ) �OpenSuSEPolicyr �Community Website�https://www.opensuse.org/ZOpenSuSEz/etc/SUSE-brandaS This command will collect diagnostic and configuration information from this %(os_release_name)s system and installed applications. An archive containing the collected information will be generated in %(tmpdir)s and may be provided to a %(vendor)s support representative. No changes will be made to system configuration. %(vendor_text)s NTc s t � j||||d� d S )N)r r r r )r r )r r r r r )r r r r O s zOpenSuSEPolicy.__init__)r+ r, )NNTN)r"