Summary: SELinux is preventing /usr/sbin/gpm "read" access on gpm.pid. Detailed Description: SELinux denied access requested by gpm. It is not expected that this access is required by gpm 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:gpm_t:s0 Target Context unconfined_u:object_r:var_run_t:s0 Target Objects gpm.pid [ file ] Source gpm Source Path /usr/sbin/gpm Port <Unknown> Host (removed) Source RPM Packages gpm-1.20.6-9.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-84.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 1 First Seen Wed 17 Feb 2010 12:09:37 AM MSK Last Seen Wed 17 Feb 2010 12:09:37 AM MSK Local ID 65ce4b80-ef33-444a-925f-ab17fb65d4ae Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1266354577.570:36): avc: denied { read } for pid=2041 comm="gpm" name="gpm.pid" dev=dm-2 ino=72672 scontext=unconfined_u:system_r:gpm_t:s0 tcontext=unconfined_u:object_r:var_run_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1266354577.570:36): arch=40000003 syscall=5 success=no exit=-13 a0=8059e69 a1=0 a2=1b6 a3=805755e items=0 ppid=1 pid=2041 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="gpm" exe="/usr/sbin/gpm" subj=unconfined_u:system_r:gpm_t:s0 key=(null) Hash String generated from catchall,gpm,gpm_t,var_run_t,file,read audit2allow suggests: #============= gpm_t ============== allow gpm_t var_run_t:file read;
chcon -t gpm_var_run_t /var/run/gpm.pid Should fix. Miroslav Add the following /var/run/gpm\.pid -- gen_context(system_u:object_r:gpm_var_run_t,s0)
Fixed in selinux-policy-3.6.32-91.fc12
*** Bug 566276 has been marked as a duplicate of this bug. ***
selinux-policy-3.6.32-92.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-92.fc12
selinux-policy-3.6.32-92.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-2953
selinux-policy-3.6.32-92.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.