Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
with abrt-2.0.4-1.el6.x86_64 and libreport-2.0.5-1.el6.x86_64 I prepared a crash via
sleep 3m &
kill -11 %1
and found SELinux AVC in /var/log/messages after abrtd processed the crash dir (no reporting involved).
I think this is dupe of #705768. In rhel6 there is by default enabled reporting to root@localhost, which is done by abrtd.
This is the line from abrt_event.conf responsible for it:
EVENT=post-create reporter-mailx
- means: run reporter-mailx when a new crash is detected
abrt version: 2.0.5 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 2.6.32-171.el6.x86_64 reason: SELinux is preventing /usr/sbin/postdrop from 'getattr' accesses on the fifo_file fifo_file. time: Wed Jul 27 17:11:06 2011 description: :SELinux is preventing /usr/sbin/postdrop from 'getattr' accesses on the fifo_file fifo_file. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that postdrop should be allowed getattr access on the fifo_file fifo_file by default. :Then you should report this as a bug. :You can generate a local policy module to allow this access. :Do :allow this access for now by executing: :# grep postdrop /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:postfix_postdrop_t:s0-s0:c0.c102 : 3 :Target Context system_u:system_r:abrt_t:s0-s0:c0.c1023 :Target Objects fifo_file [ fifo_file ] :Source postdrop :Source Path /usr/sbin/postdrop :Port <Unknown> :Host (removed) :Source RPM Packages postfix-2.6.6-3.el6 :Target RPM Packages :Policy RPM selinux-policy-3.7.19-104.el6 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux dhcp-25-35.brq.redhat.com : 2.6.32-171.el6.x86_64 #1 SMP Thu Jul 21 23:23:33 : EDT 2011 x86_64 x86_64 :Alert Count 1 :First Seen Wed 27 Jul 2011 04:49:53 PM CEST :Last Seen Wed 27 Jul 2011 04:49:53 PM CEST :Local ID c4815221-d9c6-4369-a7a4-6abe0848c51e : :Raw Audit Messages :type=AVC msg=audit(1311778193.667:22): avc: denied { getattr } for pid=31383 comm="postdrop" path="pipe:[201861]" dev=pipefs ino=201861 scontext=system_u:system_r:postfix_postdrop_t:s0-s0:c0.c1023 tcontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tclass=fifo_file : : :type=SYSCALL msg=audit(1311778193.667:22): arch=x86_64 syscall=fstat success=no exit=EACCES a0=2 a1=7fff63470690 a2=7fff63470690 a3=7fff634703c0 items=0 ppid=31382 pid=31383 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=90 sgid=90 fsgid=90 tty=(none) ses=4294967295 comm=postdrop exe=/usr/sbin/postdrop subj=system_u:system_r:postfix_postdrop_t:s0-s0:c0.c1023 key=(null) : :Hash: postdrop,postfix_postdrop_t,abrt_t,fifo_file,getattr : :audit2allow : :#============= postfix_postdrop_t ============== :allow postfix_postdrop_t abrt_t:fifo_file getattr; : :audit2allow -R : :#============= postfix_postdrop_t ============== :allow postfix_postdrop_t abrt_t:fifo_file getattr; :