| Summary: | SELinux is preventing /sbin/ldconfig from 'read' accesses on the dossier /root. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nicolas Mailhot <nicolas.mailhot> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:2b888bdafd8fa307cfca75c22120ff037e6aa24b96f0f5e198bed755448ef05a | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-07-11 22:09:27 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Were you sitting in /root when you did the "yum update"? Added dontaudit in rawhide selinux-policy-3.10.0-3.fc16 (In reply to comment #1) > Were you sitting in /root when you did the "yum update"? No idea, sorry, lately my system does not resist to rawhide updates long enough to investigate properly. Thank you for the fix |
SELinux is preventing /sbin/ldconfig from 'read' accesses on the dossier /root. ***** Plugin leaks (50.5 confidence) suggests ****************************** If you want to ignore ldconfig trying to read access the root directory, 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 /sbin/ldconfig /var/log/audit/audit.log | audit2allow -D -M mypol # semodule -i mypol.pp ***** Plugin catchall (50.5 confidence) suggests *************************** If you believe that ldconfig should be allowed read access on the root directory 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 ldconfig /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:system_r:ldconfig_t:s0-s0:c0.c1023 Target Context system_u:object_r:admin_home_t:s0 Target Objects /root [ dir ] Source ldconfig Source Path /sbin/ldconfig Port <Inconnu> Host (removed) Source RPM Packages glibc-2.14-3 Target RPM Packages filesystem-2.4.42-1.fc16 Policy RPM selinux-policy-3.9.16-30.fc16 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.0-0.rc4.git3.1.fc16.x86_64 #1 SMP Fri Jun 24 21:13:31 UTC 2011 x86_64 x86_64 Alert Count 2 First Seen mar. 28 juin 2011 07:50:17 CEST Last Seen mar. 28 juin 2011 07:50:55 CEST Local ID 59ca8627-343c-4337-83d3-2cde4d1dbfaa Raw Audit Messages type=AVC msg=audit(1309240255.748:1070): avc: denied { read } for pid=5554 comm="ldconfig" path="/root" dev=dm-1 ino=84 scontext=unconfined_u:system_r:ldconfig_t:s0-s0:c0.c1023 tcontext=system_u:object_r:admin_home_t:s0 tclass=dir type=AVC msg=audit(1309240255.748:1070): avc: denied { read } for pid=5554 comm="ldconfig" path="/root" dev=dm-1 ino=84 scontext=unconfined_u:system_r:ldconfig_t:s0-s0:c0.c1023 tcontext=system_u:object_r:admin_home_t:s0 tclass=dir type=SYSCALL msg=audit(1309240255.748:1070): arch=x86_64 syscall=execve success=yes exit=0 a0=66f2798 a1=959d3d0 a2=7fff57025198 a3=7f568be749f0 items=0 ppid=5472 pid=5554 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty2 ses=83 comm=ldconfig exe=/sbin/ldconfig subj=unconfined_u:system_r:ldconfig_t:s0-s0:c0.c1023 key=(null) Hash: ldconfig,ldconfig_t,admin_home_t,dir,read audit2allow #============= ldconfig_t ============== allow ldconfig_t admin_home_t:dir read; audit2allow -R #============= ldconfig_t ============== allow ldconfig_t admin_home_t:dir read;