From a208c863cf9f40711a569b12aaea9cc194a4a477 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Wed, 15 Apr 2020 09:47:11 -0400 Subject: [PATCH] systemd: remove SYSTEMD_SULOGIN_FORCE override for emergency.service This is no longer needed since we changed all of Fedora CoreOS to set SYSTEMD_SULOGIN_FORCE=1 for emergency.service in https://github.com/coreos/fedora-coreos-config/commit/eb74f2ea3e9b453902315539e4f327481162c4f8 --- systemd/coreos-installer-generator | 5 ----- 1 file changed, 5 deletions(-) diff --git a/systemd/coreos-installer-generator b/systemd/coreos-installer-generator index 072fee7a3..c66737e53 100755 --- a/systemd/coreos-installer-generator +++ b/systemd/coreos-installer-generator @@ -33,9 +33,4 @@ if [ -n "$(karg coreos.inst.install_dev)" ]; then if ! karg_bool coreos.inst.skip_reboot; then touch /run/coreos-installer-reboot fi - - # Allow emergency.service to execute even with locked root account - mkdir -p /etc/systemd/system/emergency.service.d - echo -e '[Service]\nEnvironment=SYSTEMD_SULOGIN_FORCE=1\n' \ - > /etc/systemd/system/emergency.service.d/override.conf fi