Bug 453383

Summary: SELinux interferes when it's disabled.
Product: [Fedora] Fedora Reporter: Ralf Corsepius <rc040203>
Component: patchAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: jkubin
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-30 09:46:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 453381    
Bug Blocks:    

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 ***