1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-08-23 15:45:44 +00:00

Fix check_default_fonts for rootless podman breakage (#2334165)

rootless podman was broken on new installs because shadow-utils
was changed not to assign subuid/subgid ranges to new users by
default, because Security.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2025-07-23 12:09:03 -07:00
parent 859f079333
commit 88a79fe69a

View File

@ -19,6 +19,10 @@ sub run {
assert_script_run("dnf -y install fontquery"); assert_script_run("dnf -y install fontquery");
# and give the user tty perms for later # and give the user tty perms for later
assert_script_run("chmod 666 /dev/${serialdev}"); assert_script_run("chmod 666 /dev/${serialdev}");
# workaround https://bugzilla.redhat.com/show_bug.cgi?id=2334165#c2
# set subuids for qwerty user
assert_script_run("usermod --add-subuids 100000-165535 qwerty");
assert_script_run("usermod --add-subgids 100000-165535 qwerty");
desktop_vt; desktop_vt;
# On the console, the fonts might differ than in GUI. # On the console, the fonts might differ than in GUI.