Description of problem: selinux-policy-targeted-3.10.0 is missing correct fcontext for /lib64 Version-Release number of selected component (if applicable): selinux-policy-targeted-3.10.0-75 selinux-policy-targeted-3.10.0 How reproducible: Anytime postfix smtpd uses libraries Steps to Reproduce: 1. Install postfix with chroot enabled 64bit 2. Enable selinux 3. Attempt any function that requires a library in /lib64 Additional info: Present in /etc/selinux/targeted/contexts/files/file_contexts /var/spool/postfix/lib(/.*)? system_u:object_r:lib_t:s0 Missing in /etc/selinux/targeted/contexts/files/file_contexts.subs /var/spool/postfix/lib64 /var/spool/postfix/lib
You are right. This is a bug.
This seems like an easy change... any chance it'll make it in the next release? (I'd love to remove my workaround)
Added label to F17,
Should be fixed in the latest F16 policy. $ yum update selinux-policy --enablerepo=updates-testing
Is this present in 3.10.0-84? I don't see any labels for /var/spool/postfix/lib64 in that build...
yes, it is $ matchpathcon /var/spool/postfix/lib64
# rpm -q selinux-policy-targeted selinux-policy-targeted-3.10.0-84.fc16.noarch # matchpathcon /var/spool/postfix/lib64 /var/spool/postfix/lib64 system_u:object_r:postfix_spool_t:s0 ... shouldn't the fcontext be lib_t?
Tried with latest latest release (3.10.0-86), and it's finally included. Appears to be fixed now, thanks! :)