Red Hat Bugzilla – Bug 451894
after upgrading to -fedora 9 i can't chmod var/www/ as root and i'm getting numerous SELinux warnings.
Last modified: 2008-06-22 06:57:28 EDT
Description of problem:
After installing Fedora 9 on my server I am unable to access my web folders
(/var/www/) while logged in as root. It shows lots of errors when I'm logged in
as a user as well.
Version-Release number of selected component (if applicable):
Every time I'm logged in.
Steps to Reproduce:
1. Log in.
2. View SELInux AVC denial.
3. Unable to open up folders.
Expected to be able to open up folders.
Well, my pages are still online!
Created attachment 309684 [details]
summary of one of the selinux alerts.
Something in your upgrade blew up. Please execute these commands and then log
out and back in. You should be logged in as unconfined_t rather then staff_t.
semanage user -a -S targeted -P user -R "unconfined_r system_r" -r
semanage login -m -S targeted -s "unconfined_u" -r s0-s0:c0.c1023 __default__
semanage login -m -S targeted -s "unconfined_u" -r s0-s0:c0.c1023 root