NineSec Team Shell
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  ]

Current File : //usr/lib/python3.6/site-packages/sos/policies/distros/__pycache__/suse.cpython-36.opt-1.pyc
3

~�g��@shddlZddlZddlmZmZddlmZddlmZddl	m
ZGdd�de�ZGdd	�d	e�Z
dS)
�N)�RedHatPlugin�
SuSEPlugin)�LinuxPolicy)�RpmPackageManager)�_soscsNeZdZdZdZdgZdZd�fdd�	Zedd
d��Z	dd
�Z
dd�Z�ZS)�
SuSEPolicy�SuSE�Distribution Website�https://www.suse.com/z/var/tmpNTcs�t�j||||d�|jttg7_d|_t�|_|jjsR|j	j
d�tjd�d|_
|j
tjd7_
|j
tjd7_
|j�dS)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_subclassesrrZusrmoverZpackage_managerZpackagesZui_log�error�sys�exit�PATH�os�pathsepZ
set_exec_path)�selfrrr
r)�	__class__��/usr/lib/python3.6/suse.pyrs

zSuSEPolicy.__init__�cCsdS)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)�clsZremoterrr�check-szSuSEPolicy.checkcCs|s
|jS|S)N)�_tmp_dir)rZopt_tmp_dirrrr�get_tmp_dir4szSuSEPolicy.get_tmp_dircCs|j�S)N)Z	host_name)rrrr�get_local_name9szSuSEPolicy.get_local_name)r	r
)NNTN)r)
�__name__�
__module__�__qualname__�os_release_name�vendor�vendor_urlsrr�classmethodrr r!�
__classcell__rr)rrrsrcs8eZdZdZdgZdZdZed�Zd�fd	d
�	Z	�Z
S)
�OpenSuSEPolicyr�Community Website�https://www.opensuse.org/ZOpenSuSEz/etc/SUSE-brandaSThis 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
NTcst�j||||d�dS)N)rrr
r)rr)rrrr
r)rrrrOs
zOpenSuSEPolicy.__init__)r+r,)NNTN)r"r#r$r&r'r%Zos_release_file�_�msgrr)rr)rrr*=sr*)rrZsos.report.pluginsrrZsos.policies.distrosrZ!sos.policies.package_managers.rpmrZsosrr-rr*rrrr�<module>
s*

NineSec Team - 2022