mysql 4.1 requires shlib_t:file execmod?
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 } forpid=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
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.