Bug 758855

Summary: SELinux is preventing /usr/libexec/gsd-datetime-mechanism from 'read' accesses on the file online.
Product: [Fedora] Fedora Reporter: Mohammed Adel <night_fire89>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:fac620680dfc40b55e20f9ed9a96c2e383c81df72599386e5c2f853d4733b43c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-30 22:13:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Mohammed Adel 2011-11-30 20:27:43 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-7.fc16.x86_64
reason:         SELinux is preventing /usr/libexec/gsd-datetime-mechanism from 'read' accesses on the file online.
time:           Wed Nov 30 22:27:25 2011

description:
:SELinux is preventing /usr/libexec/gsd-datetime-mechanism from 'read' accesses on the file online.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that gsd-datetime-mechanism should be allowed read access on the online 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 gsd-datetime-me /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:gnomeclock_t:s0-s0:c0.c1023
:Target Context                system_u:object_r:sysfs_t:s0
:Target Objects                online [ file ]
:Source                        gsd-datetime-me
:Source Path                   /usr/libexec/gsd-datetime-mechanism
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           gnome-settings-daemon-3.2.1-4.fc16
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-46.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.1.0-7.fc16.x86_64 #1 SMP
:                              Tue Nov 1 21:10:48 UTC 2011 x86_64 x86_64
:Alert Count                   1
:First Seen                    Wed 30 Nov 2011 10:14:47 PM EET
:Last Seen                     Wed 30 Nov 2011 10:14:47 PM EET
:Local ID                      1987e7d8-55ae-44e2-a045-0f80a92360b9
:
:Raw Audit Messages
:type=AVC msg=audit(1322684087.960:111): avc:  denied  { read } for  pid=12712 comm="gsd-datetime-me" name="online" dev=sysfs ino=34 scontext=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sysfs_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1322684087.960:111): arch=x86_64 syscall=open success=no exit=EACCES a0=7fb3c75e1ee8 a1=80000 a2=2003ff a3=7fb3c698ea00 items=0 ppid=1 pid=12712 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=gsd-datetime-me exe=/usr/libexec/gsd-datetime-mechanism subj=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 key=(null)
:
:Hash: gsd-datetime-me,gnomeclock_t,sysfs_t,file,read
:
:audit2allow
:
:#============= gnomeclock_t ==============
:allow gnomeclock_t sysfs_t:file read;
:
:audit2allow -R
:
:#============= gnomeclock_t ==============
:allow gnomeclock_t sysfs_t:file read;
:

Comment 1 Daniel Walsh 2011-11-30 22:13:32 UTC
yum -y update