https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sos/policies/distros/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sos/policies/distros/__pycache__/suse.cpython-310.pyc
o

-�_g��@shddlZddlZddlmZmZddlmZddlmZddl	m
ZGdd�de�ZGdd	�d	e�Z
dS)
�N)�RedHatPlugin�
SuSEPlugin)�LinuxPolicy)�RpmPackageManager)�_soscsReZdZdZdZdgZdZ		d�fdd�	Zedd	d
��Z	dd�Z
d
d�Z�ZS)�
SuSEPolicy�SuSE)zDistribution Websitezhttps://www.suse.com/z/var/tmpNTcs�t�j||||d�|jttg7_d|_t�|_|jjs)|j	�
d�t�d�d|_
|j
tjd7_
|j
tjd7_
|��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__�valid_subclassesrr�usrmover�package_manager�packages�ui_log�error�sys�exit�PATH�os�pathsep�
set_exec_path��selfr
rrr
��	__class__��;/usr/lib/python3/dist-packages/sos/policies/distros/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!)�cls�remoter!r!r"�check-szSuSEPolicy.checkcCs|s|jS|S�N)�_tmp_dir)r�opt_tmp_dirr!r!r"�get_tmp_dir4szSuSEPolicy.get_tmp_dircCs|��Sr')�	host_name)rr!r!r"�get_local_name9szSuSEPolicy.get_local_name�NNTN)r#)
�__name__�
__module__�__qualname__�os_release_name�vendor�vendor_urlsr(r�classmethodr&r*r,�
__classcell__r!r!rr"rs�rcs<eZdZdZdgZdZdZed�Z		d
�fdd	�	Z	�Z
S)�OpenSuSEPolicyr)zCommunity Websitezhttps://www.opensuse.org/�OpenSuSEz/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)Nr	)rrrrr!r"rOs

�zOpenSuSEPolicy.__init__r-)r.r/r0r2r3r1�os_release_file�_�msgrr5r!r!rr"r6=s
�r6)rr�sos.report.pluginsrr�sos.policies.distrosr�!sos.policies.package_managers.rpmr�sosrr9rr6r!r!r!r"�<module>s	*

https://t.me/RX1948 - 2025