Missing usr.sbin.mysqld AppArmor profile
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
percona-xtradb-cluster-5.6 (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
This package is missing the usr.sbin.mysqld AppArmor profile that ships in mariadb-server-10.0 and mysql-server-5.7.
As a result in case of a pxc being installed on a server that previously had either of those packages installed, /usr/sbin/mysqld is unable to create files in /var/lib/
Sep 15 14:15:56 ubuntu systemd[1]: Starting LSB: Start and stop the mysql (Percona XtraDB Cluster) daemon...
Sep 15 14:15:56 ubuntu mysql[31797]: * Starting MySQL (Percona XtraDB Cluster) database server mysqld
Sep 15 14:15:56 ubuntu /etc/init.
Sep 15 14:15:57 ubuntu kernel: [43130.482986] audit: type=1400 audit(147394895
Sep 15 14:15:57 ubuntu kernel: [43130.483012] audit: type=1400 audit(147394895
Sep 15 14:15:57 ubuntu kernel: [43130.499375] audit: type=1400 audit(147394895
Sep 15 14:15:57 ubuntu mysql[31797]: * The server quit without updating PID file (/var/run/
Sep 15 14:15:57 ubuntu mysql[31797]: ...fail!
Sep 15 14:15:57 ubuntu systemd[1]: mysql.service: Control process exited, code=exited status=1
Sep 15 14:15:57 ubuntu systemd[1]: Failed to start LSB: Start and stop the mysql (Percona XtraDB Cluster) daemon.
Workarounds:
- reload all AA profiles, removing AA protection for /usr/sbin/mysqld
- copy /etc/apparmor.
Permanent fix:
- ship /etc/apparmor.
description: | updated |
Changed in percona-xtradb-cluster-5.6 (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Related to: /bugs.launchpad .net/percona- server/ +bug/1633431
https:/
can be fixed in once I think.