Summary: SELinux is preventing rpc.ypxfrd "lock" access on /var/run/ypxfrd.pid. Detailed Description: [SELinux is in permissive mode. This access was not denied.] SELinux denied access requested by rpc.ypxfrd. It is not expected that this access is required by rpc.ypxfrd 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:ypxfr_t:s0 Target Context unconfined_u:object_r:var_run_t:s0 Target Objects /var/run/ypxfrd.pid [ file ] Source rpc.ypxfrd Source Path rpc.ypxfrd Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.6.32-73.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.31.12-174.2.3.fc12.i686.PAE #1 SMP Mon Jan 18 20:06:44 UTC 2010 i686 i686 Alert Count 1 First Seen Wed 27 Jan 2010 03:08:08 PM CET Last Seen Wed 27 Jan 2010 03:08:08 PM CET Local ID dacac77f-b75f-4760-a713-ff1a5aaeb511 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1264601288.588:34174): avc: denied { lock } for pid=24673 comm="rpc.ypxfrd" path="/var/run/ypxfrd.pid" dev=dm-0 ino=46187 scontext=unconfined_u:system_r:ypxfr_t:s0 tcontext=unconfined_u:object_r:var_run_t:s0 tclass=file Hash String generated from selinux-policy-3.6.32-73.fc12,catchall,rpc.ypxfrd,ypxfr_t,var_run_t,file,lock audit2allow suggests: #============= ypxfr_t ============== allow ypxfr_t var_run_t:file lock;
rpc.ypxfrd was modified in Fedora Rawhide to use a pid file (because it's a daemon). Please update the policy for this daemon to allow the creation and unlink of its pid file. Upstream preliminarily accepted the change. I thank you.
Fixed in selinux-policy-3.7.8-5.fc13
Yes.
Created attachment 387406 [details] Miroslav add this patch to F12 and we will update RHEL6 policy.
Fixed in selinux-policy-3.6.32-79.fc12
selinux-policy-3.6.32-82.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-82.fc12
selinux-policy-3.6.32-84.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-1492
selinux-policy-3.6.32-84.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.