Rebooting hangs for 60 seconds if zfsutils-linux is installed (on DigitalOcean, 16.04)
Simos Xenitellis
simos.lists at googlemail.com
Thu May 12 20:28:48 UTC 2016
Hi All,
I noticed that if you
1. create a fresh Ubuntu 16.04 amd64 VPS on DigitalOcean
2. install the package "zfsutils-linux"
3. reboot
then the rebooting hangs for exactly 60 seconds with the message on the console:
A start job is running for udev Waiting Service Initialization (55s / 3min)
That is, the mere installation of zfsutils-linux would cause that wait.
These are the messages from dmesg,
...
[ 2.910863] systemd[1]: Started LVM2 metadata daemon.
[ 2.911668] systemd[1]: Starting Create Static Device Nodes in /dev...
[ 2.934691] systemd[1]: Started Journal Service.
[ 2.980284] EXT4-fs (vda1): re-mounted. Opts: errors=remount-ro
[ 3.033622] systemd-journald[686]: Received request to flush
runtime journal from PID 1
[ 3.033966] iscsi: registered transport (iser)
[ 3.632060] ppdev: user-space parallel port driver
[ 63.681578] zavl: module license 'CDDL' taints kernel.
[ 63.681584] Disabling lock debugging due to kernel taint
[ 63.695493] SPL: Loaded module v0.6.5.6-0ubuntu1
[ 63.754683] ZFS: Loaded module v0.6.5.6-0ubuntu3, ZFS pool version
5000, ZFS filesystem version 5
...
If you uninstall "zfsutils-linux", the reboot does not hang anymore.
My workaround for now has been to disable the zfs target at boot time:
systemctl disable zfs.target
since I am interested in using ZFS in an a pre-allocated file instead
of a block device.
Simos
More information about the Ubuntu-devel-discuss
mailing list