Bug 664232 - SELinux is preventing /usr/libexec/telepathy-idle from 'read' accesses on the chr_file random.
Summary: SELinux is preventing /usr/libexec/telepathy-idle from 'read' accesses on the...
Keywords:
Status: CLOSED DUPLICATE of bug 664230
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:6daa15014f8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-19 12:41 UTC by Nicolas Mailhot
Modified: 2010-12-20 08:52 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-20 08:52:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nicolas Mailhot 2010-12-19 12:41:20 UTC
SELinux is preventing /usr/libexec/telepathy-idle from 'read' accesses on the chr_file random.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that telepathy-idle should be allowed read access on the random chr_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 /usr/libexec/telepathy-idle /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:telepathy_idle_t:s0-s0:c
                              0.c1023
Target Context                system_u:object_r:random_device_t:s0
Target Objects                random [ chr_file ]
Source                        telepathy-idle
Source Path                   /usr/libexec/telepathy-idle
Port                          <Inconnu>
Host                          (removed)
Source RPM Packages           telepathy-idle-0.1.7-2.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.11-2.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.37-0.rc6.git0.1.fc15.x86_64 #1
                              SMP Thu Dec 16 15:48:53 UTC 2010 x86_64 x86_64
Alert Count                   5
First Seen                    dim. 19 déc. 2010 13:36:55 CET
Last Seen                     dim. 19 déc. 2010 13:37:54 CET
Local ID                      be8f9421-6303-4201-9ce5-c6a2b91d38f2

Raw Audit Messages
type=AVC msg=audit(1292762274.806:149): avc:  denied  { read } for  pid=2506 comm="telepathy-idle" name="random" dev=devtmpfs ino=5347 scontext=unconfined_u:unconfined_r:telepathy_idle_t:s0-s0:c0.c1023 tcontext=system_u:object_r:random_device_t:s0 tclass=chr_file

telepathy-idle,telepathy_idle_t,random_device_t,chr_file,read
type=SYSCALL msg=audit(1292762274.806:149): arch=x86_64 syscall=open success=no exit=EACCES a0=3e645376b7 a1=900 a2=d a3=18 items=0 ppid=1 pid=2506 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm=telepathy-idle exe=/usr/libexec/telepathy-idle subj=unconfined_u:unconfined_r:telepathy_idle_t:s0-s0:c0.c1023 key=(null)
telepathy-idle,telepathy_idle_t,random_device_t,chr_file,read

#============= telepathy_idle_t ==============
allow telepathy_idle_t random_device_t:chr_file read;

Comment 1 Miroslav Grepl 2010-12-20 08:52:53 UTC

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


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