Bug 573810 - SELinux is preventing /usr/libexec/udisks-daemon "execute" access on /sbin/mdadm.
Summary: SELinux is preventing /usr/libexec/udisks-daemon "execute" access on /sb...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:e8efa55f593...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-15 20:35 UTC by Peter Hjalmarsson
Modified: 2010-03-24 00:49 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.7.15-1.fc13
Clone Of:
Environment:
Last Closed: 2010-03-24 00:49:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Peter Hjalmarsson 2010-03-15 20:35:40 UTC
Sammanfattning:

SELinux is preventing /usr/libexec/udisks-daemon "execute" access on
/sbin/mdadm.

Detaljerad beskrivning:

SELinux denied access requested by udisks-daemon. It is not expected that this
access is required by udisks-daemon and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Att tillåta åtkomst:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Ytterligare information:

Källkontext                  system_u:system_r:devicekit_disk_t:s0-s0:c0.c1023
Målkontext                   system_u:object_r:mdadm_exec_t:s0
Målobjekt                    /sbin/mdadm [ file ]
Källa                        udisks-daemon
Källsökväg                 /usr/libexec/udisks-daemon
Port                          <Okänd>
Värd                         (removed)
Käll-RPM-paket               udisks-1.0.0-0.git20100223.1.fc13
Mål-RPM-paket                mdadm-3.1.1-0.gcd9a8b5.3.fc13
Policy-RPM                    selinux-policy-3.7.14-3.fc13
SELinux aktiverat             True
Policytyp                     targeted
Verkställande läge          Enforcing
Insticksmodulnamn             catchall
Värdnamn                     (removed)
Plattform                     Linux (removed) 2.6.33-1.fc13.x86_64 #1
                              SMP Wed Feb 24 19:55:32 UTC 2010 x86_64 x86_64
Antal larm                    1
Först sedd                   mån 15 mar 2010 21.23.38
Senast sedd                   mån 15 mar 2010 21.23.38
Lokalt ID                     7ce08a41-22d3-45f5-a214-d410e21212f1
Radnummer                     

Råa granskningsmeddelanden   

node=(removed) type=AVC msg=audit(1268684618.457:32367): avc:  denied  { execute } for  pid=16153 comm="udisks-daemon" name="mdadm" dev=dm-0 ino=11250 scontext=system_u:system_r:devicekit_disk_t:s0-s0:c0.c1023 tcontext=system_u:object_r:mdadm_exec_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1268684618.457:32367): arch=c000003e syscall=59 success=no exit=-13 a0=2233bf5 a1=7fff4980cb30 a2=2207b40 a3=1 items=0 ppid=2491 pid=16153 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="udisks-daemon" exe="/usr/libexec/udisks-daemon" subj=system_u:system_r:devicekit_disk_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,udisks-daemon,devicekit_disk_t,mdadm_exec_t,file,execute
audit2allow suggests:

#============= devicekit_disk_t ==============
allow devicekit_disk_t mdadm_exec_t:file execute;

Comment 1 Peter Hjalmarsson 2010-03-15 20:39:39 UTC
This happens every time I try to start a RAID (tested RAID0/1) with the help of gnome-disk-utility.

Comment 2 Daniel Walsh 2010-03-15 21:09:05 UTC
Fixed in selinux-policy-3.7.14-4.fc13.noarch

Comment 3 Peter Hjalmarsson 2010-03-16 21:32:19 UTC
Fetched that build from koji and it worked, thanks.

Comment 4 Fedora Update System 2010-03-18 17:25:07 UTC
selinux-policy-3.7.15-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/selinux-policy-3.7.15-1.fc13

Comment 5 Fedora Update System 2010-03-23 02:18:10 UTC
selinux-policy-3.7.15-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.7.15-1.fc13

Comment 6 Fedora Update System 2010-03-24 00:49:12 UTC
selinux-policy-3.7.15-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


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