[GHC] #738: ghc can't load files with selinux Enforcing
Simon Marlow
simonmarhaskell at gmail.com
Tue Jul 4 05:01:50 EDT 2006
Jens Petersen wrote:
> >> 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.
I have added this information to the FAQ, thanks.
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list