Bug 242893 - Wrong selinux context on /root after installing f7
Wrong selinux context on /root after installing f7
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Anaconda Maintenance Team
Depends On:
  Show dependency treegraph
Reported: 2007-06-06 05:31 EDT by Tobias Oed
Modified: 2007-11-30 17:12 EST (History)
0 users

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

Attachments (Terms of Use)

  None (edit)
Description Tobias Oed 2007-06-06 05:31:28 EDT
Description of problem:
After installing f7 the /root directory has the wrong selinux security context:
system_u:object_r:default_t when it should be root:object_r:user_home_dir_t:s0. 
This leads to various avcs at boot. I have seen this on 3 systems out of which 2
were clean installs from the dvd (the third I don't know).

Version-Release number of selected component (if applicable):
What's on the f7 dvd

How reproducible:
not sure

Steps to Reproduce:
1. Install f7
2. boot

Actual results:
There are avcs in the logs:
avc: denied { search } for comm="procmail" dev=dm-0 egid=0 euid=0
exe="/usr/bin/procmail" exit=-13 fsgid=0 fsuid=0 gid=0 items=0 name="root"
pid=4709 scontext=system_u:system_r:procmail_t:s0 sgid=0
subj=system_u:system_r:procmail_t:s0 suid=0 tclass=dir
tcontext=system_u:object_r:default_t:s0 tty=(none) uid=0

Expected results:
No avcs

Additional info:

restorecon -v /root

fixes the problem
Comment 1 Chris Lumens 2007-06-06 10:30:13 EDT
This should be fixed in the policycoreutils package in rawhide.

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