[debian-mysql] Bug#1100575: Bug#1100575: mariadb-server-core: Invalid file '/usr/sbin/mysqld' for capability operation

Otto Kekäläinen otto at debian.org
Sat Apr 12 19:26:12 BST 2025


Roger, so steps to reproduce:

apt update
apt install -y libcap2-bin
apt install -y mariadb-server
...
Setting up mariadb-server-core (1:10.11.11-0+deb12u1) ...
Invalid file '/usr/sbin/mysqld' for capability operation
Setcap failed on /usr/sbin/mysqld, required with --memlock if
insufficent RLIMIT_MEMLOCK
Setting up libperl5.36:amd64 (5.36.0-7+deb12u1) ...

Apt however completes without exit code, so any test for this needs to
specifically test for the capability usage.



More information about the pkg-mysql-maint mailing list