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 : |
o -�_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 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 � j||||d� | jttg7 _d| _t� | _| jjs)| j � d� t�d� d| _ | j tjd 7 _ | j tjd 7 _ | �� 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__�valid_subclassesr r �usrmover �package_manager�packages�ui_log�error�sys�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! )�cls�remoter! r! r"