Bug 772016 - SELinux is preventing /usr/libexec/accounts-daemon from 'open' accesses on the file cpuinfo.
Summary: SELinux is preventing /usr/libexec/accounts-daemon from 'open' accesses on th...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:c39ae24e28787f195e47045632c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-05 16:48 UTC by vinay kumar
Modified: 2012-01-05 20:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-05 20:33:55 UTC
Type: ---


Attachments (Terms of Use)

Description vinay kumar 2012-01-05 16:48:04 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-7.fc16.i686
reason:         SELinux is preventing /usr/libexec/accounts-daemon from 'open' accesses on the file cpuinfo.
time:           Thu Jan  5 22:17:22 2012

description:
:SELinux is preventing /usr/libexec/accounts-daemon from 'open' accesses on the file cpuinfo.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that accounts-daemon should be allowed open access on the cpuinfo 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 accounts-daemon /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:accountsd_t:s0
:Target Context                system_u:object_r:proc_t:s0
:Target Objects                cpuinfo [ file ]
:Source                        accounts-daemon
:Source Path                   /usr/libexec/accounts-daemon
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           accountsservice-0.6.14-2.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.i686 #1 SMP Tue Nov 1
:                              21:00:16 UTC 2011 i686 i686
:Alert Count                   3
:First Seen                    Thu 05 Jan 2012 12:14:18 AM IST
:Last Seen                     Thu 05 Jan 2012 07:39:41 PM IST
:Local ID                      f8e8f5d8-d12e-4863-8a18-024fa4ac6d78
:
:Raw Audit Messages
:type=AVC msg=audit(1325772581.777:78): avc:  denied  { open } for  pid=1296 comm="accounts-daemon" name="cpuinfo" dev=proc ino=4026532024 scontext=system_u:system_r:accountsd_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1325772581.777:78): arch=i386 syscall=open success=no exit=EACCES a0=41fb3f22 a1=80000 a2=0 a3=b76d00a0 items=0 ppid=1 pid=1296 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=accounts-daemon exe=/usr/libexec/accounts-daemon subj=system_u:system_r:accountsd_t:s0 key=(null)
:
:Hash: accounts-daemon,accountsd_t,proc_t,file,open
:
:audit2allow
:
:#============= accountsd_t ==============
:allow accountsd_t proc_t:file open;
:
:audit2allow -R
:
:#============= accountsd_t ==============
:allow accountsd_t proc_t:file open;
:

Comment 1 Daniel Walsh 2012-01-05 20:33:55 UTC
yum -y update


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