Bug 666557 (localtime)
| Summary: | SELinux is preventing /bin/dbus-daemon (deleted) from 'read' accesses on the file localtime. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Javi <javierbaquero> |
| Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 14 | CC: | anaconda-maint-list, dwalsh, javierbaquero, jonathan, mail.pedro.nunes, mgrepl, pmbarros, tungnpham, vanmeeuwen+fedora |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:7d5345b4ecae7ff32929a0066d969b46d879018acffd9f65999ca1dd7210667c | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-01-05 20:21:16 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: | |||
Execute: # restorecon -R -v /etc/localtime *** Bug 666539 has been marked as a duplicate of this bug. *** *** Bug 666629 has been marked as a duplicate of this bug. *** *** Bug 667267 has been marked as a duplicate of this bug. *** *** Bug 660401 has been marked as a duplicate of this bug. *** *** Bug 666001 has been marked as a duplicate of this bug. *** Any chance you (reporters) got this after fresh Fedora 14 install? (In reply to comment #7) > Any chance you (reporters) got this after fresh Fedora 14 install? In my case, yes, it was right after a fresh install of Fedora 14 KDE spin on AMD64. So installer from livecd might be broken. *** This bug has been marked as a duplicate of bug 653867 *** |
SELinux is preventing /bin/dbus-daemon (deleted) from 'read' accesses on the file localtime. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that dbus-daemon (deleted) should be allowed read access on the localtime 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 /bin/dbus-daemon (deleted) /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023 Target Context system_u:object_r:etc_runtime_t:s0 Target Objects localtime [ file ] Source dbus-daemon Source Path /bin/dbus-daemon (deleted) Port <Desconocido> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.9.7-3.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.35.6-45.fc14.i686 #1 SMP Mon Oct 18 23:56:17 UTC 2010 i686 i686 Alert Count 1 First Seen mié 29 dic 2010 18:25:42 CET Last Seen mié 29 dic 2010 18:25:42 CET Local ID 41b7e87f-cc7b-4f60-8a76-83962a589a1c Raw Audit Messages type=AVC msg=audit(1293643542.34:50): avc: denied { read } for pid=1737 comm="dbus-daemon" name="localtime" dev=sda1 ino=74273 scontext=system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:etc_runtime_t:s0 tclass=file dbus-daemon,xdm_dbusd_t,etc_runtime_t,file,read type=SYSCALL msg=audit(1293643542.34:50): arch=i386 syscall=open success=no exit=EACCES a0=260931 a1=0 a2=1b6 a3=25ebba items=0 ppid=1 pid=1737 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=dbus-daemon exe=2F62696E2F646275732D6461656D6F6E202864656C6574656429 subj=system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023 key=(null) dbus-daemon,xdm_dbusd_t,etc_runtime_t,file,read #============= xdm_dbusd_t ============== allow xdm_dbusd_t etc_runtime_t:file read;