Bug 238678 - Selinux complaining about files which do not exist.
Summary: Selinux complaining about files which do not exist.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-05-02 09:00 UTC by simon
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-05-03 15:04:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description simon 2007-05-02 09:00:55 UTC
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:

Comment 1 Daniel Walsh 2007-05-03 14:34:33 UTC
Could you execute 

semanage fcontext -l | grep vlc



Comment 2 simon 2007-05-03 14:54:57 UTC
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

Comment 3 Daniel Walsh 2007-05-03 15:04:53 UTC
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?

Comment 4 simon 2007-05-03 17:06:44 UTC
That worked thanks. 
They were not something I added myself. Most likely conflicting vlc installs.


Note You need to log in before you can comment on or make changes to this bug.