[GHC] #738: ghc can't load files with selinux Enforcing

GHC trac at galois.com
Wed May 3 06:56:33 EDT 2006


#738: ghc can't load files with selinux Enforcing
-----------------------------------------+----------------------------------
  Reporter:  jon.fairbairn at cl.cam.ac.uk  |          Owner:                
      Type:  bug                         |         Status:  new           
  Priority:  normal                      |      Milestone:  6.6           
 Component:  Runtime System              |        Version:  6.4.1         
  Severity:  major                       |     Resolution:                
  Keywords:                              |             Os:  Linux         
Difficulty:  Unknown                     |   Architecture:  x86_64 (amd64)
-----------------------------------------+----------------------------------
Comment (by simonmar):

 Workaround from the mailing list (volodimir.rudenko at gmail.com):

 In GUI:
  * Menu System -> Administration -> Security Level and Firewall -> tab
 SELinux,
  * in the tree control open an item Other
  * turn on allow_execheap

 On command line (as root):
 {{{
        setsebool -P allow_execheap 1
 }}}
 There are three related "booleans" to try (just in case
 the trick above does not help)
 {{{
  allow_execmem
  allow_execmod
  allow_execstack
 }}}
 PS. This works for the targeted selinux policy, which is
 default in Fedora 5. There are also strict and mls policies.
 I am not selinux guru -I do not know if my workaround works
 for those policies.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/738>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list