Ñò K<Ì]c @ s d d k l Z l Z l Z l Z d d k l Z l Z l Z d e f d „ ƒ YZ d e e f d „ ƒ YZ d e e e f d „ ƒ YZ d S( iÿÿÿÿ( t Plugint RedHatPlugint DebianPlugint UbuntuPlugin( t existst joint normpatht Namedc B sA e Z d Z d Z d Z d Z e Z d „ Z d „ Z d „ Z RS( s BIND named server t namedt systemt servicest networks /etc/named.confc C sƒ x| | i D]q } t | ƒ o^ | i | | i | ƒ g ƒ | i t | i | ƒ d ƒ ƒ | i t | i | ƒ d ƒ ƒ q q Wd S( Ns chroot/devs chroot/proc( t config_filesR t add_copy_spect get_dns_dirt add_forbidden_pathR ( t selft cfg( ( s5 /usr/lib/python2.6/site-packages/sos/plugins/named.pyt setup s c C s0 | i d | ƒ } | o t | d ƒ Sd Sd S( s3 grab directory path from named{conf,boot} s directory\s+"(.*)"i t N( t do_regex_find_allR ( R t config_filet directory_list( ( s5 /usr/lib/python2.6/site-packages/sos/plugins/named.pyR ( s c C s&