Description of problem: was trying to make disk bootable Additional info: libreport version: 2.0.18 kernel: 3.6.3-1.fc17.x86_64 description: :SELinux is preventing /usr/bin/dbus-daemon from 'write' accesses on the blk_file /dev/sdb. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that dbus-daemon should be allowed write access on the sdb blk_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 dbus-daemon /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 :Target Context system_u:object_r:fixed_disk_device_t:s0 :Target Objects /dev/sdb [ blk_file ] :Source dbus-daemon :Source Path /usr/bin/dbus-daemon :Port <Unknown> :Host (removed) :Source RPM Packages dbus-1.4.10-6.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-156.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.6.3-1.fc17.x86_64 #1 SMP Mon Oct : 22 15:32:35 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen 2012-11-04 14:51:05 PST :Last Seen 2012-11-04 14:51:05 PST :Local ID 4efa516b-fd2a-4cfe-8d5b-1763f99d1264 : :Raw Audit Messages :type=AVC msg=audit(1352069465.883:64): avc: denied { write } for pid=821 comm="dbus-daemon" path="/dev/sdb" dev="devtmpfs" ino=6079 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:fixed_disk_device_t:s0 tclass=blk_file : : :type=SYSCALL msg=audit(1352069465.883:64): arch=x86_64 syscall=recvmsg success=yes exit=ENOSTR a0=21 a1=7fff9206d600 a2=40000000 a3=0 items=0 ppid=1 pid=821 auid=4294967295 uid=81 gid=81 euid=81 suid=81 fsuid=81 egid=81 sgid=81 fsgid=81 tty=(none) ses=4294967295 comm=dbus-daemon exe=/usr/bin/dbus-daemon subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 key=(null) : :Hash: dbus-daemon,system_dbusd_t,fixed_disk_device_t,blk_file,write : :audit2allow : :#============= system_dbusd_t ============== :allow system_dbusd_t fixed_disk_device_t:blk_file write; : :audit2allow -R : :#============= system_dbusd_t ============== :allow system_dbusd_t fixed_disk_device_t:blk_file write; :
Created attachment 638255 [details] File: type
Created attachment 638256 [details] File: hashmarkername
Added. commit a9dc49077c5bbcb649a91f7fe849561324ae2c12 Author: Miroslav Grepl <mgrepl> Date: Mon Nov 5 12:11:39 2012 +0100 dbus needs to be able to read/write inherited fixed disk device_t passed through i
selinux-policy-3.10.0-159.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-159.fc17
Package selinux-policy-3.10.0-159.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-159.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-17782/selinux-policy-3.10.0-159.fc17 then log in and leave karma (feedback).
Tried using restore disk image on a usb stick in 'Disks' and got a dbus error - then SELinux Alert popped up. Package: (null) OS Release: Fedora release 17 (Beefy Miracle)
selinux-policy-3.10.0-159.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.