Bug 451894 - after upgrading to -fedora 9 i can't chmod var/www/ as root and i'm getting numerous SELinux warnings.
after upgrading to -fedora 9 i can't chmod var/www/ as root and i'm getting n...
Status: CLOSED CANTFIX
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
9
i386 Linux
low Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
http://crossingscommercecenter.com
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-17 19:49 EDT by david
Modified: 2008-06-22 06:57 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-06-22 06:57:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
summary of one of the selinux alerts. (2.64 KB, text/plain)
2008-06-17 19:49 EDT, david
no flags Details

  None (edit)
Description david 2008-06-17 19:49: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):


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 19:49:28 EDT
Created attachment 309684 [details]
summary of one of the selinux alerts.
Comment 2 Daniel Walsh 2008-06-22 06:57:28 EDT
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.