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.
abrt version: 2.0.5 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 2.6.32-209.el6.x86_64 reason: SELinux is preventing /usr/bin/passwd from 'write' accesses on the file /out.txt. time: Mon Oct 31 10:24:54 2011 description: :SELinux is preventing /usr/bin/passwd from 'write' accesses on the file /out.txt. : :***** Plugin leaks (50.5 confidence) suggests ****************************** : :If you want to ignore passwd trying to write access the out.txt file, because you believe it should not need this access. :Then you should report this as a bug. :You can generate a local policy module to dontaudit this access. :Do :# grep /usr/bin/passwd /var/log/audit/audit.log | audit2allow -D -M mypol :# semodule -i mypol.pp : :***** Plugin catchall (50.5 confidence) suggests *************************** : :If you believe that passwd should be allowed write access on the out.txt 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 passwd /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023 :Target Context unconfined_u:object_r:etc_runtime_t:s0 :Target Objects /out.txt [ file ] :Source passwd :Source Path /usr/bin/passwd :Port <Unknown> :Host (removed) :Source RPM Packages passwd-0.77-4.el6 :Target RPM Packages :Policy RPM selinux-policy-3.7.19-117.el6 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux dhcp-30-102.brq.redhat.com : 2.6.32-209.el6.x86_64 #1 SMP Wed Oct 12 03:54:10 : EDT 2011 x86_64 x86_64 :Alert Count 1 :First Seen Mon 31 Oct 2011 10:22:29 AM CET :Last Seen Mon 31 Oct 2011 10:22:29 AM CET :Local ID c0c4816b-6f15-4038-b2d0-420a8efb214b : :Raw Audit Messages :type=AVC msg=audit(1320052949.586:356): avc: denied { write } for pid=17788 comm="passwd" path="/out.txt" dev=sda4 ino=14 scontext=unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:etc_runtime_t:s0 tclass=file : : :type=AVC msg=audit(1320052949.586:356): avc: denied { write } for pid=17788 comm="passwd" path="/out.txt" dev=sda4 ino=14 scontext=unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:etc_runtime_t:s0 tclass=file : : :type=SYSCALL msg=audit(1320052949.586:356): arch=x86_64 syscall=execve success=yes exit=0 a0=24853b0 a1=248f270 a2=2493f70 a3=18 items=0 ppid=17757 pid=17788 auid=501 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 ses=1 comm=passwd exe=/usr/bin/passwd subj=unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023 key=(null) : :Hash: passwd,passwd_t,etc_runtime_t,file,write : :audit2allow : :#============= passwd_t ============== :allow passwd_t etc_runtime_t:file write; : :audit2allow -R : :#============= passwd_t ============== :allow passwd_t etc_runtime_t:file write; :