[debian-mysql] Bug#920643: mariadb-server-10.3: mariadb won't start when running inside an lxc container when running on debian testing

Matthew Darwin matthew at mdarwin.ca
Thu Feb 14 20:49:51 GMT 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-mysql-maint/attachments/20190214/b3e6cc9e/attachment.html>


More information about the pkg-mysql-maint mailing list