From ed9945de719767be26e4f8d78957001707fe831d Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 9 Mar 2018 17:06:01 -0800 Subject: [PATCH] chpasswd -R is blocked by SELinux, sigh... Signed-off-by: Adam Williamson --- tests/_do_install_and_reboot.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/_do_install_and_reboot.pm b/tests/_do_install_and_reboot.pm index 7169d906..c84fff1b 100644 --- a/tests/_do_install_and_reboot.pm +++ b/tests/_do_install_and_reboot.pm @@ -110,6 +110,8 @@ sub run { # if we didn't set a root password during install, set it # now...this is kinda icky, but I don't see a great option if (get_var("INSTALLER_NO_ROOT")) { + # https://bugzilla.redhat.com/show_bug.cgi?id=1553957 + assert_script_run "setenforce 0"; assert_script_run "echo 'root:$root_password' | chpasswd -R /mnt/sysimage"; } type_string "reboot\n";