KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
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/21573/root/usr/lib/python2.4/site-packages/setroubleshoot/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21573/root/usr/lib/python2.4/site-packages/setroubleshoot/config.pyc
m
3Uc@s
dddddddgZdkZdkZdkZdkZdkZdkZeaei	i
dd	d
Zddd
dddddddddddddgZhdhdhdd<dd <d!e
<<d"hdd
<dd <d!e<<d#hdd$<dd <d!e<<d%hdd&<dd'<<d(hdd)<dd <d!e<<d*hdd
<dd+<d!e<<d,hdd-<dd.<d!e<<d/hdd0<dd1<d!e<<d2hdd3<dd <d!e<<d4hdd<dd <d!e<<d5hde
<dd <d!e
<<d6hdd7<dd <d!e<<<d8hd9hdd:<dd;<<<d<hd=hdd><dd?<<d@hddA<ddB<<dChddD<ddE<<<dhdFhddG<ddH<<<dIhdJhddK<dd <<<dLhdMhddN<dd <d!e<<dOhddP<dd <d!e<<dQhddR<dd <d!e<<<dShdMhddT<dd <d!e<<dOhddU<dd <d!e<<dQhddV<dd <d!e<<<dhdWhddX<dd <<dYhddZ<dd <<d[hdd\<dd]<<d^hdd <dd_<<<d`hdahddb<dd <<<dchddhdei	i
dedf<dd <d!e
<<dghddh<ddi<<<djhddhdei	i
dedf<dd <d!e
<<dghddk<ddi<<<dlhdmhddn<dd <d!e<<dohddp<dd <d!e<<<dqhdrhdds<ddt<<duhdd <ddvdwi
e<<dYhddx<dd <<dyhddz<dd{<<d|hdd}<dd <<d~hdd<dd<<dhdd<dd<<<dhdrhdds<ddt<<duhdd <ddvdwi
e<<dYhdd <dd <<dyhdd<dd{<<d|hdd}<dd <<d~hdd<dd<<dhdd<dd<<<dhdhdd<dd<<dhdd<dd<<<dhdhdd<dd<<dhdd<dd<<dhdd<dd<<dhdd<dd<<dhdei	i
dXd<dd<<<dhdhdd<dd<<dhdd<dd<<<dhdhdd<dd<d!e<<<ZdZdZedZeeedZedZdZeidZdZdZe
dZdZedjodZy,eieiddddg\ZZ Wn*ei!j
oeei"dnXe
Z#xYeD]Q\Z$Z%e$ddfjo
eZ#ne$ddfjoeei"nq	We#oeennedS(tconfig_initt
get_configt
get_optiont
set_configtparse_config_settingtconfig_has_sectiontLOG_CATEGORIESNs/etc/setroubleshoots%s.cfgtsetroubleshoottrpctxmltcfgtalerttsigtplugintavctemailtguitgui_datatprogramtdatabasetservertdbuststatst
communicationtgeneraltpid_filetvalues/var/run/setroubleshootd.pidtdescriptionttreadOnlytpkg_nametpkg_versions2.0.5tproject_urls7http://hosted.fedoraproject.org/projects/setroubleshootsURL of project websitetrpc_versions1.1ti18n_text_domains/internationalization (i18n) translation catalogti18n_locale_dirs/usr/share/locales9internationalization (i18n) translation catalog directoryt
i18n_encodingsutf-8s.internationalization (i18n) encoding (codeset)tdata_dirs/usr/share/setroubleshoott
config_dirtuse_auparset	icon_nametsetroubleshoot_iconthelper_appstweb_browser_launchers/usr/bin/htmlviews1Helper application to launch web browser on a URLtaudittbinary_protocol_socket_paths/var/run/audit_eventssLunix domain socket used to listen for audit messages (binary audit protocol)ttext_protocol_socket_paths/var/run/audispd_eventssNunix domain socket used to listen for audit messages (textural audit protocol)tretry_intervali<sgnumber of seconds to wait before trying to connect to audit socket again in the event of socket failuretuse_notificationtTrues3use balloon notification in addition to status icontpluginst
plugin_dirs!/usr/share/setroubleshoot/pluginstsession_dbustbus_namescom.redhat.setroubleshoottobject_paths /com/redhat/selinux/alert_objectt	interfacescom.redhat.SEtroubleshootIfacetsystem_dbusscom.redhat.setroubleshootds/com/redhat/setroubleshootdscom.redhat.SEtroubleshootdIfacetdatabase_dirs/var/lib/setroubleshoottfilenametaudit_listenert
max_alertsi2s
Keep no more than this many alerts in the database. Oldest alerts based on
the alert's last seen date will be purged first. Zero implies no limitt
max_alert_ages<
Purge any alerts whose age based on it's last seen date exceeds this threshold.
Age may be specified as a sequence of integer unit pairs. Units may be one of
year,month,week,day,hour,minute,second and may optionally be plural.
Example: '2 weeks 1 day' sets the threshold at 15 days.
An empty string implies no limitt
connectiontdefault_portt69783tlisten_for_clienttpaths/var/run/setroubleshoottsetroubleshoot_servertaddress_lists{unix}%(path)ss_
List of socket addresses server should listen on for client
connections. Addresses should not contain any whitespace. Each address
is of the form "[{family}]address[:port]" where [] indicates the value
is optional. Valid values for family are inet or unix, if the family
is absent it defaults to inet. If the family is unix the address is
interpreted as a file path. If the family is inet the address is
interpreted as either a host name or IP address. As a special case if
the inet address is "hostname" the current hostname will be
substituted. If the family is inet the address may optionally be
followed by a colon (:) and a port number. If the port number is
absent in the address it defaults to the port specified in this config
section. Example, to listen on the local unix domain socket and
provide remote connections use this "{unix}%(path)s, hostname"
tclient_connect_tos{unix}%(path)s hostnametsockettbuf_sizet2048ttimeoutt5tsetroubleshootd_logtleveltwarnings
Global logging level. Levels are the same as in the python logging
module, but are case insenstive. The level may also be specified as an
integer. The defined levels in severity order are:[CRITICAL, ERROR,
WARNING, INFO, DEBUG]t
categoriesss
Comma seperated list of logging categories. Each categories may
optionally be followed by a colon(:) and a logging level, which either
may be one of the symbolic levels or numeric, e.g. ipc:info. If no
level is defined the default level is used. If the category name is
preceded by a tilde (~) the category is not logged at all.
The list of available categories is: [%s]s, s+/var/log/setroubleshoot/setroubleshootd.logtfilemodetws5should be "w" or "a" for write or append respectivelytformats0%(asctime)s [%(name)s.%(levelname)s] %(message)stconsoletFalses#True|False, also log to the consoletprofilesTrue|False, gather statisticstsealert_logtataccesstclient_userst*s
Comma-separated list of users allowed to run the client and connect to
the local fault server and therefore see security denials.
Also accepts '*' to allow all users to connect.t
fix_cmd_userstroots|
Comma-separated list of users allowed to run the fix commands with
root privileges. Members of this list can execute the fix commands
specified in any alert. The command is executed with root privileges
so you should be very caeful who you add to this list as you are
granting them significant power to alter the security settings of this
system. The wildcard '*' is NOT allowed.t	smtp_hostt	localhostsThe SMTP server addresst	smtp_portt25sThe SMTP server porttfrom_addresstSELinux_TroubleshootsThe From: email headertsubjectsSELinux AVC AlertsThe Subject: email headertrecipients_filepathtemail_alert_recipientss{Path name of file with email recipients. One address per line, optionally followed by enable flag. Comment character is #. thelpthelp_urlsZhttp://hosted.fedoraproject.org/projects/setroubleshoot/wiki/SETroubleShoot%%20User%%20FAQsURL to user help informationtbug_report_urls1http://bugzilla.redhat.com/bugzilla/enter_bug.cgisURL used to report bugsttesttanalyzesPrint plugin reportcCsttadS(N(tread_configurationtdefaultst_cfg(((t9/usr/lib/python2.4/site-packages/setroubleshoot/config.pyRsc		Cs.ti}y|itWn0tj
o$}tidt|fIJdSnX|i}x|D]}|i|p|i|nx||iD]\}}|d}|idt}|i||p|i|||q|o.tid||fIJ|i|||qqWqcW|S(Ns"error parsing config file (%s): %sRRs*error [%s] %s cannot be set in config file(tConfigParsertSafeConfigParserR
treadtCFG_FILEt	ExceptiontetsyststderrtNoneRktkeystdefault_sectionstdefault_sectionthas_sectiontadd_sectiontitemstdefault_optiont
propertiesRtgetRSRt
has_optiontset(	RkRsR
RxR}RyRRR~((RmRjs*	
cCsym|djp
|tjo|SnH|tjot|Sn-|tjot|to|Snt|tot|Sn|idddddgjotSn|idddd	d
gjot	Snt
d|n|tjot|Sng|djo|SnRy$d
kl
}|id||Wn*tj
otid||fIJnXWnftj
oZ}y$d
kl
}|id||Wqtj
otid||fIJqXnXdS(Nttruetttyestytontfalsetftnotntoffscannot convert %s to booleantraw(slog_cfgsunknown type %s for option %ss#error unknown type %s for option %s(tcfg_typeRvtstrRtinttboolt
isinstancetlowerR1RSt
ValueErrortfloattsetroubleshoot.logtlog_cfgterrortImportErrorRtRuRrRs(RRRsR((Rmtconvert_cfg_types<

""


 
cCsud}|dj	o$|i|ot||}n$t|ot|||}n|djo
|}n|S(N(RvRtkwdsthas_keytnameRRtsectionRtoption_typet
default_value(RRRRRR((RmRs


cCstdjodSny|djp
|tjoti||Sn|tjoti||Sn|t	joti
||Sn|tjoti||Sn|djoti||dt
SnXy'dkl}|id|||Wn-tj
o!tid|||fIJnXWnptj
od}y'dkl}|id|||Wn-tj
o!tid|||fIJnXdSnXdS(NR(slog_cfgs5unknown type = %s getting %s option in %s section: %ss;error unknown type = %s getting %s option in %s section: %ss&cannot get %s option in %s section: %ss,error cannot get %s option in %s section: %s(RlRvRRRRtoptionRtgetintRt
getbooleanRtgetfloatR1RRRRRtRuRrRs(RRRRsR((RmRs2





#
cCsyMtdjotSnti|pti|nti|||Wn/t	j
o#}tid|||tSnXt
S(Ns6Cannot set config: section='%s' option='%s' value='%s'(RlRvRSRzRR{RRRRrRstlog_programt	exceptionR1(RRRRs((RmRs
	s%([^.=]+?)\s*\.\s*([^.=]+?)\s*=\s*(.*)cCsti|}|o1|id}|id}|id}nMy!dkl	}|i
d|Wn$tj
oti
d|IJnXtSy'dkl	}|id|||Wn-tj
o!ti
d|||fIJnXt|||tS(Niii(slog_cfgs4could not parse '%s', must be 'section.option=value's;error: could not parse '%s', must be 'section.option=value's3setting config: section='%s' option='%s' value='%s'(tconfig_setting_retsearchtcfg_settingtmatchtgroupRRRRRRRRtRuRStdebugRR1(RRRRRR((RmRs$

cCstdjodSnyti|SWnjtj
o^}y$dkl}|id||Wn*t	j
ot
id||fIJnXtSnXdS(N(slog_cfgsconfig_has_section(%s): %ss!error: config_has_section(%s): %s(
RlRvRzRRrRsRRRRRtRuRS(RRsR((RmR*s

cCsitidddddd}|i}|ix.|D]&}d}xM||i	D];\}}	|	idt
}|p|o|d7}qXqXW|djod	|GHx||i	D]\}}	|	d
}|	idt
}|	idd}
|o|oqn|
p
d
}
n|id||
GH|o
d|GHnd||fGHHqWq;q;WdS(NtwidthiNtinitial_indents# tsubsequent_indentiRis[%s]RRRsNo Description Availables%s: s# READ ONLY, default = "%s"s%s = %s(ttextwraptTextWrappertwrapRkRwtsectionstsortRtvisibleOptionsR|RR~RRSRtshowReadOnlyRRtfill(RkRRRRRRRRR~R((Rmt
dump_defaults9s8

	


cCsw|i}|ixZ|D]R}|i|}|ix/|D]'}t||}d|||fGHqCWHqWdS(Ns[%s] %s = %s(R
RRRtoptionsRRR(R
RRRRR((Rmtdump_configurationXs

t__main__cCs	dGHdS(Ns5
    -d generate default config file
    -h help
    ((((RmtusagehsitdhRkis-ds
--defaultss-hs--help(&t__all__tgetoptRttosRntreRRvRlRBtjoinRqRRSR1RkRRjRRRRtcompileRRRRRt__name__RtargvtoptstargstGetoptErrortexittdo_dump_defaultstoRV(RRRRRRRRRRqRRRjRRRRtRRnRVRRRRRkRR((Rmt?s^							6j		!!				
	,


Anon7 - 2021