Description of problem: When running restorecon, I get: /etc/selinux/targeted/contexts/files/file_contexts: Multiple different specifications for /opt (system_u:object_r:home_root_t and system_u:object_r:usr_t). This happens since the update to 2.2.34-3 Version-Release number of selected component (if applicable): # rpm -q selinux-policy-targeted selinux-policy-targeted-2.2.34-3.fc5
Do you have users with homedirectories under /opt? Dan
Yes, good catch ! $ grep opt /etc/passwd zimbra:x:506:506::/opt/zimbra:/bin/bash
Can you move that directory? At least create /opt/home/zimbra
Actually zimbra is not a login account so the UID should be less then 500 and the login shell should be /bin/false or /sbin/nologin. Could you report this as a bug to the Zimbra folks. You can change the shell usermod -s /sbin/nologin zimbra to eliminate your problem.
OK, I've userdel'ed zimbra (I uninstalled it a few days ago), and I still get the warning: # restorecon -R /opt /etc/selinux/targeted/contexts/files/file_contexts: Multiple different specifications for /opt (system_u:object_r:home_root_t and system_u:object_r:usr_t). There is no more /opt in /etc/passwd.
Run genhomedircon