Comment 2 for bug 1862661

Revision history for this message
Ryan Harper (raharper) wrote :

Note, the fact that these services fail isn't new; they've failed for a long time. However, reporting the service failure to apt is new. For example of bionic, we don't see an apt error:

# lsb_release -rd
Description: Ubuntu 18.04.4 LTS
Release: 18.04

# apt-cache policy zfsutils-linux
zfsutils-linux:
  Installed: 0.7.5-1ubuntu16.7
  Candidate: 0.7.5-1ubuntu16.7
  Version table:
 *** 0.7.5-1ubuntu16.7 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.7.5-1ubuntu15 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages

# apt install zfsutils-linux
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libfreetype6
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  libnvpair1linux libuutil1linux libzfs2linux libzpool2linux zfs-zed
Suggested packages:
  zfs-modules | zfs-dkms nfs-kernel-server samba-common-bin zfs-initramfs | zfs-dracut
The following NEW packages will be installed:
  libnvpair1linux libuutil1linux libzfs2linux libzpool2linux zfs-zed zfsutils-linux
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 1168 kB of archives.
After this operation, 4259 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libnvpair1linux amd64 0.7.5-1ubuntu16.7 [45.4 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libuutil1linux amd64 0.7.5-1ubuntu16.7 [48.3 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libzpool2linux amd64 0.7.5-1ubuntu16.7 [547 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libzfs2linux amd64 0.7.5-1ubuntu16.7 [128 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 zfsutils-linux amd64 0.7.5-1ubuntu16.7 [342 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 zfs-zed amd64 0.7.5-1ubuntu16.7 [57.7 kB]
Fetched 1168 kB in 1s (1972 kB/s)
Selecting previously unselected package libnvpair1linux.
(Reading database ... 28654 files and directories currently installed.)
Preparing to unpack .../0-libnvpair1linux_0.7.5-1ubuntu16.7_amd64.deb ...
Unpacking libnvpair1linux (0.7.5-1ubuntu16.7) ...
Selecting previously unselected package libuutil1linux.
Preparing to unpack .../1-libuutil1linux_0.7.5-1ubuntu16.7_amd64.deb ...
Unpacking libuutil1linux (0.7.5-1ubuntu16.7) ...
Selecting previously unselected package libzpool2linux.
Preparing to unpack .../2-libzpool2linux_0.7.5-1ubuntu16.7_amd64.deb ...
Unpacking libzpool2linux (0.7.5-1ubuntu16.7) ...
Selecting previously unselected package libzfs2linux.
Preparing to unpack .../3-libzfs2linux_0.7.5-1ubuntu16.7_amd64.deb ...
Unpacking libzfs2linux (0.7.5-1ubuntu16.7) ...
Selecting previously unselected package zfsutils-linux.
Preparing to unpack .../4-zfsutils-linux_0.7.5-1ubuntu16.7_amd64.deb ...
Unpacking zfsutils-linux (0.7.5-1ubuntu16.7) ...
Selecting previously unselected package zfs-zed.
Preparing to unpack .../5-zfs-zed_0.7.5-1ubuntu16.7_amd64.deb ...
Unpacking zfs-zed (0.7.5-1ubuntu16.7) ...
Setting up libuutil1linux (0.7.5-1ubuntu16.7) ...
Setting up libnvpair1linux (0.7.5-1ubuntu16.7) ...
Setting up libzpool2linux (0.7.5-1ubuntu16.7) ...
Setting up libzfs2linux (0.7.5-1ubuntu16.7) ...
Setting up zfsutils-linux (0.7.5-1ubuntu16.7) ...
Created symlink /etc/systemd/system/zfs-import.target.wants/zfs-import-cache.service → /lib/systemd/system/zfs-import-cache.service.
Created symlink /etc/systemd/system/zfs-mount.service.wants/zfs-import.target → /lib/systemd/system/zfs-import.target.
Created symlink /etc/systemd/system/zfs.target.wants/zfs-import.target → /lib/systemd/system/zfs-import.target.
Created symlink /etc/systemd/system/zfs-mount.service.wants/zfs-load-module.service → /lib/systemd/system/zfs-load-module.service.
Created symlink /etc/systemd/system/zfs.target.wants/zfs-load-module.service → /lib/systemd/system/zfs-load-module.service.
eCreated symlink /etc/systemd/system/zfs-share.service.wants/zfs-mount.service → /lib/systemd/system/zfs-mount.service.
Created symlink /etc/systemd/system/zfs.target.wants/zfs-mount.service → /lib/systemd/system/zfs-mount.service.
Created symlink /etc/systemd/system/zfs.target.wants/zfs-share.service → /lib/systemd/system/zfs-share.service.
Created symlink /etc/systemd/system/multi-user.target.wants/zfs.target → /lib/systemd/system/zfs.target.
zfs-import-scan.service is a disabled or a static unit, not starting it.
Job for zfs-load-module.service failed because the control process exited with error code.
See "systemctl status zfs-load-module.service" and "journalctl -xe" for details.
A dependency job for zfs-import-cache.service failed. See 'journalctl -xe' for details.
Job for zfs-mount.service failed because the control process exited with error code.
See "systemctl status zfs-mount.service" and "journalctl -xe" for details.
Job for zfs-share.service failed because the control process exited with error code.
See "systemctl status zfs-share.service" and "journalctl -xe" for details.
Setting up zfs-zed (0.7.5-1ubuntu16.7) ...
Created symlink /etc/systemd/system/zed.service → /lib/systemd/system/zfs-zed.service.
Created symlink /etc/systemd/system/zfs.target.wants/zfs-zed.service → /lib/systemd/system/zfs-zed.service.
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
root@rharper-b2:~# echo $?
0