Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 451894 - after upgrading to -fedora 9 i can't chmod var/www/ as root and i'm getting numerous SELinux warnings.
Summary: after upgrading to -fedora 9 i can't chmod var/www/ as root and i'm getting n...
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 9
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2008-06-17 23:49 UTC by david
Modified: 2008-06-22 10:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-06-22 10:57:28 UTC

Attachments (Terms of Use)
summary of one of the selinux alerts. (deleted)
2008-06-17 23:49 UTC, david
no flags Details

Description david 2008-06-17 23:49:28 UTC
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):

How reproducible:
Every time I'm logged in.

Steps to Reproduce:
1. Log in.
2. View SELInux AVC denial.
3. Unable to open up folders.
Actual results:

Expected results:
Expected to be able to open up folders.

Additional info:
Well, my pages are still online!

Comment 1 david 2008-06-17 23:49:28 UTC
Created attachment 309684 [details]
summary of one of the selinux alerts.

Comment 2 Daniel Walsh 2008-06-22 10:57:28 UTC
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
s0-s0:c0.c1023 unconfined_u 
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

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