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 453383 - SELinux interferes when it's disabled.
Summary: SELinux interferes when it's disabled.
Status: CLOSED DUPLICATE of bug 453365
Alias: None
Product: Fedora
Classification: Fedora
Component: patch
Version: 9
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
: 453381 (view as bug list)
Depends On: 453381
TreeView+ depends on / blocked
Reported: 2008-06-30 09:29 UTC by Ralf Corsepius
Modified: 2008-06-30 09:46 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-06-30 09:46:40 UTC

Attachments (Terms of Use)

Description Ralf Corsepius 2008-06-30 09:29:13 UTC
+++ This bug was initially created as a clone of Bug #453381 +++

Description of problem:

SElinux screws up on systems which have selinux _disabled_:

# patch -p0 -R < diff
patching file cpukit/httpd/ejIntrn.h
patch: **** Can't set security context on file cpukit/httpd/ejIntrn.h :
Operation not permitted

Version-Release number of selected component (if applicable):
Fedora 9.

I am facing this issue with files underneath of my personal user home directory,
when working on files having been checked out from external/remote cvs-repos:

# <edit> <somefile>
# cvs diff -u > diff
# patch -p0 -R < diff

Additional info:
* I have no idea what actually triggers this issue, nor which package to blame.
I guess on SElinux, patch, or the kernel.

* running /sbin/restorecon -R . did NOT help!

Comment 1 Tim Waugh 2008-06-30 09:46:23 UTC
*** Bug 453381 has been marked as a duplicate of this bug. ***

Comment 2 Tim Waugh 2008-06-30 09:46:40 UTC

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

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