|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21572/root/usr/lib/python2.4/site-packages/sos/plugins/ |
Upload File : |
mň
Ül2Wc @ sK d k Z d k Z d k l Z l Z l Z d e i i f d YZ d S( N( s normpaths joins existst namedc B s) t Z d Z d Z d Z d Z RS( s named related information
c C s= | i d i d p t d p
t d o t Sn t S( Nt policyt binds /etc/named.confs /etc/sysconfig/named( t selft cInfot pkgByNamet existst Truet False( R ( ( t5 /usr/lib/python2.4/site-packages/sos/plugins/named.pyt checkenabled s 1c C s | i d | } t | d S( s3 grab directory path from named{conf,boot}
s directory\s+"(.*)"i N( R t doRegexFindAllt
configFilet
directoryListt normpath( R R R
( ( R t getDnsDir s c C s d } x | D]x } t | oe | i | | i | i | | i t | i | d | i t | i | d q
q
W| i d d S( Ns /etc/named.confs /etc/named.boots
chroot/devs chroot/procs /etc/sysconfig/named( s /etc/named.confs /etc/named.boot( t cfgFilest cfgR R t addCopySpecR t addForbiddenPatht join( R R R ( ( R t setup! s
'
( t __name__t
__module__t __doc__R
R R ( ( ( R R s (
t sos.plugintoolst sost commandst os.pathR R R t plugintoolst
PluginBaseR ( R R R R R R ( ( R t ? s