From 604a476295cccb79979b05a95456fa9ac78a5030 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 28 Jun 2019 12:09:14 -0700 Subject: [PATCH] Don't setenforce before chpasswd for root This shouldn't be needed any more (the referenced bug was fixed in F28) and doesn't work in non-live installer. Signed-off-by: Adam Williamson --- tests/_do_install_and_reboot.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/_do_install_and_reboot.pm b/tests/_do_install_and_reboot.pm index 1230053a..cce7ec70 100644 --- a/tests/_do_install_and_reboot.pm +++ b/tests/_do_install_and_reboot.pm @@ -132,8 +132,6 @@ sub run { assert_script_run "chroot /mnt/sysimage abrt-auto-reporting 1"; } if (grep {$_ eq 'rootpw'} @actions) { - # 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" if (grep {$_ eq 'reboot'} @actions);