View previous topic :: View next topic |
Author |
Message |
mattsteven Apprentice
Joined: 27 Oct 2003 Posts: 240 Location: Your Planet
|
Posted: Mon Aug 22, 2005 4:21 pm Post subject: qmail-queue permission denied yet libc.so.6 exists [solved] |
|
|
I'm unable to determine the reason for this error.
Code: | # qmail-inject
To: test@localhost
From: nowhere@no.net
Subject: Testing
bin/qmail-queue: error while loading shared libraries: libc.so.6: cannot open shared object file: Permission denied
|
Code: | ldd /var/qmail/bin/qmail-queue
linux-gate.so.1 => (0xffffe000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7e3c000)
/lib/ld-linux.so.2 (0x80000000) |
Code: | ls -l /lib/tls |grep libc
-rwxr-xr-x 1 root root 1244184 Aug 19 14:35 libc-2.3.5.so
lrwxrwxrwx 1 root root 13 Aug 19 14:35 libc.so.6 -> libc-2.3.5.so |
(runs when su'd to user qmailq, suid owner of the qmail-queue binary)
Code: | /lib/tls/libc.so.6
GNU C Library stable release version 2.3.5, by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1).
Compiled on a Linux 2.6.11 system on 2005-08-19.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
Native POSIX Threads Library by Ulrich Drepper et al
The C stubs add-on version 2.1.2.
GNU Libidn by Simon Josefsson
BIND-8.2.3-T5B
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
|
Where else can I look for solutions to this problem?
-------------------------------------------------------------------------------
See below post, or simply
chmod 755 /
Thanks synt4x! _________________ Matthew Steven
Linux-only desktop since 1998
Graying hair since 2006
Last edited by mattsteven on Thu Aug 25, 2005 8:46 pm; edited 1 time in total |
|
Back to top |
|
|
synt4x n00b
Joined: 20 Jun 2005 Posts: 46
|
Posted: Thu Aug 25, 2005 4:30 pm Post subject: |
|
|
I'm having the exact same problem, using the hardened/x86/2.6 profile. No other programs are behaving oddly. |
|
Back to top |
|
|
synt4x n00b
Joined: 20 Jun 2005 Posts: 46
|
Posted: Thu Aug 25, 2005 4:37 pm Post subject: SOLVED |
|
|
Update: this is yet another problem with the stage tarball having bad permissions. Set permissions on / to '755' to solve this. Luckily I searched for an issue I was having with sudo, and stumbled on it
https://forums.gentoo.org/viewtopic-p-2651927.html#2651927 |
|
Back to top |
|
|
|