![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
o i��dP � @ 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 &