MariaDB throwing io_uring_queue_init() ENOMEM error

Normally this can be fixed by changing LimitMEMLOCK=-1 in /etc/systemd/system/mariadb.service.d/override.conf which seems to fail when MariaDB is running inside a container.

My guess is there’s some sort of container constraint somewhere that much be changed at the host level to fix this.

If anyone has ideas about how to fix this, let me know.

Thanks.

This is Ubuntu LTS with all patches installed.

LXD-5.19 snap version.