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/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/containers_common.cpython-310.pyc
o

-�_g�
�@s8ddlZddlmZmZmZmZGdd�deee�ZdS)�N)�Plugin�RedHatPlugin�UbuntuPlugin�	PluginOptc@s6eZdZdZdZdZdZeddedd�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�desccs�|�gd��|�ddi�|�d�}g}|r!dd�|�d�D�}gd�}|D])�tj�d	����}|�|�d
��|�d����|j�fdd�|D�d
d�q'dS)N)z/etc/containers/*z/usr/share/containers/*z/etc/subuidz/etc/subgidz/etc/containers/policy.json�containers_policyr	cSsg|]}|r|�qS�r)�.0�xrr�F/usr/lib/python3/dist-packages/sos/report/plugins/containers_common.py�
<listcomp>)sz*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 pszpodman ps -azpodman stats --no-stream --allzpodman versionzpodman volume lszbuildah infoz&buildah unshare cat /proc/self/uid_mapz&buildah unshare cat /proc/self/gid_mapzbuildah containerszbuildah containers --allzbuildah imageszbuildah images --allzbuildah version�~z/.config/containers/zloginctl user-status csg|]
}d��d|���qS)zmachinectl -q shell z@ /usr/bin/r)r�cmd��userrrrIs��T)�
foreground)�
add_copy_spec�
add_file_tags�
get_option�split�os�path�
expanduser�add_cmd_output)�self�	users_opt�
users_list�user_subcmds�
expanded_userrrr�setups*�
����zContainersCommon.setupN)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesr�str�option_listr'rrrrrs��r)r�sos.report.pluginsrrrrrrrrr�<module>s


https://t.me/RX1948 - 2025