From f2d2aec19325d0200557c13e607d983e71154aec Mon Sep 17 00:00:00 2001 From: Lukas Javorsky Date: Mon, 27 Oct 2025 13:45:19 +0000 Subject: [PATCH] Revert "Removed uidgid pair 27:27 for MySQL/MariaDB" This reverts commit df5ba729d6563460b72c6f17462e5a727aeaccc0. Reason: The MariaDB and MySQL sysusers.d files has to use soft static allocation in order to correctly handle the MariaDB PAM v2 plugin which utilizes setuid-to-root binary "/usr/lib64/mariadb/plugin/auth_pam_tool_dir/auth_pam_tool". Related: RHEL-119790 RHEL-119789 --- uidgid | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/uidgid b/uidgid index 52b4a0b..a1759fd 100644 --- a/uidgid +++ b/uidgid @@ -38,8 +38,7 @@ squid 23 23 /var/spool/squid /dev/null squid # pvm 24 24 /usr/share/pvm3 /bin/bash pvm named 25 25 /var/named /bin/false bind postgres 26 26 /var/lib/pgsql /bin/bash postgresql-server -# Dynamic on new systems, removed Mar2025, can be reused if necessary later -#mysql 27 27 /var/lib/mysql /bin/bash mysql +mysql 27 27 /var/lib/mysql /usr/sbin/nologin mysql nscd 28 28 / /bin/false nscd rpcuser 29 29 /var/lib/nfs /bin/false nfs-utils # Present in https://pagure.io/setup/c/08258e0f748c4f372fcbf1dd7947c132ee0b8a12, probably already unused in 2008