Package: darcs
Version: 1.0.9~rc1-0.1+b3
Severity: normal

--- Please enter the report below this line. ---

Trying to run darcs on a SELinux enabled system with the targeted policy enabled
and enforced fails.

$ darcs w -l
darcs: internal error: getMBlock: mmap: Permission denied
    (GHC version 6.6.1 for x86_64_unknown_linux)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Aborted

It seems this is an issue originating in GHC which generates code that needs
execmem.

OTOH, darcs could provide a policy to allow execmem on linux systems.


See more details in the corresponding redhat and upstream bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=195820
https://bugzilla.redhat.com/show_bug.cgi?id=195821
http://cvs.haskell.org/trac/ghc/ticket/738


--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.21-2-amd64

Debian Release: lenny/sid
  900 testing         www.emdebian.org
  900 testing         snapshot.debian.net
  900 testing         security.debian.org
  900 testing         ftp.ro.debian.org
   10 unstable        ftp.ro.debian.org

--- Package information. ---
Depends               (Version) | Installed
===============================-+-================
libc6                (>= 2.5-5) | 2.6.1-1
libcurl3          (>= 7.16.2-1) | 7.16.4-2
libgmp3c2                       | 2:4.2.2+dfsg-1
libkrb53        (>= 1.6.dfsg.1) | 1.6.dfsg.1-7
libncurses5          (>= 5.4-5) | 5.6+20070908-1
zlib1g             (>= 1:1.2.1) | 1:1.2.3.3.dfsg-5


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to