[Pkg-zfsonlinux-devel] Bug#923377: zfsutils-linux: fails to upgrade

Héctor Orón Martínez zumbi at debian.org
Wed Nov 6 09:05:55 GMT 2019


Package: zfsutils-linux
Version: 0.8.2-2
Followup-For: Bug #923377

Dear Maintainer,

  When upgrading zfsutils-linux, systemd tries to restart
  zfs-mount.service, that fails because there's nothing to mount and
  makes the install fail. Do you think ignoring the return code for
  zfs-mount.service could be sane approach to fix this issue?


   || Setting up zfsutils-linux (0.8.2-2) ...
   || Job for zfs-import-cache.service failed because the control process exited with error code.
   || See "systemctl status zfs-import-cache.service" and "journalctl -xe" for details.
   || zfs-import-cache.service couldn't restart.
   || zfs-import-scan.service is a disabled or a static unit not running, not starting it.
   || 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.
   || invoke-rc.d: initscript zfs-mount, action "restart" failed.
   || * zfs-mount.service - Mount ZFS filesystems
   ||    Loaded: loaded (/lib/systemd/system/zfs-mount.service; enabled; vendor preset: enabled)
   ||    Active: failed (Result: exit-code) since Wed 2019-11-06 00:55:20 EST; 4ms ago
   ||      Docs: man:zfs(8)
   ||   Process: 19846 ExecStart=/sbin/zfs mount -a (code=exited, status=1/FAILURE)
   ||  Main PID: 19846 (code=exited, status=1/FAILURE)
   || 
   || Nov 06 00:55:20 zfs-host2 systemd[1]: Starting Mount ZFS filesystems...
   || Nov 06 00:55:20 zfs-host2 zfs[19846]: The ZFS modules are not loaded.
   || Nov 06 00:55:20 zfs-host2 zfs[19846]: Try running '/sbin/modprobe zfs' as root t…hem.
   || Nov 06 00:55:20 zfs-host2 systemd[1]: zfs-mount.service: Main process exited, co…LURE
   || Nov 06 00:55:20 zfs-host2 systemd[1]: zfs-mount.service: Failed with result 'exi…de'.
   || Nov 06 00:55:20 zfs-host2 systemd[1]: Failed to start Mount ZFS filesystems.
   || Hint: Some lines were ellipsized, use -l to show in full.
   || dpkg: error processing package zfsutils-linux (--configure):
   ||  subprocess installed post-installation script returned error exit status 1
   || dpkg: dependency problems prevent configuration of zfs-initramfs:
   ||  zfs-initramfs depends on zfsutils-linux (>= 0.8.2-2); however:
   ||   Package zfsutils-linux is not configured yet.
   || 
   || dpkg: error processing package zfs-initramfs (--configure):
   ||  dependency problems - leaving unconfigured
   || Processing triggers for man-db (2.7.6.1-2) ...
   || Setting up python3-ply (3.9-1) ...
   || dpkg: dependency problems prevent configuration of python3-pyzfs:
   ||  python3-pyzfs depends on zfsutils-linux (= 0.8.2-2); however:
   ||   Package zfsutils-linux is not configured yet.
   || 
   || dpkg: error processing package python3-pyzfs (--configure):
   ||  dependency problems - leaving unconfigured
   || Setting up python3-pycparser (2.17-2) ...
   || Setting up python3-cffi (1.9.1-2) ...
   || Errors were encountered while processing:
   ||  zfsutils-linux
   ||  zfs-initramfs
   ||  python3-pyzfs
   || E: Sub-process /usr/bin/dpkg returned an error code (1)


More information about the Pkg-zfsonlinux-devel mailing list