UNCLASSIFIED - NO CUI

Skip to content

#11 pin uid and gid

Joe Roberts requested to merge fix-mariadb-uid-gid into development

What is your Merge about?

Fixes for #11 (closed) where the uid and gid for the mysql user changed between minor versions due to UBI8 update:

registry1.dso.mil/ironbank/opensource/mariadb/mariadb:10.5.11

bash-4.4$ whoami
mysql
bash-4.4$ id
uid=997(mysql) gid=995(mysql) groups=995(mysql)
-----
systemd-coredump:x:999:997:systemd Core Dumper:/:/sbin/nologin
systemd-resolve:x:193:193:systemd Resolver:/:/sbin/nologin
unbound:x:998:996:Unbound DNS resolver:/etc/unbound:/sbin/nologin
mysql:x:997:995::/home/mysql:/bin/bash

registry1.dso.mil/ironbank/opensource/mariadb/mariadb:10.5.13

bash-4.4$ whoami
mysql
bash-4.4$ id mysql
uid=998(mysql) gid=996(mysql) groups=996(mysql)
-----
systemd-coredump:x:999:997:systemd Core Dumper:/:/sbin/nologin
systemd-resolve:x:193:193:systemd Resolver:/:/sbin/nologin
mysql:x:998:996::/home/mysql:/bin/bash
``

Merge request reports