Bug 192839 - selinux policy targeted broken (paths / restorecon / relabel)
selinux policy targeted broken (paths / restorecon / relabel)
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
All Linux
medium Severity urgent
: ---
: ---
Assigned To: Daniel Walsh
Depends On:
  Show dependency treegraph
Reported: 2006-05-23 11:19 EDT by drago01
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-02-09 06:09:09 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
semanage fcontext --list output (178.74 KB, text/plain)
2006-05-23 11:24 EDT, drago01
no flags Details

  None (edit)
Description drago01 2006-05-23 11:19:20 EDT
Description of problem:
Selinux seems to be broken here the default file labels are incorrect (those set
by restorecon / fixfiles etc.)
/lib64/ld-2.4.so should be ld_so_t but it is lib_t same for dirs in / are 
drwxr-x---  root     root     root:object_r:user_home_dir_t    root
drwxr-xr-x  root     root     system_u:object_r:home_root_t    home
drwxr-xr-x  root     root     system_u:object_r:usr_t          opt
see link for more details
Version-Release number of selected component (if applicable):
had 2.2.38 before updated has not helped.

How reproducible:

Steps to Reproduce:
1. boot using targeted policy
2. notice errors
Actual results:
wrong context is used for file and dirs

Expected results:
right context should be used

Additional info:
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   enforcing
Mode from config file:          enforcing
Policy version:                 20
Policy from config file:        targeted
Filesystem: ext3 on md raid0
Arch: x86_64 on dual core opteron.
Comment 1 drago01 2006-05-23 11:24:13 EDT
Created attachment 129874 [details]
semanage fcontext --list output
Comment 2 drago01 2006-05-23 12:03:59 EDT
forgot about the dirs in / they are correct I just got confused by the names,
the only problem that remains is /lib64/ld-2.4.so 
Comment 3 Daniel Walsh 2006-05-23 13:57:59 EDT
Fixed in selinux-policy-2.2.42-2.fc5
Comment 4 drago01 2007-02-09 06:09:09 EST
closing because its fixed  ;)

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