Bug 550880
| Summary: | SELinux is preventing /usr/bin/mono "read write" access on sdb2. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Steven Côté <steven.cote> |
| Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 12 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:c1d88e9f0c6c62ec0add9e4aadda7afaf545974c5fc4e229d8bcc2ae3cdb1813 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-12-29 23:52:11 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Steven Côté
2009-12-27 23:05:01 UTC
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 *** |