From 84b4e17eddfc549400903a5d373dad81d5c01fa6 Mon Sep 17 00:00:00 2001 From: Saverio Miroddi Date: Sat, 5 Jun 2021 22:25:08 +0200 Subject: [PATCH] Ubuntu Server: fix the udev* systemd units (re)start Using a glob requires `--all` in order to work as intended, otherwise, it doesn't start units that are not loaded already. --- install-zfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-zfs.sh b/install-zfs.sh index c640e2e..00c0f49 100755 --- a/install-zfs.sh +++ b/install-zfs.sh @@ -920,7 +920,7 @@ function install_host_zfs_packages_UbuntuServer { umount /lib/modules rm -r /lib/modules ln -s /tmp/modules /lib - systemctl start 'systemd-udevd*' + systemctl start --all 'systemd-udevd*' # Additionally, the linux packages for the running kernel are not installed, at least when # the standard installation is performed. Didn't test on the HWE option; if it's not required,