Gentoo Archives: gentoo-hardened

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

Replies