[Haskell-cafe] GHC 6.6.1 and SELinux issues

Stuart Jansen sjansen at buscaluz.org
Tue Aug 28 10:05:02 EDT 2007


On Tue, 2007-08-28 at 13:14 +0400, Alexander Vodomerov wrote:
> Does anybody here uses GHC on Linux with SELinux turned on?

I'm using it on Fedora 7 without any problems.

$ /usr/sbin/getenforce 
Enforcing
$ getsebool allow_execmem
allow_execmem --> off
$ cat /etc/redhat-release 
Fedora release 7 (Moonshine)
$ ls -Z $(which ghc)
lrwxrwxrwx  root root system_u:object_r:bin_t          /usr/bin/ghc ->
ghc-6.6.1*
$ ls -Z $(which ghci)
lrwxrwxrwx  root root system_u:object_r:bin_t          /usr/bin/ghci ->
ghci-6.6.1*
$ ghc
ghc-6.6.1: no input files
Usage: For basic information, try the `--help' option.
$ ghci
   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |    GHC Interactive, version 6.6.1, for Haskell 98.
/ /_\\/ __  / /___| |    http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|    Type :? for help.

Loading package base ... linking ... done.
Prelude> :l Text.hs
[1 of 1] Compiling Main             ( Text.hs, interpreted )
Ok, modules loaded: Main.
*Main> main
Loading package mtl-1.0.1 ... linking ... done.
Loading package glib-0.9.12 ... linking ... done.
Loading package cairo-0.9.12 ... linking ... done.
Loading package gtk-0.9.12 ... linking ... done.
*Main>  Leaving GHCi.
$ ghc --make Text.hs 
[1 of 1] Compiling Main             ( Text.hs, Text.o )
Linking Text ...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20070828/73afb4f3/attachment-0001.bin


More information about the Haskell-Cafe mailing list