mariadb/support-files
Sergei Golubchik c461188ca6 MDEV-36681 Remove systemd CapabilityBoundingSet as unnecessary
Hopefully, this ends the long story of CapabilityBoundingSet
in mariadb.service.

Started from MDEV-9095 (27e6fd9a59) which was supposed
to let --memlock work without root, but instead of
adding the necessary capability (CAP_IPC_LOCK) by putting it into
AmbientCapabilities it removed all other capabilities,
by putting CAP_IPC_LOCK into CapabilityBoundingSet
(which is the mask of allowed capabilities).

This broke pam plugin, which needed CAP_DAC_OVERRIDE,
it was fixed in MDEV-19878 (dd93028dae) by appending
CAP_DAC_OVERRIDE to CapabilityBoundingSet.

Obviously, memlock still didn't work, this was fixed
in MDEV-33301 (76a27155b4) by moving CAP_IPC_LOCK
to AmbientCapabilities.

Unfortunately, it moved too much (everything), so
MDEV-36229 (85ecb80fa3) fixed it moving CAP_DAC_OVERRIDE
back to CapabilityBoundingSet.

This caused MDEV-36591 (8925877dc8) triggering a bug in old
systemd versions. And it broke pam plugin on CentOS Stream 10,
where CAP_DAC_OVERRIDE alone was apparently not enough.

Let's finally fix this by removing CapabilityBoundingSet
completely and keeping CAP_IPC_LOCK in AmbientCapabilities,
which should've been the correct fix for MDEV-9095 from the start.
2025-04-25 17:48:13 +02:00
..
dtrace Update FSF Address 2019-05-11 21:29:06 +03:00
MacOSX MDEV-22569: Run bin/mariadbd instead of bin/mysqld 2020-06-16 12:59:30 +03:00
policy MDEV-33301 memlock with systemd still not working 2024-03-27 13:36:31 +11:00
rpm MDEV-4151 Mixed MySQL/MariaDB references in RPM upgrade error message 2025-03-05 14:44:14 +02:00
binary-configure.sh MDEV-22569: Run bin/mariadbd instead of bin/mysqld 2020-06-16 12:59:30 +03:00
build-tags Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-07-04 15:31:25 +04:00
ccfilter Fixed compiler warnings and test failures found by buildbot 2016-06-24 02:25:14 +03:00
CMakeLists.txt Revert "use environment file in systemd units for _WSREP_START_POSITION" 2023-08-08 15:46:39 +01:00
compiler_warnings.supp MDEV-18531 : Use WolfSSL instead of YaSSL as "bundled" SSL/encryption library 2019-05-22 13:48:25 +02:00
db.opt Added new states to be able to better diagnose where server hangs. 2014-05-03 19:12:17 +03:00
magic
mariadb.pc.in mariadb.pc: plugindir is used 2021-03-18 14:35:55 +11:00
mariadb.service.in MDEV-36681 Remove systemd CapabilityBoundingSet as unnecessary 2025-04-25 17:48:13 +02:00
mariadb@.service.in MDEV-36681 Remove systemd CapabilityBoundingSet as unnecessary 2025-04-25 17:48:13 +02:00
mysql-log-rotate.sh Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
mysql-multi.server.sh MDEV-22569: Run bin/mariadbd instead of bin/mysqld 2020-06-16 12:59:30 +03:00
mysql.m4 Update FSF Address 2019-05-11 21:29:06 +03:00
mysql.server-sys5.sh MDEV-22569: Run bin/mariadbd instead of bin/mysqld 2020-06-16 12:59:30 +03:00
mysql.server.sh Merge 10.4 into 10.5 2022-06-09 12:22:55 +03:00
mysqld_multi.server.sh MDEV-14900 Upstream 10.3 debian patches 2018-08-12 11:37:42 +02:00
sysusers.conf.in Generate and install sysusers and tmpfiles configuration 2017-12-20 12:54:19 +02:00
tmpfiles.conf.in Generate and install sysusers and tmpfiles configuration 2017-12-20 12:54:19 +02:00
use_galera_new_cluster.conf systemd: mariadb@bootstrap - clear ExecStartPre and ExecStartPost 2020-09-22 15:37:44 +10:00
wsrep.cnf.sh MDEV-17428: Update wsrep_max_ws_rows and wsrep_max_ws_size values in wsrep.cnf.sh 2019-02-21 09:19:18 +02:00
wsrep_notify.sh MDEV-29814: galera_var_notify_ssl_ipv6 causes testing system to hang 2022-12-10 01:11:55 +01:00