Additional info: libreport version: 2.0.18 kernel: 3.6.9-2.fc17.x86_64 description: :SELinux is preventing /usr/lib/udev/scsi_id from 'ioctl' accesses on the chr_file /dev/sg0. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that scsi_id should be allowed ioctl access on the sg0 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 scsi_id /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:xend_t:s0 :Target Context system_u:object_r:scsi_generic_device_t:s0 :Target Objects /dev/sg0 [ chr_file ] :Source scsi_id :Source Path /usr/lib/udev/scsi_id :Port <Inconnu> :Host (removed) :Source RPM Packages udev-182-3.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-161.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) 3.6.9-2.fc17.x86_64 #1 SMP Tue Dec : 4 13:26:04 UTC 2012 x86_64 x86_64 :Alert Count 2 :First Seen 2012-12-07 23:37:43 RET :Last Seen 2012-12-08 09:12:44 RET :Local ID ed703cb0-d66c-4089-a7a3-12783eff1dff : :Raw Audit Messages :type=AVC msg=audit(1354943564.393:42): avc: denied { ioctl } for pid=893 comm="scsi_id" path="/dev/sg0" dev="devtmpfs" ino=5998 scontext=system_u:system_r:xend_t:s0 tcontext=system_u:object_r:scsi_generic_device_t:s0 tclass=chr_file : : :type=SYSCALL msg=audit(1354943564.393:42): arch=x86_64 syscall=ioctl success=yes exit=0 a0=3 a1=2285 a2=7fffa0fa6d80 a3=3 items=0 ppid=892 pid=893 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=scsi_id exe=/usr/lib/udev/scsi_id subj=system_u:system_r:xend_t:s0 key=(null) : :Hash: scsi_id,xend_t,scsi_generic_device_t,chr_file,ioctl : :audit2allow : :#============= xend_t ============== :allow xend_t scsi_generic_device_t:chr_file ioctl; : :audit2allow -R : :#============= xend_t ============== :allow xend_t scsi_generic_device_t:chr_file ioctl; :
Created attachment 659719 [details] File: type
Created attachment 659720 [details] File: hashmarkername
*** This bug has been marked as a duplicate of bug 885222 ***