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/report/plugins/__pycache__/ |
Upload File : |
o ���b � @ s8 d dl mZmZmZmZ d dlZG dd� deee�ZdS )� )�Plugin�RedHatPlugin�UbuntuPlugin� PluginOptNc @ s6 e Zd ZdZdZdZdZeddedd�gZ d d � Z dS )�ContainersCommonz;Common container configs under {/etc,/usr/share}/containers�containers_common)� container)zcontainers-common� rootlessusers� z,colon-delimited list of users to collect for)�default�val_type�descc s� | � g d�� | �d�}g }|rdd� |�d�D �}g d�}|D ]$� | � dtj�d� � � | �d � � | j� fd d�|D �dd� q d S ) N)z/etc/containers/*z/usr/share/containers/*z/etc/subuidz/etc/subgidr c S s g | ]}|r|�qS � r )�.0�xr r �F/usr/lib/python3/dist-packages/sos/report/plugins/containers_common.py� <listcomp>% s z*ContainersCommon.setup.<locals>.<listcomp>�:)zpodman infoz%podman unshare cat /proc/self/uid_mapz%podman unshare cat /proc/self/gid_mapz podman imageszpodman images --digestsz podman pod pszpodman port --allz podman pszpodman ps -azpodman stats --no-stream --allzpodman versionzpodman volume lszbuildah infoz&buildah unshare cat /proc/self/uid_mapz&buildah unshare cat /proc/self/gid_mapzbuildah containerszbuildah containers --allzbuildah imageszbuildah images --allzbuildah versionz%s/.config/containers/z~%szloginctl user-status %sc s g | ]}d � |f �qS )z#machinectl -q shell %s@ /usr/bin/%sr )r �cmd��userr r r D s ��T)� foreground)� add_copy_spec� get_option�split�os�path� expanduser�add_cmd_output)�self� users_opt� users_list�user_subcmdsr r r �setup s"