Details
-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 10.0.16-galera, 10.0.16
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
MariaDB on Power8 Ubuntu correctly depends on the Advance Toolchain runtime but when trying to install, apparmor prevents mysqld from loading the libraries.
I was under the impression that the /etc/apparmor.d/usr.sbin.mysqld disabled apparmor for MariaDB, and that file is in place on that host, but maybe there's something with the runtime that is interfering.
Snippet from the syslog:
Feb 17 16:36:44 sovmp165 mysqld_safe[31019]: /usr/sbin/mysqld: error while loading shared libraries: libpthread.so.0: cannot open shared object file: Permission denied Feb 17 16:36:44 sovmp165 kernel: [666470.582428] type=1400 audit(1424191004.946:183): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/opt/at8.0/lib64/power8/libpthread-2.20.so" pid=31018 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 Feb 17 16:36:44 sovmp165 kernel: [666470.582457] type=1400 audit(1424191004.946:184): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/opt/at8.0/lib64/libpthread-2.20.so" pid=31018 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 Feb 17 16:36:44 sovmp165 kernel: [666470.582473] type=1400 audit(1424191004.946:185): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/opt/at8.0/etc/ld.so.cache" pid=31018 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 Feb 17 16:36:44 sovmp165 kernel: [666470.582485] type=1400 audit(1424191004.946:186): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/opt/at8.0/lib64/power8/libpthread-2.20.so" pid=31018 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 Feb 17 16:36:44 sovmp165 kernel: [666470.582496] type=1400 audit(1424191004.946:187): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/opt/at8.0/lib64/libpthread-2.20.so" pid=31018 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
I just spun up a new IBM P8 Ubuntu image and tried installing MariaDB and it worked. So it may be that it was a fluke.