Had exactly the same problem, but only with a container host running
Ubuntu 21.10. No problem with the container running on a Manjaro host.
LXC runs with version 5.0 on both hosts. LXC container in both cases
running Ubuntu 22.04.

I could enable mariadb to start in the container by setting

 lxc config set <container> limits.kernel.memlock=1048576

On the container "ulimit -l" now shows 1024 (without setting the
parameter the value was 64 which seems to be a default).

Setting limits.kernel.memlock to multiples of 65536, the minimum factor
enabling mariadb to start was 4 (ulimit -l showing 256).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1969160

Title:
  mariadb [ERROR] mysqld got signal 6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mariadb-10.6/+bug/1969160/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to