Server IP : 15.235.198.142 / Your IP : 216.73.216.190 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
� i��d( � �d � d dl mZmZmZmZ G d� de� Z G d� dee� Z G d� deee� Zy) � )�Plugin�RedHatPlugin�UbuntuPlugin�DebianPluginc �8 � e Zd ZdZdZdZdZdZd� Zd� Z d� Z d � Zy )�AutofszAutofs on-demand automounter�autofs)�storage�nfs)z/etc/sysconfig/autofsz/etc/default/autofs)r c � � | j dg| j ��� }|D ] }|j d� D ] }|dv s� y �! y)z; testing if autofs debug has been enabled anywhere z%^(DEFAULT_LOGGING|DAEMONOPTIONS)=(.*)� )z--debug�debugTF)� file_grep�files�split)�self�opt�opt1�opt2s �;/usr/lib/python3/dist-packages/sos/report/plugins/autofs.py� checkdebugzAutofs.checkdebug sZ � � �d�n�n�E� *�"�j�j�*��� �D�� � �3�� ���/�/�� � � � c �X � | j dg| j ��� }|D ] }|d c S y)z% capture daemon debug output z^(daemon.*)\s+(\/var\/log\/.*)� N)r r )r �debugout�is r �getdaemondebugzAutofs.getdaemondebug$ s; � � "�4�>�>�"C� /�#'�:�:�/��� �A��Q�4�K� r c �� � | j d� | j ddi� | j d� | j d� | j � r | j | j � � y y )N� /etc/auto*z/etc/autofs.conf�autofs_confr �automount -m)� add_copy_spec� add_file_tags�add_service_status�add_cmd_outputr r �r s r �setupzAutofs.setup, sf � ����<�(����.� �>�?�����)����N�+��?�?�����t�2�2�4�5� r c �v � | j ddd� | j ddd� | j ddd� y )Nr z(password=)[^,\s]*z \1********z/etc/autofs_ldap_auth.confz&(secret[\s]*[=]+[\s]*)(\'|\").*(\'|\")z\1\2********\3r! )�do_path_regex_sub�do_file_sub�do_cmd_output_subr&