[Pkg-zfsonlinux-devel] Bug#923377: zfsutils-linux: Updating zfsutils-linux fails with "filesystem already mounted"

Thomas Herrmann THerrmann at ADwin.de
Wed Feb 27 07:28:31 GMT 2019


Package: zfsutils-linux
Version: 0.7.12-2
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Since some zfs updates a while ago, apt cannot set up zfsutils-linux properly:

apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up zfsutils-linux (0.7.12-2) ...
zfs-import-cache.service is a disabled or a static unit, not starting it.
zfs-import-scan.service is a disabled or a static unit, not starting it.
A dependency job for zfs.target failed. See 'journalctl -xe' for details.
insserv: script ups-monitor: service ups-monitor already provided!
insserv: script ups-monitor: service ups-monitor already provided!
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 (/etc/systemd/system/zfs-mount.service; static; vendor
preset: enabled)
   Active: failed (Result: exit-code) since Wed 2019-02-27 08:22:33 CET; 6ms
ago
  Process: 5237 ExecStart=/sbin/zfs mount tank860 (code=exited,
status=1/FAILURE)
 Main PID: 5237 (code=exited, status=1/FAILURE)

Feb 27 08:22:33 pc-tb-debian systemd[1]: Starting Mount ZFS filesystems...
Feb 27 08:22:33 pc-tb-debian systemd[1]: zfs-mount.service: Main process
exited, code=exited, status=1/FAILURE
Feb 27 08:22:33 pc-tb-debian systemd[1]: zfs-mount.service: Failed with result
'exit-code'.
Feb 27 08:22:33 pc-tb-debian systemd[1]: Failed to start Mount ZFS filesystems.
dpkg: error processing package zfsutils-linux (--configure):
 installed zfsutils-linux package post-installation script subprocess returned
error exit status 1
dpkg: dependency problems prevent configuration of zfs-initramfs:
 zfs-initramfs depends on zfsutils-linux (>= 0.7.12-2); however:
  Package zfsutils-linux is not configured yet.

dpkg: error processing package zfs-initramfs (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of zfs-zed:
 zfs-zed depends on zfsutils-linux (>= 0.7.12-2); however:
  Package zfsutils-linux is not configured yet.

dpkg: error processing package zfs-zed (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 zfsutils-linux
 zfs-initramfs
 zfs-zed
E: Sub-process /usr/bin/dpkg returned an error code (1)

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I am receiving this message for quite a while, I cannot tell when it occurred
first. Maybe in mid-january?

I have a ext4 boot partition, but the main root is on zfs (on tank860).

I have two different zpools:

zpool list
NAME       SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
harddisk  2.72T   816G  1.92T         -     0%    29%  1.00x  ONLINE  -
tank860    928G   706G   222G         -    47%    76%  1.00x  ONLINE  -



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-3-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages zfsutils-linux depends on:
ii  libblkid1        2.33.1-0.1
ii  libc6            2.28-7
ii  libnvpair1linux  0.7.12-2
ii  libuuid1         2.33.1-0.1
ii  libuutil1linux   0.7.12-2
ii  libzfs2linux     0.7.12-2
ii  libzpool2linux   0.7.12-2
ii  python3          3.7.2-1
ii  zlib1g           1:1.2.11.dfsg-1

Versions of packages zfsutils-linux recommends:
ii  lsb-base                10.2018112800
ii  zfs-dkms [zfs-modules]  0.7.12-2
iu  zfs-zed                 0.7.12-2

Versions of packages zfsutils-linux suggests:
ii  nfs-kernel-server  1:1.3.4-2.4
ii  samba-common-bin   2:4.9.4+dfsg-3
iu  zfs-initramfs      0.7.12-2

-- Configuration Files:
/etc/sudoers.d/zfs [Errno 13] Permission denied: '/etc/sudoers.d/zfs'

-- no debconf information


More information about the Pkg-zfsonlinux-devel mailing list