Gentoo Archives: gentoo-hardened

From: solar <solar@g.o>
To: gentoo-hardened@l.g.o
Cc: SELinux <selinux@×××××××××.gov>
Subject: Re: [gentoo-hardened] mysql 4.1 requires shlib_t:file execmod?
Date: Sat, 22 Oct 2005 17:33:09
Message-Id: 1130002276.8908.28.camel@alto
In Reply to: Re: [gentoo-hardened] mysql 4.1 requires shlib_t:file execmod? by Antoine Martin
1 On Sat, 2005-10-22 at 17:37 +0100, Antoine Martin wrote:
2 > On Sat, 2005-10-22 at 17:53 +0200, pageexec@××××××××.hu wrote:
3 > > On 22 Oct 2005 at 16:45, Antoine Martin wrote:
4 > > > > what does scanelf -T /usr/lib/libmysqlclient.so.14 report?
5 > > > > if it's not text relocs, then post an strace please.
6 > > > Is scanelf a PaX tool?
7 > >
8 > > app-misc/pax-utils
9 > Thanks,
10 >
11 > scanelf -T /usr/lib/libmysqlclient.so.14
12 > shows nothing at all.
13 > (I also tried adding a -R, even -a shows nothing!)
14
15
16 This should help pinpoint whats up. Post the results of the following
17 commands.
18
19
20 emerge portage-utils pax-utils ; # If you don't already have both.
21
22 #1
23 qlist mysql | scanelf -qtf -
24
25 #2
26 scanelf -a /usr/lib/libmysqlclient.so.14
27
28 #3
29 scanelf -a $(qfile -C $(scanelf -BF%n /usr/lib/libmysqlclient.so.14 \
30 | awk '{print $1}'| tr , ' ' ) | cut -d '(' -f 2 | tr ')' ' ' )
31
32 --
33 solar <solar@g.o>
34 Gentoo Linux
35
36 --
37 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] mysql 4.1 requires shlib_t:file execmod? Antoine Martin <antoine@××××××××××.uk>