Fedora Account System
Red Hat Associate
Red Hat Customer
Summary: SELinux is preventing /usr/bin/mono "read write" access on sdb2. Detailed Description: [SELinux is in permissive mode. This access was not denied.] SELinux denied access requested by mono. It is not expected that this access is required by mono 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. Allowing Access: You can generate a local policy module to allow this access - see FAQ (http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug report. Additional Information: Source Context system_u:system_r:podsleuth_t:s0 Target Context system_u:object_r:fixed_disk_device_t:s0 Target Objects sdb2 [ blk_file ] Source mono Source Path /usr/bin/mono Port <Unknown> Host (removed) Source RPM Packages mono-core-2.4.2.3-2.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-59.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.31.9-174.fc12.i686 #1 SMP Mon Dec 21 06:24:20 UTC 2009 i686 athlon Alert Count 2 First Seen Sun 27 Dec 2009 23:01:43 GMT Last Seen Sun 27 Dec 2009 23:01:43 GMT Local ID e264f232-fbdd-43c8-b6e7-02dd5d167858 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1261954903.900:23): avc: denied { read write } for pid=2390 comm="mono" name="sdb2" dev=tmpfs ino=219949 scontext=system_u:system_r:podsleuth_t:s0 tcontext=system_u:object_r:fixed_disk_device_t:s0 tclass=blk_file node=(removed) type=AVC msg=audit(1261954903.900:23): avc: denied { open } for pid=2390 comm="mono" name="sdb2" dev=tmpfs ino=219949 scontext=system_u:system_r:podsleuth_t:s0 tcontext=system_u:object_r:fixed_disk_device_t:s0 tclass=blk_file node=(removed) type=SYSCALL msg=audit(1261954903.900:23): arch=40000003 syscall=5 per=400000 success=yes exit=5 a0=8a2a0d0 a1=8002 a2=0 a3=0 items=0 ppid=2382 pid=2390 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="mono" exe="/usr/bin/mono" subj=system_u:system_r:podsleuth_t:s0 key=(null) Hash String generated from selinux-policy-3.6.32-59.fc12,catchall,mono,podsleuth_t,fixed_disk_device_t,blk_file,read,write audit2allow suggests: #============= podsleuth_t ============== allow podsleuth_t fixed_disk_device_t:blk_file { read write open };
The above message as generated when plugging my ipod into the usb port. There were two further errors generated at the same time: -- Summary: SELinux is preventing /usr/bin/mono "getattr" access on /dev/sdb2. Detailed Description: [SELinux is in permissive mode. This access was not denied.] SELinux denied access requested by mono. It is not expected that this access is required by mono 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. Allowing Access: You can generate a local policy module to allow this access - see FAQ (http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug report. Additional Information: Source Context system_u:system_r:podsleuth_t:s0 Target Context system_u:object_r:fixed_disk_device_t:s0 Target Objects /dev/sdb2 [ blk_file ] Source mono Source Path /usr/bin/mono Port <Unknown> Host puck Source RPM Packages mono-core-2.4.2.3-2.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-59.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Plugin Name catchall Host Name puck Platform Linux puck 2.6.31.9-174.fc12.i686 #1 SMP Mon Dec 21 06:24:20 UTC 2009 i686 athlon Alert Count 1 First Seen Sun 27 Dec 2009 23:01:43 GMT Last Seen Sun 27 Dec 2009 23:01:43 GMT Local ID 578c7ac1-c45d-4d79-833d-77c01636f365 Line Numbers Raw Audit Messages node=puck type=AVC msg=audit(1261954903.931:24): avc: denied { getattr } for pid=2390 comm="mono" path="/dev/sdb2" dev=tmpfs ino=219949 scontext=system_u:system_r:podsleuth_t:s0 tcontext=system_u:object_r:fixed_disk_device_t:s0 tclass=blk_file node=puck type=SYSCALL msg=audit(1261954903.931:24): arch=40000003 syscall=197 per=400000 success=yes exit=0 a0=5 a1=bf919790 a2=35aff4 a3=89ea4d8 items=0 ppid=2382 pid=2390 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="mono" exe="/usr/bin/mono" subj=system_u:system_r:podsleuth_t:s0 key=(null) -- Summary: SELinux is preventing /usr/bin/mono "ioctl" access on /dev/sdb2. Detailed Description: [SELinux is in permissive mode. This access was not denied.] SELinux denied access requested by mono. It is not expected that this access is required by mono 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. Allowing Access: You can generate a local policy module to allow this access - see FAQ (http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug report. Additional Information: Source Context system_u:system_r:podsleuth_t:s0 Target Context system_u:object_r:fixed_disk_device_t:s0 Target Objects /dev/sdb2 [ blk_file ] Source mono Source Path /usr/bin/mono Port <Unknown> Host puck Source RPM Packages mono-core-2.4.2.3-2.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-59.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Plugin Name catchall Host Name puck Platform Linux puck 2.6.31.9-174.fc12.i686 #1 SMP Mon Dec 21 06:24:20 UTC 2009 i686 athlon Alert Count 1 First Seen Sun 27 Dec 2009 23:01:43 GMT Last Seen Sun 27 Dec 2009 23:01:43 GMT Local ID bec81bfb-3b10-475e-b82e-24f5e91fdfe9 Line Numbers Raw Audit Messages node=puck type=AVC msg=audit(1261954903.932:25): avc: denied { ioctl } for pid=2390 comm="mono" path="/dev/sdb2" dev=tmpfs ino=219949 scontext=system_u:system_r:podsleuth_t:s0 tcontext=system_u:object_r:fixed_disk_device_t:s0 tclass=blk_file node=puck type=SYSCALL msg=audit(1261954903.932:25): arch=40000003 syscall=54 per=400000 success=yes exit=0 a0=5 a1=2285 a2=bf919720 a3=89ea4d8 items=0 ppid=2382 pid=2390 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="mono" exe="/usr/bin/mono" subj=system_u:system_r:podsleuth_t:s0 key=(null)
*** This bug has been marked as a duplicate of bug 533399 ***