Excellent, thanks.


On 2019-02-14 10:51 a.m., Faustin Lammler wrote:
Control: forwarded -1 https://github.com/lxc/lxc/pull/2758

Matthew,
I able to reproduce this and I have the exact same error (mariadb log +
apparmor on host).

Your workaround is working but it seems that removing only these 3 lines
is sufficient:
ProtectSystem=full
PrivateDevices=true
ProtectHome=true
You can leave this one:
ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld
Another workaround is to disable completely apparmor:
https://wiki.debian.org/AppArmor/HowToUse#Disable_AppArmor

I think we should wait until some progress comes from
https://github.com/lxc/lxc/pull/2758.

Faustin

Reply via email to