Bug 788407 - SELinux is preventing /usr/lib/udisks2/udisksd from 'execute' accesses on the fichier /usr/lib/udisks2/udisksd.
Summary: SELinux is preventing /usr/lib/udisks2/udisksd from 'execute' accesses on the...
Keywords:
Status: CLOSED DUPLICATE of bug 788404
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:38cb7fe7a8776b7d3330487418b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-08 07:36 UTC by Nicolas Mailhot
Modified: 2012-02-08 19:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-08 19:46:54 UTC
Type: ---


Attachments (Terms of Use)

Description Nicolas Mailhot 2012-02-08 07:36:39 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.3.0-0.rc2.git4.1.fc17.x86_64
reason:         SELinux is preventing /usr/lib/udisks2/udisksd from 'execute' accesses on the fichier /usr/lib/udisks2/udisksd.
time:           mer. 08 févr. 2012 08:26:51 CET

description:
:SELinux is preventing /usr/lib/udisks2/udisksd from 'execute' accesses on the fichier /usr/lib/udisks2/udisksd.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that udisksd should be allowed execute access on the udisksd 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 udisksd /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:init_t:s0
:Target Context                system_u:object_r:devicekit_disk_exec_t:s0
:Target Objects                /usr/lib/udisks2/udisksd [ file ]
:Source                        udisksd
:Source Path                   /usr/lib/udisks2/udisksd
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           udisks2-1.91.0-1.fc17.x86_64
:Target RPM Packages           udisks2-1.91.0-1.fc17.x86_64
:Policy RPM                    selinux-policy-3.10.0-84.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.0-0.rc2.git4.1.fc17.x86_64 #1
:                              SMP Mon Feb 6 17:53:24 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    mar. 07 févr. 2012 19:45:27 CET
:Last Seen                     mer. 08 févr. 2012 08:23:47 CET
:Local ID                      3bb62e92-fe9f-457b-91c4-f06bdce24143
:
:Raw Audit Messages
:type=AVC msg=audit(1328685827.622:671): avc:  denied  { execute } for  pid=1556 comm="(udisksd)" name="udisksd" dev="dm-1" ino=1835503 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:devicekit_disk_exec_t:s0 tclass=filenode=(removed) type=AVC msg=audit(1328685827.622:671): avc:  denied  { read open } for  pid=1556 comm="(udisksd)" name="udisksd" dev="dm-1" ino=1835503 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:devicekit_disk_exec_t:s0 tclass=file
:
:
:type=AVC msg=audit(1328685827.622:671): avc:  denied  { execute_no_trans } for  pid=1556 comm="(udisksd)" path="/usr/lib/udisks2/udisksd" dev="dm-1" ino=1835503 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:devicekit_disk_exec_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1328685827.622:671): arch=x86_64 syscall=execve success=yes exit=0 a0=2303510 a1=230adf0 a2=230b3d0 a3=b items=0 ppid=1 pid=1556 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=udisksd exe=/usr/lib/udisks2/udisksd subj=system_u:system_r:init_t:s0 key=(null)
:
:Hash: udisksd,init_t,devicekit_disk_exec_t,file,execute
:
:audit2allow
:
:#============= init_t ==============
:allow init_t devicekit_disk_exec_t:file { read execute open execute_no_trans };
:
:audit2allow -R
:
:#============= init_t ==============
:allow init_t devicekit_disk_exec_t:file { read execute open execute_no_trans };
:

Comment 1 Miroslav Grepl 2012-02-08 11:48:00 UTC
I think this is related to #787841.

Comment 2 Daniel Walsh 2012-02-08 19:46:54 UTC

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


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