>> 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
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to