Bug 666557 (localtime) - SELinux is preventing /bin/dbus-daemon (deleted) from 'read' accesses on the file localtime.
Summary: SELinux is preventing /bin/dbus-daemon (deleted) from 'read' accesses on the ...
Keywords:
Status: CLOSED DUPLICATE of bug 653867
Alias: localtime
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 14
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:7d5345b4eca...
: 660401 666001 666539 666629 667267 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-31 19:52 UTC by Javi
Modified: 2011-01-05 20:21 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-01-05 20:21:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Javi 2010-12-31 19:52:53 UTC
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;

Comment 1 Miroslav Grepl 2011-01-03 15:53:14 UTC
Execute:

# restorecon -R -v /etc/localtime

Comment 2 Miroslav Grepl 2011-01-03 15:54:03 UTC
*** Bug 666539 has been marked as a duplicate of this bug. ***

Comment 3 Miroslav Grepl 2011-01-03 16:22:04 UTC
*** Bug 666629 has been marked as a duplicate of this bug. ***

Comment 4 Miroslav Grepl 2011-01-05 08:31:02 UTC
*** Bug 667267 has been marked as a duplicate of this bug. ***

Comment 5 Miroslav Grepl 2011-01-05 08:31:33 UTC
*** Bug 660401 has been marked as a duplicate of this bug. ***

Comment 6 Miroslav Grepl 2011-01-05 08:32:21 UTC
*** Bug 666001 has been marked as a duplicate of this bug. ***

Comment 7 Miroslav Grepl 2011-01-05 13:00:26 UTC
Any chance you (reporters) got this after fresh Fedora 14 install?

Comment 8 Pablo Barros 2011-01-05 13:11:54 UTC
(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.

Comment 9 Daniel Walsh 2011-01-05 20:14:37 UTC
So installer from livecd might be broken.

Comment 10 Chris Lumens 2011-01-05 20:21:16 UTC

*** This bug has been marked as a duplicate of bug 653867 ***


Note You need to log in before you can comment on or make changes to this bug.