polkit.service is started on-demand via D-Bus activation. This means it
is not a good indicator if a boot was successful. Instead check if
NetworkManager is running as it is started via multi-user.target.
Closes: #934992
fail "found connection timeout in journal for this boot"
fi
- echo "checking that polkitd runs"
- pidof polkitd || fail "polkitd was not running"
+ echo "checking that NetworkManager runs"
+ pidof NetworkManager || fail "NetworkManager was not running"
fi
if [ "$AUTOPKGTEST_REBOOT_MARK" -ge 5 ]; then