Summary: SELinux is preventing /usr/sbin/vnstatd "write" access on /var/run. Detailed Description: [vnstatd has a permissive type (vnstatd_t). This access was not denied.] SELinux denied access requested by vnstatd. It is not expected that this access is required by vnstatd 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 system_u:system_r:vnstatd_t:s0 Target Context system_u:object_r:var_run_t:s0 Target Objects /var/run [ dir ] Source vnstatd Source Path /usr/sbin/vnstatd Port <Unknown> Host (removed) Source RPM Packages vnstat-1.10-1.fc13 Target RPM Packages filesystem-2.4.35-1.fc14 Policy RPM selinux-policy-3.9.5-10.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name catchall Host Name (removed) Platform Linux localhost.localdomain 2.6.35.6-39.fc14.i686 #1 SMP Fri Oct 8 16:20:30 UTC 2010 i686 i686 Alert Count 4 First Seen Mon 11 Oct 2010 03:04:47 PM EEST Last Seen Mon 11 Oct 2010 03:04:47 PM EEST Local ID a006b05c-d6f0-410d-a69f-de5f4529dfd5 Line Numbers Raw Audit Messages node=localhost.localdomain type=AVC msg=audit(1286798687.333:27343): avc: denied { write } for pid=28838 comm="vnstatd" name="run" dev=dm-0 ino=1666 scontext=system_u:system_r:vnstatd_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=dir node=localhost.localdomain type=AVC msg=audit(1286798687.333:27343): avc: denied { add_name } for pid=28838 comm="vnstatd" name="vnstat.pid" scontext=system_u:system_r:vnstatd_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=dir node=localhost.localdomain type=AVC msg=audit(1286798687.333:27343): avc: denied { create } for pid=28838 comm="vnstatd" name="vnstat.pid" scontext=system_u:system_r:vnstatd_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file node=localhost.localdomain type=AVC msg=audit(1286798687.333:27343): avc: denied { read write open } for pid=28838 comm="vnstatd" name="vnstat.pid" dev=dm-0 ino=27417 scontext=system_u:system_r:vnstatd_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file node=localhost.localdomain type=SYSCALL msg=audit(1286798687.333:27343): arch=40000003 syscall=5 success=yes exit=3 a0=80579ee a1=42 a2=1a4 a3=0 items=0 ppid=1 pid=28838 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="vnstatd" exe="/usr/sbin/vnstatd" subj=system_u:system_r:vnstatd_t:s0 key=(null) Hash String generated from catchall,vnstatd,vnstatd_t,var_run_t,dir,write audit2allow suggests: #============= vnstatd_t ============== #!!!! The source type 'vnstatd_t' can write to a 'dir' of the following types: # vnstatd_var_lib_t, var_lib_t, root_t allow vnstatd_t var_run_t:dir { write add_name }; #!!!! The source type 'vnstatd_t' can write to a 'file' of the following types: # vnstatd_var_lib_t, root_t allow vnstatd_t var_run_t:file { read write create open };
Fixed in selinux-policy-3.9.6-3.fc14 Miroslav We probably need to back port this fix to F13.
selinux-policy-3.9.7-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-1.fc14
selinux-policy-3.9.7-1.fc14 has been pushed to the Fedora 14 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: https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-1.fc14
selinux-policy-3.9.7-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.