Summary: SELinux is preventing abrt-pyhook-hel "read write" access on 1. Detailed Description: [SELinux is in permissive mode. This access was not denied.] SELinux denied access requested by abrt-pyhook-hel. It is not expected that this access is required by abrt-pyhook-hel and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access. Allowing Access: You can generate a local policy module to allow this access - see FAQ (http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug report. Additional Information: Source Context unconfined_u:unconfined_r:abrt_helper_t:s0 Target Context unconfined_u:object_r:user_devpts_t:s0 Target Objects 1 [ chr_file ] Source abrt-pyhook-hel Source Path abrt-pyhook-hel Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.6.32-46.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.31.5-127.fc12.x86_64 #1 SMP Sat Nov 7 21:11:14 EST 2009 x86_64 x86_64 Alert Count 5 First Seen Fri 20 Nov 2009 04:46:46 PM CET Last Seen Fri 20 Nov 2009 04:46:46 PM CET Local ID 74b96abf-cfa0-48f0-bd0c-56f01d7a92ae Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1258732006.370:2998): avc: denied { read write } for pid=19874 comm="abrt-pyhook-hel" name="1" dev=devpts ino=4 scontext=unconfined_u:unconfined_r:abrt_helper_t:s0 tcontext=unconfined_u:object_r:user_devpts_t:s0 tclass=chr_file node=(removed) type=AVC msg=audit(1258732006.370:2998): avc: denied { read write } for pid=19874 comm="abrt-pyhook-hel" path="socket:[22471039]" dev=sockfs ino=22471039 scontext=unconfined_u:unconfined_r:abrt_helper_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0 tclass=unix_dgram_socket node=(removed) type=AVC msg=audit(1258732006.370:2998): avc: denied { read } for pid=19874 comm="abrt-pyhook-hel" path=2F746D702F666669635073746A67202864656C6574656429 dev=dm-1 ino=2048806 scontext=unconfined_u:unconfined_r:abrt_helper_t:s0 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file node=(removed) type=AVC msg=audit(1258732006.370:2998): avc: denied { write } for pid=19874 comm="abrt-pyhook-hel" path="/home/newman/tmp/gold-rebuild/package_cache/builddeps/bzip2-1.0.5-6.fc12.src.rpm" dev=dm-1 ino=2304621 scontext=unconfined_u:unconfined_r:abrt_helper_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file node=(removed) type=AVC msg=audit(1258732006.370:2998): avc: denied { read write } for pid=19874 comm="abrt-pyhook-hel" path="socket:[22472602]" dev=sockfs ino=22472602 scontext=unconfined_u:unconfined_r:abrt_helper_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0 tclass=tcp_socket Hash String generated from selinux-policy-3.6.32-46.fc12,catchall,abrt-pyhook-hel,abrt_helper_t,user_devpts_t,chr_file,read,write audit2allow suggests: #============= abrt_helper_t ============== allow abrt_helper_t unconfined_t:tcp_socket { read write }; allow abrt_helper_t unconfined_t:unix_dgram_socket { read write }; allow abrt_helper_t user_devpts_t:chr_file { read write }; allow abrt_helper_t user_home_t:file write; allow abrt_helper_t user_tmp_t:file read;
I had yumdownloader downloading srpms, then I pressed Ctrl+S to stop the output, then Ctrl+C and then Ctrl+Q to enable output from yumdownloader. But un-handled exception occurred: brltty-4.1-3.fc12.src.rpm | 2.0 MB 00:02 btrfs-progs-0.19-9.fc12.src.rpm | 132 kB 00:01 ^CTraceback (most recent call last): 68% [===================================== ] 238 kB/s | 574 kB 00:01 ETA File "/usr/lib/python2.6/site-packages/urlgrabber/grabber.py", line 1534, in _progress_update self.opts.progress_obj.update(downloaded) File "/usr/share/yum-cli/output.py", line 68, in update TextMeter.update(self, amount_read, now) File "/usr/lib/python2.6/site-packages/urlgrabber/progress.py", line 141, in update self._do_update(amount_read, now) File "/usr/lib/python2.6/site-packages/urlgrabber/progress.py", line 271, in _do_update self.fo.flush() IOError: [Errno 4] Interrupted system call + echo 'Error: Failed to download SRPM packages, investigate' Error: Failed to download SRPM packages, investigate + exit 1 (yumdownloader was running inside bash script actually) abrt-applet popped up as well as AVC msg.
This is the problem with the abrt helper. It is causing SELinux to report all sorts of leaks. Applications don't expect to be doing a fork/exec and thus don't close file descriptors on exec. When they crash SELinux closes all sorts of file descriptors, that I don't want to close. Can't we write this as a unix domain socket that will just accept connections.
*** Bug 541671 has been marked as a duplicate of this bug. ***
*** Bug 541488 has been marked as a duplicate of this bug. ***
*** Bug 541720 has been marked as a duplicate of this bug. ***
*** Bug 542574 has been marked as a duplicate of this bug. ***
*** Bug 542079 has been marked as a duplicate of this bug. ***
Uncaught Python exceptions are now sent to ABRT daemon via socket. Fixed in upstream git. SELinux policy has been updated by Mirek Grepl.
abrt-1.1.13-1.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/abrt-1.1.13-1.fc14
abrt-1.1.13-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/abrt-1.1.13-1.fc13
abrt-1.1.13-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 abrt'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/abrt-1.1.13-1.fc14
abrt-1.1.13-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/abrt-1.1.13-1.fc12
abrt-1.1.13-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
abrt-1.1.13-2.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/abrt-1.1.13-2.fc14
abrt-1.1.13-2.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
abrt-1.1.13-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.