%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/sos/report/plugins/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/libvirt.cpython-312.pyc

�

i��d
��4�ddlmZmZddlZGd�dee�Zy)�)�Plugin�IndependentPluginNc�$�eZdZdZdZdZd�Zd�Zy)�Libvirtzlibvirt virtualization API�libvirt)�system�virtc�X�d}|jgd��|jgd��|jd�s|jgd��n"|jd�|jd�|j|j	|��r|jd|z�|jd	�t
jd
�D]J}t|�j�j�d}dD]}|jd
|�d|�����L|jddd��y)N�/etc/libvirt/krb5.tab)z/etc/libvirt/passwd.dbrz&/var/lib/libvirt/qemu/*/master-key.aesz/etc/libvirt/secrets)z/etc/libvirt/libvirt.confz/etc/libvirt/libvirtd.confz/etc/libvirt/lxc.confz/etc/libvirt/nwfilter/*.xmlz/etc/libvirt/qemu/*.xmlz/etc/libvirt/qemu.confz
/run/libvirt/z /etc/libvirt/qemu/networks/*.xmlz*/etc/libvirt/qemu/networks/autostart/*.xmlz/etc/libvirt/storage/*.xmlz$/etc/libvirt/storage/autostart/*.xmlz/etc/libvirt/qemu-lockd.confz/etc/libvirt/virtlockd.confz/var/lib/libvirt/dnsmasq/*�all_logs)
z/var/log/libvirt/libvirtd.logz/var/log/libvirt/qemu/*.log*z/var/log/libvirt/lxc/*.logz/var/log/libvirt/uml/*.logz!/var/log/swtpm/libvirt/qemu/*.logz(/var/log/containers/libvirt/libvirtd.logz'/var/log/containers/libvirt/qemu/*.log*z%/var/log/containers/libvirt/lxc/*.logz4/var/log/containers/libvirt/swtpm/libvirt/qemu/*.logz%/var/log/containers/libvirt/uml/*.logz/var/log/libvirtz/var/log/containers/libvirtz
klist -ket %szls -lR /var/lib/libvirt/qemuz/run/libvirt/*/*.pidr)�environ�cgroup�maps�	numa_maps�limitsz/proc/�/�var_qemu_xml�libvirtd_qemu_log)z/run/libvirt/qemu/*.xmlz/var/log/libvirt/qemu/*.log)�add_forbidden_path�
add_copy_spec�
get_option�path_exists�	path_join�add_cmd_output�glob�open�read�
splitlines�
add_file_tags)�self�libvirt_keytab�pidfile�pid�pfs     �</usr/lib/python3/dist-packages/sos/report/plugins/libvirt.py�setupz
Libvirt.setups#��0��	
���!
�	�	
���
�	�"���z�*���� �
�
���1�2����<�=����D�N�N�>�:�;�����.� @�A����:�;��y�y�!7�8�	>�G��w�-�$�$�&�1�1�3�A�6�C�J�
>���"�"�C��#<�=�
>�	>�
	
���'5�+>�
�	�c�D�d}gd�}|D]}|j||d��y)Nz(\s*passwd=\s*')([^']*)('.*))z/etc/libvirt/qemu/.*\.xmlz/run/libvirt/qemu/.*\.xmlz/etc/libvirt/.*\.confz
\1******\3)�do_path_regex_sub)r �	match_exp�libvirt_path_exps�path_exps    r%�postproczLibvirt.postprocQs4��3�	�
��
*�	G�H��"�"�8�Y�
�F�	Gr'N)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profilesr&r-�r'r%rr
s��-�J��K�!�H�;�zGr'r)�sos.report.pluginsrrrrr4r'r%�<module>r6s ��9��LG�f�'�LGr'

Zerion Mini Shell 1.0