From 88a79fe69a83196c5c92d18863566b64d8dca4e0 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 23 Jul 2025 12:09:03 -0700 Subject: [PATCH] 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 --- tests/check_default_fonts.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/check_default_fonts.pm b/tests/check_default_fonts.pm index bbc89712..fcd487ff 100644 --- a/tests/check_default_fonts.pm +++ b/tests/check_default_fonts.pm @@ -19,6 +19,10 @@ sub run { assert_script_run("dnf -y install fontquery"); # and give the user tty perms for later 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; # On the console, the fonts might differ than in GUI.