From 2c2f282dacc55193621b539c0069abcc669c384e Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 12 May 2017 16:35:23 +0200 Subject: [PATCH] No longer mask systemd-machine-id-commit.service Masking the systemd-machine-id-commit.service causes all kinds of problems with logins (local as well as via ssh, causing sloooooow logins). Nowadays the overlayfs bug also doesn't seem to be present anymore. Closes grml/grml#27 --- etc/grml/fai/config/scripts/GRMLBASE/15-initsetup | 7 ------- 1 file changed, 7 deletions(-) diff --git a/etc/grml/fai/config/scripts/GRMLBASE/15-initsetup b/etc/grml/fai/config/scripts/GRMLBASE/15-initsetup index cabf19b..1e8a824 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/15-initsetup +++ b/etc/grml/fai/config/scripts/GRMLBASE/15-initsetup @@ -16,14 +16,7 @@ systemd_setup() { echo "Enabling user '$USERNAME' for autologin" sed -i "s/\$USERNAME/$USERNAME/" "$target"/etc/systemd/system/getty@tty*.service.d/override.conf - # FIXME - ssh-bootoption is currently broken - # $ROOTCMD systemctl enable ssh-bootoption.service || echo "failed to enable ssh-bootoption.service" - - # fails on overlayfs with - # "Failed to unmount transient /etc/machine-id file in our private namespace: Invalid argument" - $ROOTCMD systemctl mask systemd-machine-id-commit.service || echo "failed to mask $systemd-machine-id-commit.service" $ROOTCMD systemctl preset-all - $ROOTCMD systemctl set-default grml-boot.target } -- 2.1.4