Description of problem: I started getting the below warnings recently and I have been unable to remove them. I've tried restorecon on the dir, creating .autorelabel and now I have even removed the rpm in question. selinux is still complaining about the file labels even though those files no longer exist. Why? I'm currently running in enforcing mode. /etc/selinux/targeted/contexts/files/file_contexts: Multiple different specifications for /usr/lib/vlc/codec/libdmo_plugin.so (system_u:object_r:textrel_shlib_t:s0 and system_u:object_r:shlib_t:s0). /etc/selinux/targeted/contexts/files/file_contexts: Multiple different specifications for /usr/lib/vlc/codec/librealaudio_plugin.so (system_u:object_r:textrel_shlib_t:s0 and system_u:object_r:shlib_t:s0). Version-Release number of selected component (if applicable): selinux-policy-2.4.6-62.fc6 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Could you execute semanage fcontext -l | grep vlc
Here is the requested output; /usr/lib/vlc/codec/libdmo_plugin.so regular file system_u:object_r:shlib_t:s0 /usr/lib/vlc/codec/librealaudio_plugin.so regular file system_u:object_r:shlib_t:s0 /usr/lib/vlc/codec/libdmo_plugin.so all files system_u:object_r:textrel_shlib_t:s0 /usr/lib/vlc/codec/librealaudio_plugin.so all files system_u:object_r:textrel_shlib_t:s0
semanage fcontext -d /usr/lib/vlc/codec/libdmo_plugin.so semanage fcontext -d /usr/lib/vlc/codec/librealaudio_plugin.so Should remove these. Did you add them?
That worked thanks. They were not something I added myself. Most likely conflicting vlc installs.