From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1ETNOI-0005yX-5L for garchives@archives.gentoo.org; Sat, 22 Oct 2005 17:42:46 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9MHcmvk011535; Sat, 22 Oct 2005 17:38:48 GMT Received: from mail.nagafix.co.uk (mail.nagafix.co.uk [194.145.196.85]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j9MHcm31029800 for ; Sat, 22 Oct 2005 17:38:48 GMT Received: by mail.nagafix.co.uk (Postfix, from userid 65534) id 0676EB70CD; Sun, 23 Oct 2005 00:46:45 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by mail.nagafix.co.uk (Postfix) with ESMTP id 2CF3EB70FD; Sun, 23 Oct 2005 00:46:44 +0100 (BST) Received: from mail.nagafix.co.uk ([127.0.0.1]) by localhost (viper.nagafix.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28000-03; Sun, 23 Oct 2005 00:46:42 +0100 (BST) Received: from [192.168.0.2] (host-87-74-41-228.bulldogdsl.com [87.74.41.228]) by mail.nagafix.co.uk (Postfix) with ESMTP id 1165AB70CD; Sun, 23 Oct 2005 00:46:42 +0100 (BST) Subject: Re: [gentoo-hardened] mysql 4.1 requires shlib_t:file execmod? From: Antoine Martin To: gentoo-hardened@lists.gentoo.org Cc: SELinux In-Reply-To: <1130002276.8908.28.camel@alto> References: <435A6E83.15754.A4A6C273@pageexec.freemail.hu> <435A7CA9.4596.A4DE07A0@pageexec.freemail.hu> <1129999068.31615.69.camel@localhost.localdomain> <1130002276.8908.28.camel@alto> Content-Type: text/plain Organization: Nagafix Ltd Date: Sat, 22 Oct 2005 18:41:42 +0100 Message-Id: <1130002902.5415.5.camel@localhost.localdomain> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-hardened@gentoo.org Reply-to: gentoo-hardened@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at viper.nagafix.co.uk X-Spam-Checker-Version: SpamAssassin 3.0.4-gr0 (2005-06-05) on viper.nagafix.co.uk X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=AWL,DATE_IN_PAST_06_12,TW_QT autolearn=no version=3.0.4-gr0 X-Archives-Salt: e6f4792a-7384-44ad-96bc-0b01fa3082a0 X-Archives-Hash: ca7038881b23f9ca822a9275b5ef8850 On Sat, 2005-10-22 at 13:31 -0400, solar wrote: > On Sat, 2005-10-22 at 17:37 +0100, Antoine Martin wrote: > > On Sat, 2005-10-22 at 17:53 +0200, pageexec@freemail.hu wrote: > > > On 22 Oct 2005 at 16:45, Antoine Martin wrote: > > > > > what does scanelf -T /usr/lib/libmysqlclient.so.14 report? > > > > > if it's not text relocs, then post an strace please. > > > > Is scanelf a PaX tool? > > > > > > app-misc/pax-utils > > Thanks, > > > > scanelf -T /usr/lib/libmysqlclient.so.14 > > shows nothing at all. > > (I also tried adding a -R, even -a shows nothing!) > > > This should help pinpoint whats up. Post the results of the following > commands. > > > emerge portage-utils pax-utils ; # If you don't already have both. I didn't. > > #1 > qlist mysql | scanelf -qtf - TEXTREL /usr/lib/mysql/libmysqlclient.so TEXTREL /usr/lib/mysql/libmysqlclient_r.so TEXTREL /usr/lib/libmysqlclient.so TEXTREL /usr/lib/libmysqlclient.so.14.0.0 TEXTREL /usr/lib/libmysqlclient_r.so TEXTREL /usr/lib/libmysqlclient_r.so.14.0.0 > > #2 > scanelf -a /usr/lib/libmysqlclient.so.14 Nothing here > > #3 > scanelf -a $(qfile -C $(scanelf -BF%n /usr/lib/libmysqlclient.so.14 \ > | awk '{print $1}'| tr , ' ' ) | cut -d '(' -f 2 | tr ')' ' ' ) scanelf: Unknown option > > -- > solar > Gentoo Linux > -- gentoo-hardened@gentoo.org mailing list