Add a softfail workaround for #1600823

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-07-13 00:39:53 -07:00
parent 7ba5dfcc94
commit a362ecb2a0
1 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,12 @@ sub run {
# anything at a console. the more advanced upstream 'console'
# handling may help us here if we switch to it
console_loadkeys_us;
# work around #1600823 if it crops up
if (script_run "systemctl is-active NetworkManager.service") {
record_soft_failure "Network is not up (probably 1600823)";
# Try and start service
script_run "systemctl start NetworkManager.service";
}
# check there are no AVCs. We expect an error here: if we don't
# get an error, it means there *are* AVCs.
my $hook_run = 0;