| Server IP : 77.50.203.18 / Your IP : 192.168.0.10 Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23 System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64 User : warsnews.ru ( 1001) PHP Version : 8.4.23 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/ |
Upload File : |
a
ܓ�i� � @ s. d dl Z d dlmZmZ G dd� dee�ZdS )� N)�Plugin�RedHatPluginc @ s, e Zd ZdZdZdZdZdd� Zdd� Zd S )
�
RhuiContainerz+Red Hat Update Infrastructure in ContainersZrhui_containerized)Z rhui_rhua)�)/var/lib/rhui/config/rhua/rhui-tools.confc
C s
| � g d�� | �d� d}dD ]2}d|�dd�� �}| j|� d|� �dd |d
� q | jddd
� d}| jd|� �ddd� | jd|� d�dd�}|d dkr�|d �� }t�|d�}t�|d�}| j |ddd� | j |ddd� dD ]} | j |� d| � �ddd� q�d S )N)r z7/var/lib/rhui/config/rhua/registered_subscriptions.confz/var/lib/rhui/pki/*z/var/lib/rhui/cache/*z/var/lib/rhui/root/.rhui/*z/var/lib/rhui/log/*z/var/lib/rhui/pki/**/*.keyz4podman exec rhui5-rhua rhui-manager --noninteractive)�statusz cert infoz
rhui-manager_� �_Zrhuiz
/var/lib/rhui)�runasZrunatZsuggest_filenamez/var/lib/rhui/remote_shareT)� recursivez/var/lib/pgsqlzdu -sh z
rhui5-rhua)� containerr zpodman exec rhui5-rhua find z/data)r r r �outputz*.logz*.conf)Z
PG_VERSIONzpostmaster.optsz/data/) Z
add_copy_specZadd_forbidden_path�replaceZadd_cmd_outputZadd_dir_listingZexec_cmd�
splitlines�fnmatch�filter)
�selfZ
rhui_cont_exeZsubcmdZ
suggest_fnameZpghomeZpodman_findZallfilesZlogfilesZconfigs�file� r �I/usr/lib/python3.9/site-packages/sos/report/plugins/rhui_containerized.py�setup s<