Bug 842511
| 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:a886d5309f004684f47239dea615007ebfbb5fe9e50b67633a72acfec4ee023a | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-07-24 08:25:30 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:53:22 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 http_loadtime /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:services_munin_plugin_t:s0 :Target Context system_u:object_r:passwd_file_t:s0 :Target Objects /etc/passwd [ file ] :Source http_loadtime :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 36 :First Seen Mon 23 Jul 2012 11:48:11 PM CDT :Last Seen Mon 23 Jul 2012 11:50:10 PM CDT :Local ID d2600be9-2287-4758-8d3e-64043f50a442 : :Raw Audit Messages :type=AVC msg=audit(1343105410.525:204): avc: denied { read } for pid=3315 comm="ntp_offset" name="passwd" dev="dm-0" ino=1050262 scontext=system_u:system_r:services_munin_plugin_t:s0 tcontext=system_u:object_r:passwd_file_t:s0 tclass=file : : :type=SYSCALL msg=audit(1343105410.525:204): arch=x86_64 syscall=open success=no exit=EACCES a0=7f7bdc9c86ca a1=80000 a2=1b6 a3=238 items=0 ppid=2800 pid=3315 auid=4294967295 uid=99 gid=482 euid=99 suid=99 fsuid=99 egid=482 sgid=482 fsgid=482 tty=(none) ses=4294967295 comm=ntp_offset exe=/usr/bin/bash subj=system_u:system_r:services_munin_plugin_t:s0 key=(null) : :Hash: http_loadtime,services_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 : :