Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
o ���bP � @ sb d dl mZmZmZmZ d dlmZmZ G dd� de�ZG dd� dee�Z G dd� deee�Z d S ) � )�Plugin�RedHatPlugin�DebianPlugin�UbuntuPlugin)�join�normpathc @ s8 e Zd ZdZdZdZdZeZdd� Zdd� Z d d � Z dS )�NamedzBIND named server�named)�system�services�network�/etc/named.confc C sb | � ddg� | jD ]$}| �|�r.| � || �|�g� | �t| �|�d�t| �|�d�g� q d S )Nz/etc/default/bindz/var/log/named*.logz chroot/devzchroot/proc)� add_copy_spec�config_files�path_exists�get_dns_dir�add_forbidden_pathr )�self�cfg� r �:/usr/lib/python3/dist-packages/sos/report/plugins/named.py�setup s � ����zNamed.setupc C s | � d|�}|rt|d �S dS )z3 grab directory path from named{conf,boot} zdirectory\s+\"(.*)\"r � )�do_regex_find_allr )r �config_file�directory_listr r r r &