Summary: SELinux is preventing /usr/sbin/arpwatch "read write" access on 001. Detailed Description: SELinux denied access requested by arpwatch. It is not expected that this access is required by arpwatch 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://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug report. Additional Information: Source Context unconfined_u:system_r:arpwatch_t:s0 Target Context system_u:object_r:usb_device_t:s0 Target Objects 001 [ chr_file ] Source arpwatch Source Path /usr/sbin/arpwatch Port <Unknown> Host (removed) Source RPM Packages arpwatch-2.1a15-12.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-78.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.31.12-174.2.3.fc12.i686 #1 SMP Mon Jan 18 20:22:46 UTC 2010 i686 i686 Alert Count 5 First Seen Thu 11 Feb 2010 10:43:09 AM AST Last Seen Thu 11 Feb 2010 10:43:09 AM AST Local ID 499427cd-3524-446b-a7be-e9412b1542d4 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1265899389.850:26012): avc: denied { read write } for pid=6713 comm="arpwatch" name="001" dev=tmpfs ino=2878 scontext=unconfined_u:system_r:arpwatch_t:s0 tcontext=system_u:object_r:usb_device_t:s0 tclass=chr_file node=(removed) type=SYSCALL msg=audit(1265899389.850:26012): arch=40000003 syscall=5 success=no exit=-13 a0=bf9d0294 a1=8002 a2=0 a3=bf9d0294 items=0 ppid=6712 pid=6713 auid=1005 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts2 ses=308 comm="arpwatch" exe="/usr/sbin/arpwatch" subj=unconfined_u:system_r:arpwatch_t:s0 key=(null) Hash String generated from selinux-policy-3.6.32-78.fc12,catchall,arpwatch,arpwatch_t,usb_device_t,chr_file,read,write audit2allow suggests: #============= arpwatch_t ============== allow arpwatch_t usb_device_t:chr_file { read write };
Repeat by: Login to a user account su - service arpwatch start
John di you know what device arpwatch is looking at? What usb device is 001? Is this a network device?
Machine has 5 USB buses, 001 - 005. Device 001 on every bus is a root hub.
Miroslav add dev_rw_generic_usb_dev(arpwatch_t)
Fixed in selinux-policy-3.6.32-88.fc12
selinux-policy-3.6.32-89.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-89.fc12
selinux-policy-3.6.32-89.fc12 has been pushed to the Fedora 12 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/F12/FEDORA-2010-1836
selinux-policy-3.6.32-89.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.