Bug 772482 - SELinux is preventing /usr/libexec/gsd-datetime-mechanism from 'open' accesses on the file online.
Summary: SELinux is preventing /usr/libexec/gsd-datetime-mechanism from 'open' accesse...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:88cb6f767647fa7f8a1b2792953...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-08 18:55 UTC by george
Modified: 2012-01-09 09:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-09 09:19:48 UTC
Type: ---


Attachments (Terms of Use)

Description george 2012-01-08 18:55:34 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-7.fc16.x86_64
reason:         SELinux is preventing /usr/libexec/gsd-datetime-mechanism from 'open' accesses on the file online.
time:           Sun 08 Jan 2012 13:48:15 EST

description:
:SELinux is preventing /usr/libexec/gsd-datetime-mechanism from 'open' accesses on the file online.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that gsd-datetime-mechanism should be allowed open 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                    Sun 08 Jan 2012 13:47:50 EST
:Last Seen                     Sun 08 Jan 2012 13:47:50 EST
:Local ID                      144bf54c-6bde-4b71-a9cf-209ae10d04ba
:
:Raw Audit Messages
:type=AVC msg=audit(1326048470.137:247): avc:  denied  { open } for  pid=22763 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(1326048470.137:247): arch=x86_64 syscall=open success=no exit=EACCES a0=32f8f77668 a1=80000 a2=2003ff a3=1 items=0 ppid=1 pid=22763 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,open
:
:audit2allow
:
:#============= gnomeclock_t ==============
:allow gnomeclock_t sysfs_t:file open;
:
:audit2allow -R
:
:#============= gnomeclock_t ==============
:allow gnomeclock_t sysfs_t:file open;
:

Comment 1 george 2012-01-08 23:34:51 UTC
This is on a Mac OS X Lion 10.7.2 running Parallels Desktop 7

Comment 2 Miroslav Grepl 2012-01-09 09:19:48 UTC
Please update your policy

# yum update selinux-policy-targeted


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