Ticket #8619 (new enhancement)
add check for SELinux to sage prereq script
| Reported by: | was | Owned by: | GeorgSWeber |
|---|---|---|---|
| Priority: | minor | Milestone: | sage-5.11 |
| Component: | build | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | N/A | Reviewers: | |
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
SELINUX
--------
On Linux, if you get this error message:
" restore segment prot after reloc: Permission denied "
the problem is probably related to SELinux. See the following URL for
further information:
It would be better if the prereq script when sage first builds were to check for selinux. This could be done possibly following the above link which says to look at /etc/sysconfig/selinux.
There are some relevant emails in late March 2010 from John Bussoletti in sage-support about this.
Note: See
TracTickets for help on using
tickets.

The command "sestatus" returns the following text on my system: SELinux Status: enabled SELinuxfs mount: /selinux Current mode: permissive Mode from config file: permissive Policy version: 24 Policy from config file: targeted So it seems that if you grep for "Current mode" and find either "disabled" or "permissive", sage should build, but if you encounter "enabled" then it may fail to build those apps that make the stack executable. On my system sestatus is in /usr/sbin. John Bussoletti