correct sysusers.d config format

This was missing a UID entry, so the string intended as the
GECOS was treated as the UID and because it's not a number, that
failed. This made the package uninstallable and broke openQA
tests for all subsequent updates.
This commit is contained in:
Adam Williamson 2025-04-04 23:17:00 -07:00
parent d733c03ec2
commit 3577147bef

View File

@ -890,7 +890,7 @@ cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} \
# Create a sysusers.d config file
# We no longer enforce the hardcoded UID/GID 27.
cat > support-files/%{name}.sysusers.conf << EOF
u mysql 'MySQL Server' %{dbdatadir} -
u mysql - 'MySQL Server' %{dbdatadir} -
EOF
%if %{with galera}