Description of problem: Every time I invoke rpm to install, remove or upgrade packages, the following SELinux-related warning is displayed: WARNING: Multiple same specifications for /var/lib/dhcp(3)?. I've found that the file /etc/security/selinux/src/policy/file_contexts/file_contexts has the following entries: # dhcpcd /etc/dhcpc.*(/.*)? system_u:object_r:etc_dhcp_t /etc/dhclient.*conf -- system_u:object_r:etc_dhcp_t /etc/dhclient-script -- system_u:object_r:etc_dhcp_t /sbin/dhcpcd -- system_u:object_r:dhcpc_exec_t /sbin/dhclient.* -- system_u:object_r:dhcpc_exec_t /var/lib/dhcp(3)? -d system_u:object_r:dhcp_state_t /var/lib/dhcp(3)?/dhclient.* system_u:object_r:dhcpc_state_t /var/run/dhclient.*\.pid -- system_u:object_r:dhcpc_var_run_t # pump /sbin/pump -- system_u:object_r:dhcpc_exec_t # dhcpd /etc/dhcpd.conf -- system_u:object_r:etc_dhcp_t /etc/dhcp3(/.*)? system_u:object_r:etc_dhcp_t /usr/sbin/dhcpd.* -- system_u:object_r:dhcpd_exec_t /var/lib/dhcp(3)? -d system_u:object_r:dhcp_state_t /var/lib/dhcp(3)?/dhcpd\.leases.* -- system_u:object_r:dhcpd_state_t /var/run/dhcpd\.pid -d system_u:object_r:dhcpd_var_run_t If you look at them carefully, /var/lib/dhcp(3) is specified twice, one for dhcpd and another one for dhcpcd. Both entries are identical, so one of them must be removed. Version-Release number of selected component (if applicable): policy-1.4.9-2 How reproducible: Always Steps to Reproduce: 1. Install policy-1.4.9-2 2. Install dhcp-3.0.1rc12-1 3. Install dhclient-3.0.1rc12-1 4. Try installing, upgrading or removing a package using rpm. The warning I described above will be shown every time RPM is run. Actual results: RPM complains about /var/lib/dhcp(3) being specified multiple times Expected results: The SELinux policy should be fixed to stop specifying /var/lib/dhcp(3) multiple times. Additional info:
I forgot to mention that this warning is not shown if the dhcp package is *not* installed.
*** This bug has been marked as a duplicate of 113927 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.