I started testing the patches in MariaDB and MySQL. I merged PRs to other packages, but since MariaDB and MySQL share the same user and group config, I want to check if it works fine for them in various combinations.
However I noticed a behavior that surprised me: When installing MariaDB on Fedora 42 or Rawhide, the current scriptlet (now, before the sysusers patch) does not guarantee the user / group ID number anymore. | # rpm -q --scripts mariadb-server | preinstall scriptlet (using /bin/sh): | /usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || : | /usr/sbin/useradd -M -N -g mysql -o -r -d /var/lib/mysql -s /sbin/nologin \ | -c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || : Results in: | Finished unknown scriptlet: mariadb-server-3:10.11.11-1.fc42.x86_64 | Scriptlet output: | Creating group 'mysql' with GID 990. | Creating user 'mysql' (MariaDB) with UID 990 and GID 990. And the UID/GID 27 will remain unused, free. While on Fedora 41 and older it guarantees the UID/GID 27. I checked the Fedora changes for F42 by title and the RPMSuportForSystemdSysusers in full, but none seem to mention this. Do you have any idea what causes it, whether it is an expected change in behavior or whether it is somehow related to your Change? Michal -- Michal Schorm Software Engineer Databases Team Red Hat -- On Mon, Mar 3, 2025 at 7:35 PM Emmanuel Seyman <[email protected]> wrote: > > * Zbigniew Jędrzejewski-Szmek [03/03/2025 10:43] : > > > > https://src.fedoraproject.org/rpms/perl-Net-Statsd-Server/pull-request/1 > > Merged. > > Emmanuel > -- > _______________________________________________ > devel mailing list -- [email protected] > To unsubscribe send an email to [email protected] > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/[email protected] > Do not reply to spam, report it: > https://pagure.io/fedora-infrastructure/new_issue -- _______________________________________________ devel mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
