HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-87-generic #88-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 09:28:41 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/sos/report/plugins/__pycache__/ubuntu.cpython-312.pyc
�

([Qh���<�ddlmZmZmZddlmZGd�dee�Zy)�)�Plugin�UbuntuPlugin�SoSPredicate)�
is_executablec�"�eZdZdZdZdZdZd�Zy)�UbuntuzUbuntu specific information�ubuntu)�system)zubuntu-advantage-toolszubuntu-pro-clientzupdate-manager-corec�j�|jddg�td�rd}ntd�rd}nd}t|dg�	�}|j||d
��|j|�d�|d
��|jd
�|j	d�s|jgd��y|jgd��y)Nz1ubuntu-security-status --thirdparty --unavailablezhwe-support-status --verbose�uaz	ua status�proz
pro statuszubuntu-advantage status�tls)�kmodsT)�pred�changesz --format jsonz#/etc/ubuntu-advantage/uaclient.conf�all_logs)	z/var/log/ubuntu-advantage.logz/var/log/ubuntu-advantage.log.1z /var/log/ubuntu-advantage.log.2*z&/var/log/ubuntu-advantage-apt-hook.logz(/var/log/ubuntu-advantage-apt-hook.log.1z)/var/log/ubuntu-advantage-apt-hook.log.2*z#/var/log/ubuntu-advantage-timer.logz%/var/log/ubuntu-advantage-timer.log.1z&/var/log/ubuntu-advantage-timer.log.2*)z/var/log/ubuntu-advantage.log*z'/var/log/ubuntu-advantage-apt-hook.log*z$/var/log/ubuntu-advantage-timer.log*)�add_cmd_outputrr�
add_copy_spec�
get_option)�self�ua_tools_status�ua_preds   �;/usr/lib/python3/dist-packages/sos/report/plugins/ubuntu.py�setupzUbuntu.setups������?�*�
�	�
���)�O�
�5�
!�*�O�7�O��t�E�7�3�����O�!(�$�	�	8�����/�~�>�!(�$�	�	8�	
���@�A����z�*����
 �

�
��� �
�N)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesr�rrrr
s��.�J��K��H��H�%rrN)�sos.report.pluginsrrr�
sos.utilitiesrrr#rr�<module>r&s��B�A�'�2�V�\�2r