Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/sos/policies/distros/__pycache__/ |
Upload File : |
o ���b} � @ 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 sR e Zd ZdZdZdgZdZ d� fdd� Zedd d ��Z dd� Z d d� Z� ZS )� SuSEPolicy�SuSE)zDistribution Websitezhttps://www.suse.com/z/var/tmpNTc s� t t| �j||||d� | jttg7 _d| _t� | _| jj s,t dtjd� t� d� d| _| jtjd 7 _| jtjd 7 _| �� d S ) N��sysroot�init� probe_runtime�remote_execFz'Could not obtain installed package list)�file� z"/usr/sbin:/usr/bin:/root/bin:/sbinz/usr/local/binz/usr/local/sbin)�superr �__init__�valid_subclassesr r �usrmover �package_manager�packages�print�sys�stderr�exit�PATH�os�pathsep� set_exec_path��selfr r r r �� __class__� �;/usr/lib/python3/dist-packages/sos/policies/distros/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"