Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
o -�_g� � @ sb d dl mZmZ d dlmZmZmZmZ G dd� de�ZG dd� dee�Z G dd� deee�Z d S ) � )�join�normpath)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc @ 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 &