Centos5 setroubleshoot failure
I want the setroubleshooter to send me email on denials, so to test this I put a file of type "system_u:object_r:rpm_log_t" into /var/www/html and tried to access it trough apache. This gives me an AVC denial, and no mail. Setroubleshoot logs a traceback:
[Wed Sep 12 11:49:52 2007] [error] [client 148.122.207.136] (13)Permission denied: access to /z.html denied
[root@via log]# 2007-09-12 11:49:54,887 [avc.ERROR] Plugin Exception plugins.httpd_bad_labels Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/setroubleshoot/analyze.py", line 260, in analyze_avc
report_receiver.report_problem(report)
File "/usr/lib/python2.4/site-packages/setroubleshoot/server.py", line 145, in report_problem
self.database.set_filter(self, siginfo.sig, addr, FILTER_ALWAYS)
File "/usr/lib/python2.4/site-packages/setroubleshoot/analyze.py", line 468, in set_filter
siginfo = self.lookup_signature(sig)
File "/usr/lib/python2.4/site-packages/setroubleshoot/analyze.py", line 388, in lookup_signature
matches = self.sigs.match_signatures(sig)
File "/usr/lib/python2.4/site-packages/setroubleshoot/signature.py", line 1265, in match_signatures
if pat.__dict__[name] == sig.__dict__[name]: KeyError: 'analysis_id' 2007-09-12 11:49:55,034 [avc.ERROR] Plugin Exception plugins.disable_trans
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/setroubleshoot/analyze.py", line 260, in analyze_avc
report_receiver.report_problem(report)
File "/usr/lib/python2.4/site-packages/setroubleshoot/server.py", line 145, in report_problem
self.database.set_filter(self, siginfo.sig, addr, FILTER_ALWAYS)
File "/usr/lib/python2.4/site-packages/setroubleshoot/analyze.py", line 468, in set_filter
siginfo = self.lookup_signature(sig)
File "/usr/lib/python2.4/site-packages/setroubleshoot/analyze.py", line 388, in lookup_signature
matches = self.sigs.match_signatures(sig)
File "/usr/lib/python2.4/site-packages/setroubleshoot/signature.py", line 1265, in match_signatures
if pat.__dict__[name] == sig.__dict__[name]: KeyError: 'analysis_id' 2007-09-12 11:49:55,170 [avc.ERROR] Plugin Exception plugins.catchall_file
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/setroubleshoot/analyze.py", line 260, in analyze_avc
report_receiver.report_problem(report)
File "/usr/lib/python2.4/site-packages/setroubleshoot/server.py", line 145, in report_problem
self.database.set_filter(self, siginfo.sig, addr, FILTER_ALWAYS)
File "/usr/lib/python2.4/site-packages/setroubleshoot/analyze.py", line 468, in set_filter
siginfo = self.lookup_signature(sig)
File "/usr/lib/python2.4/site-packages/setroubleshoot/analyze.py", line 388, in lookup_signature
matches = self.sigs.match_signatures(sig)
File "/usr/lib/python2.4/site-packages/setroubleshoot/signature.py", line 1265, in match_signatures
if pat.__dict__[name] == sig.__dict__[name]:
KeyError: 'analysis_id'
-jf
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 49 lines · Jan-Frode Myklebust
I want the setroubleshooter to send me email on denials, so to test this I put a file of type "system_u:object_r:rpm_log_t" into
/var/www/htmland tried to access it trough apache. This gives me an AVC denial, and no mail. Setroubleshoot logs a traceback:[Wed Sep 12 11:49:52 2007] [error] [client 148.122.207.136] (13)Permission denied: access to /z.html denied[root@via log]# 2007-09-12 11:49:54,887 [avc.ERROR] Plugin Exception plugins.httpd_bad_labels Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/setroubleshoot/analyze.py", line 260, inanalyze_avc
report_receiver.report_problem(report)
File "/usr/lib/python2.4/site-packages/setroubleshoot/server.py", line 145, inreport_problem
self.database.set_filter(self, siginfo.sig, addr, FILTER_ALWAYS)
File "/usr/lib/python2.4/site-packages/setroubleshoot/analyze.py", line 468, inset_filter
siginfo =self.lookup_signature(sig)
File "/usr/lib/python2.4/site-packages/setroubleshoot/analyze.py", line 388, inlookup_signature
matches =self.sigs.match_signatures(sig)
File "/usr/lib/python2.4/site-packages/setroubleshoot/signature.py", line 1265, inmatch_signaturesif pat.__dict__[name] == sig.__dict__[name]: KeyError: 'analysis_id' 2007-09-12 11:49:55,034 [avc.ERROR] Plugin Exception plugins.disable_transTraceback (most recent call last):
File "/usr/lib/python2.4/site-packages/setroubleshoot/analyze.py", line 260, inanalyze_avc
report_receiver.report_problem(report)
File "/usr/lib/python2.4/site-packages/setroubleshoot/server.py", line 145, inreport_problem
self.database.set_filter(self, siginfo.sig, addr, FILTER_ALWAYS)
File "/usr/lib/python2.4/site-packages/setroubleshoot/analyze.py", line 468, inset_filter
siginfo =self.lookup_signature(sig)
File "/usr/lib/python2.4/site-packages/setroubleshoot/analyze.py", line 388, inlookup_signature
matches =self.sigs.match_signatures(sig)
File "/usr/lib/python2.4/site-packages/setroubleshoot/signature.py", line 1265, inmatch_signaturesif pat.__dict__[name] == sig.__dict__[name]: KeyError: 'analysis_id' 2007-09-12 11:49:55,170 [avc.ERROR] Plugin Exception plugins.catchall_fileTraceback (most recent call last):
File "/usr/lib/python2.4/site-packages/setroubleshoot/analyze.py", line 260, inanalyze_avc
report_receiver.report_problem(report)
File "/usr/lib/python2.4/site-packages/setroubleshoot/server.py", line 145, inreport_problem
self.database.set_filter(self, siginfo.sig, addr, FILTER_ALWAYS)
File "/usr/lib/python2.4/site-packages/setroubleshoot/analyze.py", line 468, inset_filter
siginfo =self.lookup_signature(sig)
File "/usr/lib/python2.4/site-packages/setroubleshoot/analyze.py", line 388, inlookup_signature
matches =self.sigs.match_signatures(sig)
File "/usr/lib/python2.4/site-packages/setroubleshoot/signature.py", line 1265, inmatch_signaturesif pat.__dict__[name] == sig.__dict__[name]:KeyError: '
analysis_id'
Quoted 7 lines
-jf
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Please open a bugzilla.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFG5/fJrlYvE4MpobMRAurRAJoCoGozsgM5KlpdpSAQX6eKJWA5VACcCtNd cjLi2dznbWJlHxaM77RzXbo=
=y7es
-----END PGP SIGNATURE-----
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 1 line · Daniel J Walsh
Please open a bugzilla.
Done.
https://bugzilla.redhat.com/show_bug.cgi?id=288881
-jf
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.