LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-17-2011, 08:06 PM   #1
letalangel
LQ Newbie
 
Registered: Sep 2011
Posts: 7

Rep: Reputation: Disabled
Exclamation Longterm and Grsec on Slackware 13.0


i have many many erors now on the sistem,
nothing not run now (
anyone have a ideea how i can't resolve this big problem?

> /etc/rc.d/rc.bind start
Starting BIND: /usr/sbin/named
/usr/sbin/named: error while loading shared libraries: libcrypto.so.0: cannot enable executable stack as shared object requires: Permission denied
WARNING: named did not start.
Attempting to start named again: /usr/sbin/named
/usr/sbin/named: error while loading shared libraries: libcrypto.so.0: cannot enable executable stack as shared object requires: Permission denied
FAILED: Sorry, a second attempt to start named has also failed.
There may be a configuration error that needs fixing. Good luck!


> /etc/rc.d/rc.httpd start
/usr/sbin/httpd: error while loading shared libraries: libcrypto.so.0: cannot enable executable stack as shared object requires: Permission denied

> /etc/rc.d/rc.sshd start
/usr/sbin/sshd: error while loading shared libraries: libcrypto.so.0: cannot enable executable stack as shared object requires: Permission denied


> locate libcrypto.so.0
/usr/lib/libcrypto.so.0
/usr/lib/libcrypto.so.0.9.8


> uname -a
Linux h1_nlc 2.6.32.46-grsec-smp #1 SMP Sun Sep 18 00:17:00 EEST 2011 i686 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux
 
Old 09-17-2011, 08:39 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Try re-installing openssl-solibs
 
Old 09-17-2011, 09:33 PM   #3
spender
LQ Newbie
 
Registered: Aug 2011
Posts: 5

Rep: Reputation: Disabled
execstack -c on the library files mentioned in the errors. You may want to complain to your distribution as well, as on non-grsec systems, this improper marking of the libraries results in executable stacks in all applications using openssl.

In the future, just search on forums.grsecurity.net for solutions to these kinds of issues.

-Brad
 
Old 09-18-2011, 02:33 AM   #4
letalangel
LQ Newbie
 
Registered: Sep 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by spender View Post
execstack -c on the library files mentioned in the errors. You may want to complain to your distribution as well, as on non-grsec systems, this improper marking of the libraries results in executable stacks in all applications using openssl.

In the future, just search on forums.grsecurity.net for solutions to these kinds of issues.

-Brad
not work execstack -c,
> execstack -c libcrypto.so.0
/bin/bash: execstack: command not found

and what to do with openssl ? i don't understand,
 
Old 09-18-2011, 05:01 PM   #5
letalangel
LQ Newbie
 
Registered: Sep 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by letalangel View Post
not work execstack -c,
> execstack -c libcrypto.so.0
/bin/bash: execstack: command not found

and what to do with openssl ? i don't understand,
Problem solved, i had install libelf-0.8.12-i486-1bj.txz* and prelink-0.0.20090925-i486-1sl.txz*;
Now all works normally

Many thanks for help folks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
devfs not mounted (kernel 2.6.24.5-grsec) Marko L Linux - Kernel 0 06-24-2008 02:52 PM
2.4.31 + grsec on AlphaServer Teukka Debian 1 11-12-2005 05:15 PM
Grsec configuration? hlozo Mandriva 2 05-08-2004 10:55 AM
ALSA & kernel with grsec drenal Linux - Software 0 01-26-2004 05:34 PM
grsec+kernel 2.4.23+iptables f1uke Linux - Newbie 0 12-07-2003 12:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 10:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration