[GHC] #738: ghc can't load files with selinux Enforcing
Jens Petersen
petersen at haskell.org
Mon Jul 3 02:43:17 EDT 2006
>> Perhaps someone who knows SELinux would like to describe how to
set up
>> an exception for GHC so we can put it in the FAQ?
I have added:
/usr/bin/chcon -t unconfined_execmem_exec_t /path/to/binary/prog
to the %post install scripts of the darcs and haddock packages in
Fedora Extras for now, and will do the same for the ghc package (it
needs it for more programs).
This avoids having to set allow_execmem system wide.
> I just wonder if the ghc case is harder since programs compiled by ghc
> using the rts need exceptions too not just ghc itself.
Of course if the RTS was a shared library on Linux, then probably just
its .so file would need to have execmem context set.
Jens
More information about the Glasgow-haskell-bugs
mailing list