Mysql 5.1.51 does not start with PAX mprotect enabled with the following error: /usr/bin/my_print_defaults: error while loading shared libraries: /usr/lib/mysql/libmystrings.so.0: cannot make segment writable for relocation: Permission denied I use a hardened profile Reproducible: Always Steps to Reproduce: 1. Get a Gentoo Hardened box 2. Upgrade MySQL to the latest stable. 3. Try to start MySQL. Actual Results: MySQL fails to start with this error: /usr/bin/my_print_defaults: error while loading shared libraries: /usr/lib/mysql/libmystrings.so.0: cannot make segment writable for relocation: Permission denied Expected Results: MySQL starting fine. These commands resolved the problem, I think they should be made by the ebuild: paxctl /usr/bin/my_print_defaults -m paxctl /usr/sbin/mysqld -m
there is definitely something wrong, I upgraded my machine and not have this problem with mysql
Duplicate of #344031
*** This bug has been marked as a duplicate of bug 344031 ***