Package: systemd Version: 244-3 Severity: normal
-- Package-specific info: ZFS filesystems can be mounted through fstab, the zpool needs to be imported before the mount. Currently systemd does not enforce imports before mounts. I demonstrably worked around this using this option in fstab: 'x-systemd.requires=zfs-import-scan.service' I believe more generically all zfs filesystems in fstab should 'want' to be 'after' the following services: zfs-import-scan.service zfs-import-cache.service The three ways I know to have Debian import zpools: - systemd: zfs-import-scan.service - systemd: zfs-import-cache.service - zfs kernel module parameter: zfs_autoimport_disable=0 -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.4.0-1-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1), LANGUAGE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages systemd depends on: ii adduser 3.118 ii libacl1 2.2.53-5 ii libapparmor1 2.13.3-7 ii libaudit1 1:2.8.5-2+b1 ii libblkid1 2.34-0.1 ii libc6 2.29-6 ii libcap2 1:2.27-1 ii libcryptsetup12 2:2.2.2-1 ii libgcrypt20 1.8.5-3 ii libgnutls30 3.6.11.1-2 ii libgpg-error0 1.36-7 ii libidn2-0 2.2.0-2 ii libip4tc2 1.8.4-1 ii libkmod2 26-3 ii liblz4-1 1.9.2-2 ii liblzma5 5.2.4-1+b1 ii libmount1 2.34-0.1 ii libpam0g 1.3.1-5 ii libpcre2-8-0 10.34-7 ii libseccomp2 2.4.2-2 ii libselinux1 3.0-1 ii libsystemd0 244-3 ii mount 2.34-0.1 ii util-linux 2.34-0.1 Versions of packages systemd recommends: ii dbus 1.12.16-2 Versions of packages systemd suggests: ii policykit-1 0.105-26 pn systemd-container <none> Versions of packages systemd is related to: pn dracut <none> ii initramfs-tools 0.135 ii udev 244-3 -- no debconf information
# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> UUID=99bc5718-d81c-11e9-ae7d-84349719f1b2 / ext4 defaults,noatime,errors=remount-ro 0 1 #UUID=cd07d6e4-7442-4661-90b1-b5fc5057b97a /home ext4 defaults 0 2 zpool0/home /home zfs defaults,noatime,x-systemd.requires=zfs-import-scan.service 0 0 UUID=FE5F-67F7 /boot/efi vfat umask=0077 0 1 tmpfs /tmp tmpfs size=25% 0 0 tmpfs /var/tmp tmpfs size=25% 0 0 /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0