Details
Description
Trying to use memlock with sysyemD on either Ubuntu or Rocky Linux always gives me
[Warning] Failed to lock memory. Errno: 12
even with CAP_IPC_LOCK in place as per MDEV-9095.
The machines I tested on had plenty of memory (128MB buffer pool on a 4GB VM), so it is clearly not just memory size related.
Tested with all 10.6 and 11.3 on Rocky Linux, and 10.1, 10.6 and 11.3 on Ubuntu
Attachments
Issue Links
- causes
-
MDEV-33776 Setting RPM caps on mariadbd instead of mysqld creates permission errors and failing RPM installs
- Closed
- is duplicated by
-
MDEV-33776 Setting RPM caps on mariadbd instead of mysqld creates permission errors and failing RPM installs
- Closed
- relates to
-
MDBF-666 have apparmor enabled on Ubuntu VMs for testing
- Open
-
MDEV-9095 [PATCH] systemd capability for --memlock
- Closed
- links to