Bug 453365 - patch-2.5.4-34.fc9.x86_64 doesn't ignore selinux when it is disabled
patch-2.5.4-34.fc9.x86_64 doesn't ignore selinux when it is disabled
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: patch (Show other bugs)
9
All Linux
low Severity low
: ---
: ---
Assigned To: Tim Waugh
Fedora Extras Quality Assurance
:
: 453383 (view as bug list)
Depends On:
Blocks: 165799
  Show dependency treegraph
 
Reported: 2008-06-30 02:00 EDT by H.J. Lu
Modified: 2008-07-08 22:50 EDT (History)
1 user (show)

See Also:
Fixed In Version: 2.5.4-35.fc9
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-07-08 22:50:33 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)

  None (edit)
Description H.J. Lu 2008-06-30 02:00:25 EDT
I disabled selinux before creating a few files with
security context. patch-2.5.4-34.fc9.x86_64 failed
with

patch: **** Can't set security context on file
gcc/testsuite/g++.dg/abi/mangle24.C : Operation not permitted

when it tries to patch the file when it was created
with security context. The previous patch works fine.
Why can't patch create a new file without security
context when selinux is disabled?
Comment 1 Tim Waugh 2008-06-30 05:46:41 EDT
*** Bug 453383 has been marked as a duplicate of this bug. ***
Comment 2 Tim Waugh 2008-06-30 05:56:56 EDT
Hmm, the man page says that we're meant to get ENOTSUP in that situation, but
instead we're getting EPERM.  OK, will work around.
Comment 3 Fedora Update System 2008-06-30 08:22:09 EDT
patch-2.5.4-35.fc9 has been submitted as an update for Fedora 9
Comment 4 Fedora Update System 2008-07-01 01:28:41 EDT
patch-2.5.4-35.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update patch'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-5894
Comment 5 Tim Waugh 2008-07-07 08:08:39 EDT
Has anyone tried this test update?
Comment 6 Ralf Corsepius 2008-07-07 08:36:52 EDT
(In reply to comment #5)
> Has anyone tried this test update?
Yes,  I am using a locally built rpm I rebuilt from your sources to address
https://bugzilla.redhat.com/show_bug.cgi?id=453365.

I haven't checked the details of your patch, but it at least got me going again.
Comment 7 Fedora Update System 2008-07-08 22:50:31 EDT
patch-2.5.4-35.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

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