Red Hat Bugzilla – Bug 195820
darcs requires SELinux allow_execmem=true priviledge
Last modified: 2007-11-30 17:11:35 EST
Description of problem:
darcs does not work at all unless the SELinux allow_execmem boolean
is set to true.
This seems to be caused by ghc, but as it nevertheless affects darcs,
I am submitting this bug report as a reminder, and as a help for people
running into the same problem.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run "darcs get --partial http://fasodjfasdhgjkhasdkjf.xyz/ajdlfk/"
(you can also use a known good URL like http://iki.fi/tuomov/repos/ion-3/)
darcs: internal error: getMBlock: mmap: Permission denied
Please report this as a compiler bug. See:
Invalid repository: http://fasodjfasdhgjkhasdkjf.xyz/ajdlfk
darcs failed: Failed to download URL http://fasodjfasdhgjkhasdkjf.xyz/ajdlfk/_d
libcurl: couldn't resolve host
Thanks for the report. Do you know how to fix this?
I'm not that familiar with selinux.
This has been discussed upstream: <http://cvs.haskell.org/trac/ghc/ticket/738>.
*** This bug has been marked as a duplicate of 195821 ***
Are you sure this is a duplicate of the ghc bug?
After all, darcs (like all Haskell software) will have to be recompiled with a
new version of ghc once ghc bug #195821 has been fixed.
Marking darcs as requiring that recompilation (with this bug) makes sense,
Fair point - re-opening to track this for darcs.
darcs-1.0.8-2.fc6 should have a fix for this.
Could you test this on fc5? It is ok I'll put out an update for fc5 too.
Is an update needed for fc4 too?
I built the update for fc5.