Bug 842510
| Summary: | SELinux is preventing /usr/bin/bash from 'read' accesses on the file /etc/passwd. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Gideon Mayhak <gnafu_the_great> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 17 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:87191110e86dfcb36cc9701772ca60e57a95dd7a4d0f2bf1a29686a34d268af5 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-07-24 08:25:24 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of bug 842507 *** |
libreport version: 2.0.10 executable: /usr/bin/python2.7 hashmarkername: setroubleshoot kernel: 3.4.6-2.fc17.x86_64 time: Mon 23 Jul 2012 11:52:49 PM CDT description: :SELinux is preventing /usr/bin/bash from 'read' accesses on the file /etc/passwd. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that bash should be allowed read access on the passwd 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 if_eth0 /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:system_munin_plugin_t:s0 :Target Context system_u:object_r:passwd_file_t:s0 :Target Objects /etc/passwd [ file ] :Source if_eth0 :Source Path /usr/bin/bash :Port <Unknown> :Host (removed) :Source RPM Packages bash-4.2.36-1.fc17.x86_64 :Target RPM Packages setup-2.8.48-1.fc17.noarch :Policy RPM selinux-policy-3.10.0-140.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.4.6-2.fc17.x86_64 #1 SMP Thu Jul 19 : 22:54:16 UTC 2012 x86_64 x86_64 :Alert Count 42 :First Seen Mon 23 Jul 2012 11:48:12 PM CDT :Last Seen Mon 23 Jul 2012 11:50:12 PM CDT :Local ID 040020f0-a547-4c72-b226-bfd5b43cd0fa : :Raw Audit Messages :type=AVC msg=audit(1343105412.751:222): avc: denied { read } for pid=3573 comm="uptime" name="passwd" dev="dm-0" ino=1050262 scontext=system_u:system_r:system_munin_plugin_t:s0 tcontext=system_u:object_r:passwd_file_t:s0 tclass=file : : :type=SYSCALL msg=audit(1343105412.751:222): arch=x86_64 syscall=open success=no exit=EACCES a0=7f092f24a6ca a1=80000 a2=1b6 a3=238 items=0 ppid=2800 pid=3573 auid=4294967295 uid=99 gid=482 euid=99 suid=99 fsuid=99 egid=482 sgid=482 fsgid=482 tty=(none) ses=4294967295 comm=uptime exe=/usr/bin/bash subj=system_u:system_r:system_munin_plugin_t:s0 key=(null) : :Hash: if_eth0,system_munin_plugin_t,passwd_file_t,file,read : :audit2allowunable to open /sys/fs/selinux/policy: Permission denied : : :audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied : :