Bug 477892 - SELinux denies 'read write' to restorecon on /root.
Summary: SELinux denies 'read write' to restorecon on /root.
Keywords:
Status: CLOSED DUPLICATE of bug 477508
Alias: None
Product: Fedora
Classification: Fedora
Component: kdebase
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-25 00:27 UTC by nol888
Modified: 2009-01-09 20:09 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-01-09 20:09:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description nol888 2008-12-25 00:27:05 UTC
Description of problem:
Attempting to `restorecon -R -v /root` results in a SELinux denial.  Summary "SELinux is preventing restorecon (setfiles_t) "read write" unconfined_t."

Version-Release number of selected component (if applicable):
3.5.13-18.fc10

How reproducible:
Always

Steps to Reproduce:
1. Attempt `restorecon' on /root.
  
Additional info:
Received this error after attempting to fix plethora of AVC denials as KDE started up as root.  Running restorecon only works on a few files before this AVC denial is thrown and restorecon fails with 'Operation not supported'.

Comment 1 Daniel Walsh 2008-12-27 12:04:02 UTC
I think restorecon is completing and most of these avc's can be ignored.  kdebase is leaking file descriptors which SELinux is complaining about.  This has been reported in several other kdebase bugs.  The "Operation not supported"  is caused by you trying to run restorecon on a file system that does not support extended attributes.

Comment 2 Steven M. Parrish 2009-01-09 20:09:37 UTC

*** This bug has been marked as a duplicate of bug 477508 ***


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