Page 1 of 1

slackware 10.1: glibc 2.3.4 and grsecurity for 2.4.29

PostPosted: Tue Feb 08, 2005 5:19 pm
by InHeLL
I recompilled the vanilla kernel from kernel.org and added the grsec patch and after that..nothing worked:

root@hera/etc/rc.d# nmap
nmap: error while loading shared libraries: libcrypto.so.0: cannot enable
executable stack as shared object requires: Permission denied

root@hera/etc/rc.d# pico
pico: error while loading shared libraries: libncurses.so.5: cannot enable
executable stack as shared object requires: Permission denied

root@hera/etc/rc.d# /etc/rc.d/rc.httpd start
Syntax error on line 6 of /etc/apache/mod_php.conf:
Cannot load /usr/libexec/apache/libphp4.so into server: libcrypto.so.0:
cannot enable executable stack as shared object requires: Permission denied
/usr/sbin/apachectl start: httpd could not be started

root@hera/etc/rc.d# host
host: error while loading shared libraries: libcrypto.so.0: cannot enable
executable stack as shared object requires: Permission denied


after that I recompiled the vanilla kernel without grsec and everything worked fine.

I also recompiled 2.4.29 kernel with grsec on a snapshot of slackware-current before glibc 2.3.4 was merged into slack, and worked fine there too.

Re: slackware 10.1: glibc 2.3.4 and grsecurity for 2.4.29

PostPosted: Tue Feb 08, 2005 5:51 pm
by PaX Team
InHeLL wrote:nmap: error while loading shared libraries: libcrypto.so.0: cannot enable
executable stack as shared object requires: Permission denied
search the forums for that error message, it's been explained many times now.