On Sat, 2005-10-22 at 16:39 +0200, Dave Strydom wrote:
> try run this:
>
> revdep-rebuild --soname libmysqlclient.so.12
^libmysqlclient.so.12^libmysqlclient.so.14, right?
This does a:
emerge --oneshot --nodeps =dev-db/mysql-4.1.14
=dev-perl/DBD-mysql-2.9007 =mail-mta/postfix-2.1.5-r2
=net-dns/pdns-2.9.18
Which failed during the installation phase of postfix, with the same
message as before..
Then I switched to non-enforcing mode, rebuilt as above and now it's ok.
No idea why...
Antoine
>
> On 10/22/05, Antoine Martin <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've upgraded a (gentoo x86 selinux) system from MySQL 4.0 to
> 4.1, and
> since then some of the software that uses mysql-libs refuse to
> run
> without 'shlib_t:file execmod'.
>
> ie: when starting postfix (built and rebuilt with mysql
> support):
> postfix: error while loading shared
> libraries: /usr/lib/libmysqlclient.so.14: cannot restore
> segment prot
> after reloc: Permission denied
>
> And here is the audit message:
> [ 3159.289877] audit(1130082418.254:1085):
> avc: denied { execmod } for
> pid=7905 comm="postfix" name="libmysqlclient.so.14.0.0 "
> dev=md3
> ino=84506 scontext=root:sysadm_r:postfix_postdrop_t
> tcontext=system_u:object_r:shlib_t tclass=file
>
> But other software does not needed it (mysql client, pdns,
> etc) even
> though they are linked to the same library file...
> What gives?
>
> Thanks
> Antoine
>
> --
> [email protected] mailing list
>
>
--
[email protected] mailing list