Using: ~]# rpm -qa|grep setroubleshoot|sort setroubleshoot-3.0.19-1.fc14.x86_64 setroubleshoot-plugins-3.0.9-1.fc14.noarch setroubleshoot-server-3.0.19-1.fc14.x86_64 ~]# cat /var/lib/setroubleshoot/email_alert_recipients root filter_type=never I am not receiving email alerts and get the following error in /var/log/messages: setroubleshoot: [avc.ERROR] Exception during AVC analysis: 'SEFaultSignatureInfo' object has no attribute 'solution'#012Traceback (most recent call last):#012 File "/usr/lib64/python2.7/site-packages/setroubleshoot/analyze.py", line 234, in run#012 self.analyze_avc(avc, report_receiver)#012 File "/usr/lib64/python2.7/site-packages/setroubleshoot/analyze.py", line 214, in analyze_avc#012 report_receiver.report_problem(siginfo)#012 File "/usr/lib64/python2.7/site-packages/setroubleshoot/server.py", line 195, in report_problem#012 email_alert(siginfo, to_addrs)#012 File "/usr/lib64/python2.7/site-packages/setroubleshoot/email_alert.py", line 60, in email_alert#012 summary = html_to_text(siginfo.solution.summary, 1024)#012AttributeError: 'SEFaultSignatureInfo' object has no attribute 'solution'
Created attachment 474086 [details] Could you replace your email_alert with this one and see if it works. You will have to run pychecker on the py to compile it after you replace the old one so setroubleshoot can use it, If this works I will ship a new setroubleshoot.
I now receive the email alerts again, however, when an alert is triggered, I receieve the following (ignore the Postfix setsched--that's another error): type=AVC msg=audit(1295383243.027:108370): avc: denied { setsched } for pid=14532 comm="smtpd" scontext=system_u:system_r:postfix_smtpd_t:s0 tcontext=system_u:system_r:postfix_smtpd_t:s0 tclass=process type=SYSCALL msg=audit(1295383243.027:108370): arch=c000003e syscall=144 success=yes exit=0 a0=38c4 a1=0 a2=7fff116d8920 a3=7fff116d8660 items=0 ppid=2885 pid=14532 auid=4294967295 uid=89 gid=89 euid=89 suid=89 fsuid=89 egid=89 sgid=89 fsgid=89 tty=(none) ses=4294967295 comm="smtpd" exe="/usr/libexec/postfix/smtpd" subj=system_u:system_r:postfix_smtpd_t:s0 key=(null) type=AVC msg=audit(1295383249.886:108371): avc: denied { write } for pid=14559 comm="setroubleshootd" name="setroubleshoot" dev=sdd3 ino=3113327 scontext=system_u:system_r:setroubleshootd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lib_t:s0 tclass=dir type=AVC msg=audit(1295383249.886:108371): avc: denied { remove_name } for pid=14559 comm="setroubleshootd" name="email_alert.pyc" dev=sdd3 ino=3113355 scontext=system_u:system_r:setroubleshootd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lib_t:s0 tclass=dir type=AVC msg=audit(1295383249.886:108371): avc: denied { unlink } for pid=14559 comm="setroubleshootd" name="email_alert.pyc" dev=sdd3 ino=3113355 scontext=system_u:system_r:setroubleshootd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lib_t:s0 tclass=file type=SYSCALL msg=audit(1295383249.886:108371): arch=c000003e syscall=87 success=yes exit=0 a0=7f6cbc97d020 a1=0 a2=4d35f9b0 a3=1 items=0 ppid=1 pid=14559 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="setroubleshootd" exe="/usr/bin/python" subj=system_u:system_r:setroubleshootd_t:s0-s0:c0.c1023 key=(null) type=AVC msg=audit(1295383249.886:108372): avc: denied { add_name } for pid=14559 comm="setroubleshootd" name="email_alert.pyc" scontext=system_u:system_r:setroubleshootd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lib_t:s0 tclass=dir type=AVC msg=audit(1295383249.886:108372): avc: denied { create } for pid=14559 comm="setroubleshootd" name="email_alert.pyc" scontext=system_u:system_r:setroubleshootd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lib_t:s0 tclass=file type=AVC msg=audit(1295383249.886:108372): avc: denied { write } for pid=14559 comm="setroubleshootd" name="email_alert.pyc" dev=sdd3 ino=3113366 scontext=system_u:system_r:setroubleshootd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lib_t:s0 tclass=file
setroubleshoot-3.0.23-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/setroubleshoot-3.0.23-1.fc14
THe new version of setroubleshoot includes the email_alert and will not generate the AVCs above.
setroubleshoot-3.0.23-1.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update setroubleshoot'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/setroubleshoot-3.0.23-1.fc14
This works for me. Thank you.
Please update karma.
I did that before I updated the bug: 2011-01-20 10:40:34 https://admin.fedoraproject.org/updates/setroubleshoot-3.0.23-1.fc14
setroubleshoot-3.0.23-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.