Gentoo Archives: gentoo-hardened

From: pageexec@××××××××.hu
To: SELinux <selinux@×××××××××.gov>, gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] mysql 4.1 requires shlib_t:file execmod?
Date: Sat, 22 Oct 2005 14:57:17
Message-Id: 435A6E83.15754.A4A6C273@pageexec.freemail.hu
In Reply to: [gentoo-hardened] mysql 4.1 requires shlib_t:file execmod? by Antoine Martin
1 On 22 Oct 2005 at 15:15, Antoine Martin wrote:
2 > I've upgraded a (gentoo x86 selinux) system from MySQL 4.0 to 4.1, and
3 > since then some of the software that uses mysql-libs refuse to run
4 > without 'shlib_t:file execmod'.
5 >
6 > ie: when starting postfix (built and rebuilt with mysql support):
7 > postfix: error while loading shared
8 > libraries: /usr/lib/libmysqlclient.so.14: cannot restore segment prot
9 > after reloc: Permission denied
10
11 the reason might be text relocations, even though they should have
12 been fixed already upstream. see long story at
13
14 http://bugs.gentoo.org/show_bug.cgi?id=42968
15 http://bugs.mysql.com/bug.php?id=11642
16
17 what does scanelf -T /usr/lib/libmysqlclient.so.14 report?
18 if it's not text relocs, then post an strace please.
19
20 --
21 gentoo-hardened@g.o mailing list

Replies

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