Red Hat Bugzilla – Bug 453365
patch-2.5.4-34.fc9.x86_64 doesn't ignore selinux when it is disabled
Last modified: 2008-07-08 22:50:33 EDT
I disabled selinux before creating a few files with
security context. patch-2.5.4-34.fc9.x86_64 failed
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?
*** Bug 453383 has been marked as a duplicate of this bug. ***
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.
patch-2.5.4-35.fc9 has been submitted as an update for Fedora 9
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
Has anyone tried this test update?
(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
I haven't checked the details of your patch, but it at least got me going again.
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.