Package: zfs-dkms Version: 0.6.5.9-5 Severity: normal
Dear Maintainer, when I install zfs-dkms on a fresh Debian Stretch install, I get the following error messages: Building initial module for 4.9.0-3-amd64 configure: error: *** Please make sure the kmod spl devel <kernel> package for your *** distribution is installed then try again. If that fails you *** can specify the location of the spl objects with the *** '--with-spl-obj=PATH' option. Error! Bad return status for module build on kernel: 4.9.0-3-amd64 (x86_64) Consult /var/lib/dkms/zfs/0.6.5.9/build/make.log for more information. The mentioned logfile /var/lib/dkms/zfs/0.6.5.9/build/make.log is not available. Way to reproduce: apt-get install zfs-dkms I found out there is no error message when I first install linux-headers-$(uname -r) and then zfs-dkms. I think this is a bug. Regards, Daniel -- Here are the console-messages when installing zfs-dkms: root@debian9test:~# cat /etc/apt/sources.list deb http://ftp.de.debian.org/debian/ stretch main non-free contrib deb-src http://ftp.de.debian.org/debian/ stretch main non-free contrib deb http://security.debian.org/debian-security stretch/updates main contrib non-free deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free # stretch-updates, previously known as 'volatile' deb http://ftp.de.debian.org/debian/ stretch-updates main contrib non-free deb-src http://ftp.de.debian.org/debian/ stretch-updates main contrib non-free root@debian9test:~# root@debian9test:~# apt-get install zfs-dkms Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: binutils cpp cpp-6 dkms fakeroot gcc gcc-6 libasan3 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libfakeroot libgcc-6-dev libgomp1 libisl15 libitm1 liblsan0 libmpc3 libmpfr4 libmpx2 libnvpair1linux libquadmath0 libtsan0 libubsan0 libuutil1linux libzfs2linux libzpool2linux linux-compiler-gcc-6-x86 linux-headers-4.9.0-3-amd64 linux-headers-4.9.0-3-common linux-headers-amd64 linux-kbuild-4.9 linux-libc-dev make manpages-dev patch spl spl-dkms sudo zfs-zed zfsutils-linux Suggested packages: binutils-doc cpp-doc gcc-6-locales python3-apport menu gcc-multilib autoconf automake libtool flex bison gdb gcc-doc gcc-6-multilib gcc-6-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan3-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg glibc-doc make-doc ed diffutils-doc nfs-kernel-server samba-common-bin zfs-initramfs | zfs-dracut The following NEW packages will be installed: binutils cpp cpp-6 dkms fakeroot gcc gcc-6 libasan3 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libfakeroot libgcc-6-dev libgomp1 libisl15 libitm1 liblsan0 libmpc3 libmpfr4 libmpx2 libnvpair1linux libquadmath0 libtsan0 libubsan0 libuutil1linux libzfs2linux libzpool2linux linux-compiler-gcc-6-x86 linux-headers-4.9.0-3-amd64 linux-headers-4.9.0-3-common linux-headers-amd64 linux-kbuild-4.9 linux-libc-dev make manpages-dev patch spl spl-dkms sudo zfs-dkms zfs-zed zfsutils-linux 0 upgraded, 44 newly installed, 0 to remove and 0 not upgraded. Need to get 41.1 MB of archives. After this operation, 189 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://security.debian.org/debian-security stretch/updates/main amd64 libc-dev-bin amd64 2.24-11+deb9u1 [259 kB] Get:2 http://ftp.de.debian.org/debian stretch/main amd64 libisl15 amd64 0.18-1 [564 kB] Get:3 http://security.debian.org/debian-security stretch/updates/main amd64 linux-libc-dev amd64 4.9.30-2+deb9u2 [1,252 kB] Get:4 http://ftp.de.debian.org/debian stretch/main amd64 libmpfr4 amd64 3.1.5-1 [556 kB] Get:5 http://ftp.de.debian.org/debian stretch/main amd64 libmpc3 amd64 1.0.3-1+b2 [39.9 kB] Get:6 http://ftp.de.debian.org/debian stretch/main amd64 cpp-6 amd64 6.3.0-18 [6,579 kB] Get:7 http://security.debian.org/debian-security stretch/updates/main amd64 libc6-dev amd64 2.24-11+deb9u1 [2,365 kB] Get:8 http://ftp.de.debian.org/debian stretch/main amd64 cpp amd64 4:6.3.0-4 [18.7 kB] Get:9 http://ftp.de.debian.org/debian stretch/main amd64 libcc1-0 amd64 6.3.0-18 [30.6 kB] Get:10 http://ftp.de.debian.org/debian stretch/main amd64 binutils amd64 2.28-5 [3,770 kB] Get:11 http://ftp.de.debian.org/debian stretch/main amd64 libgomp1 amd64 6.3.0-18 [73.2 kB] Get:12 http://ftp.de.debian.org/debian stretch/main amd64 libitm1 amd64 6.3.0-18 [27.4 kB] Get:13 http://ftp.de.debian.org/debian stretch/main amd64 libatomic1 amd64 6.3.0-18 [8,920 B] Get:14 http://ftp.de.debian.org/debian stretch/main amd64 libasan3 amd64 6.3.0-18 [311 kB] Get:15 http://ftp.de.debian.org/debian stretch/main amd64 liblsan0 amd64 6.3.0-18 [115 kB] Get:16 http://ftp.de.debian.org/debian stretch/main amd64 libtsan0 amd64 6.3.0-18 [257 kB] Get:17 http://ftp.de.debian.org/debian stretch/main amd64 libubsan0 amd64 6.3.0-18 [106 kB] Get:18 http://ftp.de.debian.org/debian stretch/main amd64 libcilkrts5 amd64 6.3.0-18 [40.4 kB] Get:19 http://ftp.de.debian.org/debian stretch/main amd64 libmpx2 amd64 6.3.0-18 [11.2 kB] Get:20 http://ftp.de.debian.org/debian stretch/main amd64 libquadmath0 amd64 6.3.0-18 [131 kB] Get:21 http://security.debian.org/debian-security stretch/updates/main amd64 linux-compiler-gcc-6-x86 amd64 4.9.30-2+deb9u2 [462 kB] Get:22 http://security.debian.org/debian-security stretch/updates/main amd64 linux-headers-4.9.0-3-common all 4.9.30-2+deb9u2 [7,470 kB] Get:23 http://ftp.de.debian.org/debian stretch/main amd64 libgcc-6-dev amd64 6.3.0-18 [2,297 kB] Get:24 http://ftp.de.debian.org/debian stretch/main amd64 gcc-6 amd64 6.3.0-18 [6,895 kB] Get:25 http://ftp.de.debian.org/debian stretch/main amd64 gcc amd64 4:6.3.0-4 [5,196 B] Get:26 http://ftp.de.debian.org/debian stretch/main amd64 make amd64 4.1-9.1 [302 kB] Get:27 http://ftp.de.debian.org/debian stretch/main amd64 patch amd64 2.7.5-1+b2 [112 kB] Get:28 http://ftp.de.debian.org/debian stretch/main amd64 dkms all 2.3-2 [74.8 kB] Get:29 http://ftp.de.debian.org/debian stretch/main amd64 spl-dkms all 0.6.5.9-1 [385 kB] Get:30 http://ftp.de.debian.org/debian stretch/contrib amd64 zfs-dkms all 0.6.5.9-5 [1,080 kB] Get:31 http://ftp.de.debian.org/debian stretch/main amd64 libfakeroot amd64 1.21-3.1 [45.7 kB] Get:32 http://ftp.de.debian.org/debian stretch/main amd64 fakeroot amd64 1.21-3.1 [85.6 kB] Get:33 http://ftp.de.debian.org/debian stretch/contrib amd64 libuutil1linux amd64 0.6.5.9-5 [47.5 kB] Get:34 http://ftp.de.debian.org/debian stretch/contrib amd64 libnvpair1linux amd64 0.6.5.9-5 [44.4 kB] Get:35 http://ftp.de.debian.org/debian stretch/contrib amd64 libzpool2linux amd64 0.6.5.9-5 [401 kB] Get:36 http://ftp.de.debian.org/debian stretch/contrib amd64 libzfs2linux amd64 0.6.5.9-5 [126 kB] Get:37 http://ftp.de.debian.org/debian stretch/main amd64 linux-headers-amd64 amd64 4.9+80 [5,820 B] Get:38 http://ftp.de.debian.org/debian stretch/main amd64 manpages-dev all 4.10-2 [2,145 kB] Get:39 http://ftp.de.debian.org/debian stretch/main amd64 spl amd64 0.6.5.9-1 [19.6 kB] Get:40 http://ftp.de.debian.org/debian stretch/main amd64 sudo amd64 1.8.19p1-2.1 [1,055 kB] Get:41 http://ftp.de.debian.org/debian stretch/contrib amd64 zfsutils-linux amd64 0.6.5.9-5 [335 kB] Get:42 http://ftp.de.debian.org/debian stretch/contrib amd64 zfs-zed amd64 0.6.5.9-5 [43.2 kB] Get:43 http://security.debian.org/debian-security stretch/updates/main amd64 linux-kbuild-4.9 amd64 4.9.30-2+deb9u2 [668 kB] Get:44 http://security.debian.org/debian-security stretch/updates/main amd64 linux-headers-4.9.0-3-amd64 amd64 4.9.30-2+deb9u2 [448 kB] Fetched 41.1 MB in 4s (9,473 kB/s) Extracting templates from packages: 100% Preconfiguring packages ... Package configuration +-----------------------------------------------------------------------------------------¦ Configuring zfs-dkms +-----------------------------------------------------------------------------------------+ ¦ ¦ ¦ Licenses of ZFS and Linux are incompatible ¦ ¦ ¦ ¦ ZFS is licensed under the Common Development and Distribution License (CDDL), and the Linux kernel is licensed under the GNU General Public License Version 2 (GPL-2). While both are free open source ¦ ¦ licenses they are restrictive licenses. The combination of them causes problems because it prevents using pieces of code exclusively available under one license with pieces of code exclusively ¦ ¦ available under the other in the same binary. ¦ ¦ ¦ ¦ You are going to build ZFS using DKMS in which way they are not going to be built into one monolithic binary. Please be aware that distributing both of the binaries in the same media (disk images, ¦ ¦ virtual appliances, etc) may lead to infringing. ¦ ¦ ¦ ¦ <Ok> ¦ ¦ ¦ +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ Selecting previously unselected package libisl15:amd64. (Reading database ... 27493 files and directories currently installed.) Preparing to unpack .../00-libisl15_0.18-1_amd64.deb ... Unpacking libisl15:amd64 (0.18-1) ... Selecting previously unselected package libmpfr4:amd64. Preparing to unpack .../01-libmpfr4_3.1.5-1_amd64.deb ... Unpacking libmpfr4:amd64 (3.1.5-1) ... Selecting previously unselected package libmpc3:amd64. Preparing to unpack .../02-libmpc3_1.0.3-1+b2_amd64.deb ... Unpacking libmpc3:amd64 (1.0.3-1+b2) ... Selecting previously unselected package cpp-6. Preparing to unpack .../03-cpp-6_6.3.0-18_amd64.deb ... Unpacking cpp-6 (6.3.0-18) ... Selecting previously unselected package cpp. Preparing to unpack .../04-cpp_4%3a6.3.0-4_amd64.deb ... Unpacking cpp (4:6.3.0-4) ... Selecting previously unselected package libcc1-0:amd64. Preparing to unpack .../05-libcc1-0_6.3.0-18_amd64.deb ... Unpacking libcc1-0:amd64 (6.3.0-18) ... Selecting previously unselected package binutils. Preparing to unpack .../06-binutils_2.28-5_amd64.deb ... Unpacking binutils (2.28-5) ... Selecting previously unselected package libgomp1:amd64. Preparing to unpack .../07-libgomp1_6.3.0-18_amd64.deb ... Unpacking libgomp1:amd64 (6.3.0-18) ... Selecting previously unselected package libitm1:amd64. Preparing to unpack .../08-libitm1_6.3.0-18_amd64.deb ... Unpacking libitm1:amd64 (6.3.0-18) ... Selecting previously unselected package libatomic1:amd64. Preparing to unpack .../09-libatomic1_6.3.0-18_amd64.deb ... Unpacking libatomic1:amd64 (6.3.0-18) ... Selecting previously unselected package libasan3:amd64. Preparing to unpack .../10-libasan3_6.3.0-18_amd64.deb ... Unpacking libasan3:amd64 (6.3.0-18) ... Selecting previously unselected package liblsan0:amd64. Preparing to unpack .../11-liblsan0_6.3.0-18_amd64.deb ... Unpacking liblsan0:amd64 (6.3.0-18) ... Selecting previously unselected package libtsan0:amd64. Preparing to unpack .../12-libtsan0_6.3.0-18_amd64.deb ... Unpacking libtsan0:amd64 (6.3.0-18) ... Selecting previously unselected package libubsan0:amd64. Preparing to unpack .../13-libubsan0_6.3.0-18_amd64.deb ... Unpacking libubsan0:amd64 (6.3.0-18) ... Selecting previously unselected package libcilkrts5:amd64. Preparing to unpack .../14-libcilkrts5_6.3.0-18_amd64.deb ... Unpacking libcilkrts5:amd64 (6.3.0-18) ... Selecting previously unselected package libmpx2:amd64. Preparing to unpack .../15-libmpx2_6.3.0-18_amd64.deb ... Unpacking libmpx2:amd64 (6.3.0-18) ... Selecting previously unselected package libquadmath0:amd64. Preparing to unpack .../16-libquadmath0_6.3.0-18_amd64.deb ... Unpacking libquadmath0:amd64 (6.3.0-18) ... Selecting previously unselected package libgcc-6-dev:amd64. Preparing to unpack .../17-libgcc-6-dev_6.3.0-18_amd64.deb ... Unpacking libgcc-6-dev:amd64 (6.3.0-18) ... Selecting previously unselected package gcc-6. Preparing to unpack .../18-gcc-6_6.3.0-18_amd64.deb ... Unpacking gcc-6 (6.3.0-18) ... Selecting previously unselected package gcc. Preparing to unpack .../19-gcc_4%3a6.3.0-4_amd64.deb ... Unpacking gcc (4:6.3.0-4) ... Selecting previously unselected package make. Preparing to unpack .../20-make_4.1-9.1_amd64.deb ... Unpacking make (4.1-9.1) ... Selecting previously unselected package patch. Preparing to unpack .../21-patch_2.7.5-1+b2_amd64.deb ... Unpacking patch (2.7.5-1+b2) ... Selecting previously unselected package dkms. Preparing to unpack .../22-dkms_2.3-2_all.deb ... Unpacking dkms (2.3-2) ... Selecting previously unselected package libc-dev-bin. Preparing to unpack .../23-libc-dev-bin_2.24-11+deb9u1_amd64.deb ... Unpacking libc-dev-bin (2.24-11+deb9u1) ... Selecting previously unselected package linux-libc-dev:amd64. Preparing to unpack .../24-linux-libc-dev_4.9.30-2+deb9u2_amd64.deb ... Unpacking linux-libc-dev:amd64 (4.9.30-2+deb9u2) ... Selecting previously unselected package libc6-dev:amd64. Preparing to unpack .../25-libc6-dev_2.24-11+deb9u1_amd64.deb ... Unpacking libc6-dev:amd64 (2.24-11+deb9u1) ... Selecting previously unselected package spl-dkms. Preparing to unpack .../26-spl-dkms_0.6.5.9-1_all.deb ... Unpacking spl-dkms (0.6.5.9-1) ... Setting up libisl15:amd64 (0.18-1) ... Setting up libmpfr4:amd64 (3.1.5-1) ... Setting up libmpc3:amd64 (1.0.3-1+b2) ... Setting up cpp-6 (6.3.0-18) ... Setting up cpp (4:6.3.0-4) ... Setting up libcc1-0:amd64 (6.3.0-18) ... Setting up binutils (2.28-5) ... Setting up libgomp1:amd64 (6.3.0-18) ... Setting up libitm1:amd64 (6.3.0-18) ... Setting up libatomic1:amd64 (6.3.0-18) ... Setting up libasan3:amd64 (6.3.0-18) ... Setting up liblsan0:amd64 (6.3.0-18) ... Setting up libtsan0:amd64 (6.3.0-18) ... Setting up libubsan0:amd64 (6.3.0-18) ... Setting up libcilkrts5:amd64 (6.3.0-18) ... Setting up libmpx2:amd64 (6.3.0-18) ... Setting up libquadmath0:amd64 (6.3.0-18) ... Setting up libgcc-6-dev:amd64 (6.3.0-18) ... Setting up gcc-6 (6.3.0-18) ... Setting up gcc (4:6.3.0-4) ... Setting up make (4.1-9.1) ... Setting up patch (2.7.5-1+b2) ... Setting up dkms (2.3-2) ... Setting up libc-dev-bin (2.24-11+deb9u1) ... Setting up linux-libc-dev:amd64 (4.9.30-2+deb9u2) ... Setting up libc6-dev:amd64 (2.24-11+deb9u1) ... Setting up spl-dkms (0.6.5.9-1) ... Loading new spl-0.6.5.9 DKMS files... Building for 4.9.0-3-amd64 Module build for kernel 4.9.0-3-amd64 was skipped since the kernel headers for this kernel does not seem to be installed. Selecting previously unselected package zfs-dkms. (Reading database ... 29836 files and directories currently installed.) Preparing to unpack .../00-zfs-dkms_0.6.5.9-5_all.deb ... Unpacking zfs-dkms (0.6.5.9-5) ... Selecting previously unselected package libfakeroot:amd64. Preparing to unpack .../01-libfakeroot_1.21-3.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.21-3.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../02-fakeroot_1.21-3.1_amd64.deb ... Unpacking fakeroot (1.21-3.1) ... Selecting previously unselected package libuutil1linux. Preparing to unpack .../03-libuutil1linux_0.6.5.9-5_amd64.deb ... Unpacking libuutil1linux (0.6.5.9-5) ... Selecting previously unselected package libnvpair1linux. Preparing to unpack .../04-libnvpair1linux_0.6.5.9-5_amd64.deb ... Unpacking libnvpair1linux (0.6.5.9-5) ... Selecting previously unselected package libzpool2linux. Preparing to unpack .../05-libzpool2linux_0.6.5.9-5_amd64.deb ... Unpacking libzpool2linux (0.6.5.9-5) ... Selecting previously unselected package libzfs2linux. Preparing to unpack .../06-libzfs2linux_0.6.5.9-5_amd64.deb ... Unpacking libzfs2linux (0.6.5.9-5) ... Selecting previously unselected package linux-compiler-gcc-6-x86. Preparing to unpack .../07-linux-compiler-gcc-6-x86_4.9.30-2+deb9u2_amd64.deb ... Unpacking linux-compiler-gcc-6-x86 (4.9.30-2+deb9u2) ... Selecting previously unselected package linux-headers-4.9.0-3-common. Preparing to unpack .../08-linux-headers-4.9.0-3-common_4.9.30-2+deb9u2_all.deb ... Unpacking linux-headers-4.9.0-3-common (4.9.30-2+deb9u2) ... Selecting previously unselected package linux-kbuild-4.9. Preparing to unpack .../09-linux-kbuild-4.9_4.9.30-2+deb9u2_amd64.deb ... Unpacking linux-kbuild-4.9 (4.9.30-2+deb9u2) ... Selecting previously unselected package linux-headers-4.9.0-3-amd64. Preparing to unpack .../10-linux-headers-4.9.0-3-amd64_4.9.30-2+deb9u2_amd64.deb ... Unpacking linux-headers-4.9.0-3-amd64 (4.9.30-2+deb9u2) ... Selecting previously unselected package linux-headers-amd64. Preparing to unpack .../11-linux-headers-amd64_4.9+80_amd64.deb ... Unpacking linux-headers-amd64 (4.9+80) ... Selecting previously unselected package manpages-dev. Preparing to unpack .../12-manpages-dev_4.10-2_all.deb ... Unpacking manpages-dev (4.10-2) ... Selecting previously unselected package spl. Preparing to unpack .../13-spl_0.6.5.9-1_amd64.deb ... Unpacking spl (0.6.5.9-1) ... Selecting previously unselected package sudo. Preparing to unpack .../14-sudo_1.8.19p1-2.1_amd64.deb ... Unpacking sudo (1.8.19p1-2.1) ... Selecting previously unselected package zfsutils-linux. Preparing to unpack .../15-zfsutils-linux_0.6.5.9-5_amd64.deb ... Unpacking zfsutils-linux (0.6.5.9-5) ... Selecting previously unselected package zfs-zed. Preparing to unpack .../16-zfs-zed_0.6.5.9-5_amd64.deb ... Unpacking zfs-zed (0.6.5.9-5) ... Setting up sudo (1.8.19p1-2.1) ... Setting up libuutil1linux (0.6.5.9-5) ... Setting up linux-headers-4.9.0-3-common (4.9.30-2+deb9u2) ... Setting up linux-compiler-gcc-6-x86 (4.9.30-2+deb9u2) ... Setting up libnvpair1linux (0.6.5.9-5) ... Setting up linux-kbuild-4.9 (4.9.30-2+deb9u2) ... Processing triggers for libc-bin (2.24-11+deb9u1) ... Setting up spl (0.6.5.9-1) ... Setting up libfakeroot:amd64 (1.21-3.1) ... Processing triggers for systemd (232-25) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up zfs-dkms (0.6.5.9-5) ... Loading new zfs-0.6.5.9 DKMS files... Building for 4.9.0-3-amd64 Building initial module for 4.9.0-3-amd64 configure: error: *** Please make sure the kmod spl devel <kernel> package for your *** distribution is installed then try again. If that fails you *** can specify the location of the spl objects with the *** '--with-spl-obj=PATH' option. Error! Bad return status for module build on kernel: 4.9.0-3-amd64 (x86_64) Consult /var/lib/dkms/zfs/0.6.5.9/build/make.log for more information. Setting up manpages-dev (4.10-2) ... Setting up libzpool2linux (0.6.5.9-5) ... Setting up fakeroot (1.21-3.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Setting up linux-headers-4.9.0-3-amd64 (4.9.30-2+deb9u2) ... /etc/kernel/header_postinst.d/dkms: cp: cannot stat '/var/lib/dkms/spl/0.6.5.9/build/spl_config.h': No such file or directory cp: cannot stat '/var/lib/dkms/spl/0.6.5.9/build/module/Module.symvers': No such file or directory Setting up libzfs2linux (0.6.5.9-5) ... Setting up linux-headers-amd64 (4.9+80) ... Setting up zfsutils-linux (0.6.5.9-5) ... Created symlink /etc/systemd/system/zfs-mount.service.wants/zfs-import-cache.service ? /lib/systemd/system/zfs-import-cache.service. Created symlink /etc/systemd/system/zfs.target.wants/zfs-import-cache.service ? /lib/systemd/system/zfs-import-cache.service. Created 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-mount.service failed because the control process exited with error code. See "systemctl status zfs-mount.service" and "journalctl -xe" for details. zfs-mount.service couldn't start. 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. zfs-share.service couldn't start. Setting up zfs-zed (0.6.5.9-5) ... 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 libc-bin (2.24-11+deb9u1) ... root@debian9test:~# root@debian9test:~# root@debian9test:~# cat /var/lib/dkms/zfs/0.6.5.9/build/make.log cat: /var/lib/dkms/zfs/0.6.5.9/build/make.log: No such file or directory root@debian9test:~# -- And here are the console-messages when installing linux-headers-$(uname -r) and then zfs-dkms: root@debian9test:~# apt install linux-headers-$(uname -r) Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: binutils cpp-6 gcc-6 libasan3 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libgcc-6-dev libgomp1 libisl15 libitm1 liblsan0 libmpc3 libmpfr4 libmpx2 libquadmath0 libtsan0 libubsan0 linux-compiler-gcc-6-x86 linux-headers-4.9.0-3-common linux-kbuild-4.9 linux-libc-dev manpages-dev Suggested packages: binutils-doc gcc-6-locales gcc-6-multilib gcc-6-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan3-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg glibc-doc The following NEW packages will be installed: binutils cpp-6 gcc-6 libasan3 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libgcc-6-dev libgomp1 libisl15 libitm1 liblsan0 libmpc3 libmpfr4 libmpx2 libquadmath0 libtsan0 libubsan0 linux-compiler-gcc-6-x86 linux-headers-4.9.0-3-amd64 linux-headers-4.9.0-3-common linux-kbuild-4.9 linux-libc-dev manpages-dev 0 upgraded, 26 newly installed, 0 to remove and 0 not upgraded. Need to get 36.9 MB of archives. After this operation, 169 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://security.debian.org/debian-security stretch/updates/main amd64 libc-dev-bin amd64 2.24-11+deb9u1 [259 kB] Get:2 http://ftp.de.debian.org/debian stretch/main amd64 binutils amd64 2.28-5 [3,770 kB] Get:3 http://security.debian.org/debian-security stretch/updates/main amd64 linux-libc-dev amd64 4.9.30-2+deb9u2 [1,252 kB] Get:4 http://security.debian.org/debian-security stretch/updates/main amd64 libc6-dev amd64 2.24-11+deb9u1 [2,365 kB] Get:5 http://security.debian.org/debian-security stretch/updates/main amd64 linux-compiler-gcc-6-x86 amd64 4.9.30-2+deb9u2 [462 kB] Get:6 http://security.debian.org/debian-security stretch/updates/main amd64 linux-headers-4.9.0-3-common all 4.9.30-2+deb9u2 [7,470 kB] Get:7 http://ftp.de.debian.org/debian stretch/main amd64 libisl15 amd64 0.18-1 [564 kB] Get:8 http://ftp.de.debian.org/debian stretch/main amd64 libmpfr4 amd64 3.1.5-1 [556 kB] Get:9 http://ftp.de.debian.org/debian stretch/main amd64 libmpc3 amd64 1.0.3-1+b2 [39.9 kB] Get:10 http://ftp.de.debian.org/debian stretch/main amd64 cpp-6 amd64 6.3.0-18 [6,579 kB] Get:11 http://ftp.de.debian.org/debian stretch/main amd64 libcc1-0 amd64 6.3.0-18 [30.6 kB] Get:12 http://ftp.de.debian.org/debian stretch/main amd64 libgomp1 amd64 6.3.0-18 [73.2 kB] Get:13 http://ftp.de.debian.org/debian stretch/main amd64 libitm1 amd64 6.3.0-18 [27.4 kB] Get:14 http://ftp.de.debian.org/debian stretch/main amd64 libatomic1 amd64 6.3.0-18 [8,920 B] Get:15 http://ftp.de.debian.org/debian stretch/main amd64 libasan3 amd64 6.3.0-18 [311 kB] Get:16 http://ftp.de.debian.org/debian stretch/main amd64 liblsan0 amd64 6.3.0-18 [115 kB] Get:17 http://ftp.de.debian.org/debian stretch/main amd64 libtsan0 amd64 6.3.0-18 [257 kB] Get:18 http://ftp.de.debian.org/debian stretch/main amd64 libubsan0 amd64 6.3.0-18 [106 kB] Get:19 http://ftp.de.debian.org/debian stretch/main amd64 libcilkrts5 amd64 6.3.0-18 [40.4 kB] Get:20 http://ftp.de.debian.org/debian stretch/main amd64 libmpx2 amd64 6.3.0-18 [11.2 kB] Get:21 http://ftp.de.debian.org/debian stretch/main amd64 libquadmath0 amd64 6.3.0-18 [131 kB] Get:22 http://ftp.de.debian.org/debian stretch/main amd64 libgcc-6-dev amd64 6.3.0-18 [2,297 kB] Get:23 http://ftp.de.debian.org/debian stretch/main amd64 gcc-6 amd64 6.3.0-18 [6,895 kB] Get:24 http://ftp.de.debian.org/debian stretch/main amd64 manpages-dev all 4.10-2 [2,145 kB] Get:25 http://security.debian.org/debian-security stretch/updates/main amd64 linux-kbuild-4.9 amd64 4.9.30-2+deb9u2 [668 kB] Get:26 http://security.debian.org/debian-security stretch/updates/main amd64 linux-headers-4.9.0-3-amd64 amd64 4.9.30-2+deb9u2 [448 kB] Fetched 36.9 MB in 4s (9,204 kB/s) Selecting previously unselected package binutils. (Reading database ... 27493 files and directories currently installed.) Preparing to unpack .../00-binutils_2.28-5_amd64.deb ... Unpacking binutils (2.28-5) ... Selecting previously unselected package libisl15:amd64. Preparing to unpack .../01-libisl15_0.18-1_amd64.deb ... Unpacking libisl15:amd64 (0.18-1) ... Selecting previously unselected package libmpfr4:amd64. Preparing to unpack .../02-libmpfr4_3.1.5-1_amd64.deb ... Unpacking libmpfr4:amd64 (3.1.5-1) ... Selecting previously unselected package libmpc3:amd64. Preparing to unpack .../03-libmpc3_1.0.3-1+b2_amd64.deb ... Unpacking libmpc3:amd64 (1.0.3-1+b2) ... Selecting previously unselected package cpp-6. Preparing to unpack .../04-cpp-6_6.3.0-18_amd64.deb ... Unpacking cpp-6 (6.3.0-18) ... Selecting previously unselected package libcc1-0:amd64. Preparing to unpack .../05-libcc1-0_6.3.0-18_amd64.deb ... Unpacking libcc1-0:amd64 (6.3.0-18) ... Selecting previously unselected package libgomp1:amd64. Preparing to unpack .../06-libgomp1_6.3.0-18_amd64.deb ... Unpacking libgomp1:amd64 (6.3.0-18) ... Selecting previously unselected package libitm1:amd64. Preparing to unpack .../07-libitm1_6.3.0-18_amd64.deb ... Unpacking libitm1:amd64 (6.3.0-18) ... Selecting previously unselected package libatomic1:amd64. Preparing to unpack .../08-libatomic1_6.3.0-18_amd64.deb ... Unpacking libatomic1:amd64 (6.3.0-18) ... Selecting previously unselected package libasan3:amd64. Preparing to unpack .../09-libasan3_6.3.0-18_amd64.deb ... Unpacking libasan3:amd64 (6.3.0-18) ... Selecting previously unselected package liblsan0:amd64. Preparing to unpack .../10-liblsan0_6.3.0-18_amd64.deb ... Unpacking liblsan0:amd64 (6.3.0-18) ... Selecting previously unselected package libtsan0:amd64. Preparing to unpack .../11-libtsan0_6.3.0-18_amd64.deb ... Unpacking libtsan0:amd64 (6.3.0-18) ... Selecting previously unselected package libubsan0:amd64. Preparing to unpack .../12-libubsan0_6.3.0-18_amd64.deb ... Unpacking libubsan0:amd64 (6.3.0-18) ... Selecting previously unselected package libcilkrts5:amd64. Preparing to unpack .../13-libcilkrts5_6.3.0-18_amd64.deb ... Unpacking libcilkrts5:amd64 (6.3.0-18) ... Selecting previously unselected package libmpx2:amd64. Preparing to unpack .../14-libmpx2_6.3.0-18_amd64.deb ... Unpacking libmpx2:amd64 (6.3.0-18) ... Selecting previously unselected package libquadmath0:amd64. Preparing to unpack .../15-libquadmath0_6.3.0-18_amd64.deb ... Unpacking libquadmath0:amd64 (6.3.0-18) ... Selecting previously unselected package libgcc-6-dev:amd64. Preparing to unpack .../16-libgcc-6-dev_6.3.0-18_amd64.deb ... Unpacking libgcc-6-dev:amd64 (6.3.0-18) ... Selecting previously unselected package gcc-6. Preparing to unpack .../17-gcc-6_6.3.0-18_amd64.deb ... Unpacking gcc-6 (6.3.0-18) ... Selecting previously unselected package libc-dev-bin. Preparing to unpack .../18-libc-dev-bin_2.24-11+deb9u1_amd64.deb ... Unpacking libc-dev-bin (2.24-11+deb9u1) ... Selecting previously unselected package linux-libc-dev:amd64. Preparing to unpack .../19-linux-libc-dev_4.9.30-2+deb9u2_amd64.deb ... Unpacking linux-libc-dev:amd64 (4.9.30-2+deb9u2) ... Selecting previously unselected package libc6-dev:amd64. Preparing to unpack .../20-libc6-dev_2.24-11+deb9u1_amd64.deb ... Unpacking libc6-dev:amd64 (2.24-11+deb9u1) ... Selecting previously unselected package linux-compiler-gcc-6-x86. Preparing to unpack .../21-linux-compiler-gcc-6-x86_4.9.30-2+deb9u2_amd64.deb ... Unpacking linux-compiler-gcc-6-x86 (4.9.30-2+deb9u2) ... Selecting previously unselected package linux-headers-4.9.0-3-common. Preparing to unpack .../22-linux-headers-4.9.0-3-common_4.9.30-2+deb9u2_all.deb ... Unpacking linux-headers-4.9.0-3-common (4.9.30-2+deb9u2) ... Selecting previously unselected package linux-kbuild-4.9. Preparing to unpack .../23-linux-kbuild-4.9_4.9.30-2+deb9u2_amd64.deb ... Unpacking linux-kbuild-4.9 (4.9.30-2+deb9u2) ... Selecting previously unselected package linux-headers-4.9.0-3-amd64. Preparing to unpack .../24-linux-headers-4.9.0-3-amd64_4.9.30-2+deb9u2_amd64.deb ... Unpacking linux-headers-4.9.0-3-amd64 (4.9.30-2+deb9u2) ... Selecting previously unselected package manpages-dev. Preparing to unpack .../25-manpages-dev_4.10-2_all.deb ... Unpacking manpages-dev (4.10-2) ... Setting up libquadmath0:amd64 (6.3.0-18) ... Setting up libgomp1:amd64 (6.3.0-18) ... Setting up libatomic1:amd64 (6.3.0-18) ... Setting up libcc1-0:amd64 (6.3.0-18) ... Setting up libasan3:amd64 (6.3.0-18) ... Setting up libcilkrts5:amd64 (6.3.0-18) ... Setting up libubsan0:amd64 (6.3.0-18) ... Setting up libtsan0:amd64 (6.3.0-18) ... Setting up linux-libc-dev:amd64 (4.9.30-2+deb9u2) ... Setting up linux-headers-4.9.0-3-common (4.9.30-2+deb9u2) ... Setting up liblsan0:amd64 (6.3.0-18) ... Setting up libmpx2:amd64 (6.3.0-18) ... Setting up libisl15:amd64 (0.18-1) ... Setting up linux-kbuild-4.9 (4.9.30-2+deb9u2) ... Processing triggers for libc-bin (2.24-11+deb9u1) ... Setting up libmpfr4:amd64 (3.1.5-1) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up libmpc3:amd64 (1.0.3-1+b2) ... Setting up binutils (2.28-5) ... Setting up cpp-6 (6.3.0-18) ... Setting up libc-dev-bin (2.24-11+deb9u1) ... Setting up manpages-dev (4.10-2) ... Setting up libc6-dev:amd64 (2.24-11+deb9u1) ... Setting up libitm1:amd64 (6.3.0-18) ... Setting up libgcc-6-dev:amd64 (6.3.0-18) ... Setting up gcc-6 (6.3.0-18) ... Setting up linux-compiler-gcc-6-x86 (4.9.30-2+deb9u2) ... Setting up linux-headers-4.9.0-3-amd64 (4.9.30-2+deb9u2) ... Processing triggers for libc-bin (2.24-11+deb9u1) ... root@debian9test:~# apt-get install zfs-dkms Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: cpp dkms fakeroot gcc libfakeroot libnvpair1linux libuutil1linux libzfs2linux libzpool2linux linux-headers-amd64 make patch spl spl-dkms sudo zfs-zed zfsutils-linux Suggested packages: cpp-doc python3-apport menu gcc-multilib autoconf automake libtool flex bison gdb gcc-doc make-doc ed diffutils-doc nfs-kernel-server samba-common-bin zfs-initramfs | zfs-dracut The following NEW packages will be installed: cpp dkms fakeroot gcc libfakeroot libnvpair1linux libuutil1linux libzfs2linux libzpool2linux linux-headers-amd64 make patch spl spl-dkms sudo zfs-dkms zfs-zed zfsutils-linux 0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded. Need to get 4,186 kB of archives. After this operation, 19.9 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://ftp.de.debian.org/debian stretch/main amd64 cpp amd64 4:6.3.0-4 [18.7 kB] Get:2 http://ftp.de.debian.org/debian stretch/main amd64 gcc amd64 4:6.3.0-4 [5,196 B] Get:3 http://ftp.de.debian.org/debian stretch/main amd64 make amd64 4.1-9.1 [302 kB] Get:4 http://ftp.de.debian.org/debian stretch/main amd64 patch amd64 2.7.5-1+b2 [112 kB] Get:5 http://ftp.de.debian.org/debian stretch/main amd64 dkms all 2.3-2 [74.8 kB] Get:6 http://ftp.de.debian.org/debian stretch/main amd64 spl-dkms all 0.6.5.9-1 [385 kB] Get:7 http://ftp.de.debian.org/debian stretch/contrib amd64 zfs-dkms all 0.6.5.9-5 [1,080 kB] Get:8 http://ftp.de.debian.org/debian stretch/main amd64 libfakeroot amd64 1.21-3.1 [45.7 kB] Get:9 http://ftp.de.debian.org/debian stretch/main amd64 fakeroot amd64 1.21-3.1 [85.6 kB] Get:10 http://ftp.de.debian.org/debian stretch/contrib amd64 libuutil1linux amd64 0.6.5.9-5 [47.5 kB] Get:11 http://ftp.de.debian.org/debian stretch/contrib amd64 libnvpair1linux amd64 0.6.5.9-5 [44.4 kB] Get:12 http://ftp.de.debian.org/debian stretch/contrib amd64 libzpool2linux amd64 0.6.5.9-5 [401 kB] Get:13 http://ftp.de.debian.org/debian stretch/contrib amd64 libzfs2linux amd64 0.6.5.9-5 [126 kB] Get:14 http://ftp.de.debian.org/debian stretch/main amd64 linux-headers-amd64 amd64 4.9+80 [5,820 B] Get:15 http://ftp.de.debian.org/debian stretch/main amd64 spl amd64 0.6.5.9-1 [19.6 kB] Get:16 http://ftp.de.debian.org/debian stretch/main amd64 sudo amd64 1.8.19p1-2.1 [1,055 kB] Get:17 http://ftp.de.debian.org/debian stretch/contrib amd64 zfsutils-linux amd64 0.6.5.9-5 [335 kB] Get:18 http://ftp.de.debian.org/debian stretch/contrib amd64 zfs-zed amd64 0.6.5.9-5 [43.2 kB] Fetched 4,186 kB in 0s (6,772 kB/s) Preconfiguring packages ... Package configuration +-----------------------------------------------------------------------------------------¦ Configuring zfs-dkms +-----------------------------------------------------------------------------------------+ ¦ ¦ ¦ Licenses of ZFS and Linux are incompatible ¦ ¦ ¦ ¦ ZFS is licensed under the Common Development and Distribution License (CDDL), and the Linux kernel is licensed under the GNU General Public License Version 2 (GPL-2). While both are free open source ¦ ¦ licenses they are restrictive licenses. The combination of them causes problems because it prevents using pieces of code exclusively available under one license with pieces of code exclusively ¦ ¦ available under the other in the same binary. ¦ ¦ ¦ ¦ You are going to build ZFS using DKMS in which way they are not going to be built into one monolithic binary. Please be aware that distributing both of the binaries in the same media (disk images, ¦ ¦ virtual appliances, etc) may lead to infringing. ¦ ¦ ¦ ¦ <Ok> ¦ ¦ ¦ +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ Selecting previously unselected package cpp. (Reading database ... 47327 files and directories currently installed.) Preparing to unpack .../0-cpp_4%3a6.3.0-4_amd64.deb ... Unpacking cpp (4:6.3.0-4) ... Selecting previously unselected package gcc. Preparing to unpack .../1-gcc_4%3a6.3.0-4_amd64.deb ... Unpacking gcc (4:6.3.0-4) ... Selecting previously unselected package make. Preparing to unpack .../2-make_4.1-9.1_amd64.deb ... Unpacking make (4.1-9.1) ... Selecting previously unselected package patch. Preparing to unpack .../3-patch_2.7.5-1+b2_amd64.deb ... Unpacking patch (2.7.5-1+b2) ... Selecting previously unselected package dkms. Preparing to unpack .../4-dkms_2.3-2_all.deb ... Unpacking dkms (2.3-2) ... Selecting previously unselected package spl-dkms. Preparing to unpack .../5-spl-dkms_0.6.5.9-1_all.deb ... Unpacking spl-dkms (0.6.5.9-1) ... Setting up cpp (4:6.3.0-4) ... Setting up gcc (4:6.3.0-4) ... Setting up make (4.1-9.1) ... Setting up patch (2.7.5-1+b2) ... Setting up dkms (2.3-2) ... Setting up spl-dkms (0.6.5.9-1) ... Loading new spl-0.6.5.9 DKMS files... Building for 4.9.0-3-amd64 Building initial module for 4.9.0-3-amd64 Done. spl: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/4.9.0-3-amd64/updates/dkms/ splat.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/4.9.0-3-amd64/updates/dkms/ depmod... DKMS: install completed. Selecting previously unselected package zfs-dkms. (Reading database ... 47758 files and directories currently installed.) Preparing to unpack .../00-zfs-dkms_0.6.5.9-5_all.deb ... Unpacking zfs-dkms (0.6.5.9-5) ... Selecting previously unselected package libfakeroot:amd64. Preparing to unpack .../01-libfakeroot_1.21-3.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.21-3.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../02-fakeroot_1.21-3.1_amd64.deb ... Unpacking fakeroot (1.21-3.1) ... Selecting previously unselected package libuutil1linux. Preparing to unpack .../03-libuutil1linux_0.6.5.9-5_amd64.deb ... Unpacking libuutil1linux (0.6.5.9-5) ... Selecting previously unselected package libnvpair1linux. Preparing to unpack .../04-libnvpair1linux_0.6.5.9-5_amd64.deb ... Unpacking libnvpair1linux (0.6.5.9-5) ... Selecting previously unselected package libzpool2linux. Preparing to unpack .../05-libzpool2linux_0.6.5.9-5_amd64.deb ... Unpacking libzpool2linux (0.6.5.9-5) ... Selecting previously unselected package libzfs2linux. Preparing to unpack .../06-libzfs2linux_0.6.5.9-5_amd64.deb ... Unpacking libzfs2linux (0.6.5.9-5) ... Selecting previously unselected package linux-headers-amd64. Preparing to unpack .../07-linux-headers-amd64_4.9+80_amd64.deb ... Unpacking linux-headers-amd64 (4.9+80) ... Selecting previously unselected package spl. Preparing to unpack .../08-spl_0.6.5.9-1_amd64.deb ... Unpacking spl (0.6.5.9-1) ... Selecting previously unselected package sudo. Preparing to unpack .../09-sudo_1.8.19p1-2.1_amd64.deb ... Unpacking sudo (1.8.19p1-2.1) ... Selecting previously unselected package zfsutils-linux. Preparing to unpack .../10-zfsutils-linux_0.6.5.9-5_amd64.deb ... Unpacking zfsutils-linux (0.6.5.9-5) ... Selecting previously unselected package zfs-zed. Preparing to unpack .../11-zfs-zed_0.6.5.9-5_amd64.deb ... Unpacking zfs-zed (0.6.5.9-5) ... Setting up linux-headers-amd64 (4.9+80) ... Setting up sudo (1.8.19p1-2.1) ... Setting up libuutil1linux (0.6.5.9-5) ... Setting up libnvpair1linux (0.6.5.9-5) ... Processing triggers for libc-bin (2.24-11+deb9u1) ... Setting up spl (0.6.5.9-1) ... Setting up libfakeroot:amd64 (1.21-3.1) ... Processing triggers for systemd (232-25) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up zfs-dkms (0.6.5.9-5) ... Loading new zfs-0.6.5.9 DKMS files... Building for 4.9.0-3-amd64 Building initial module for 4.9.0-3-amd64 Done. zavl: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/4.9.0-3-amd64/updates/dkms/ zcommon.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/4.9.0-3-amd64/updates/dkms/ znvpair.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/4.9.0-3-amd64/updates/dkms/ zpios.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/4.9.0-3-amd64/updates/dkms/ zunicode.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/4.9.0-3-amd64/updates/dkms/ zfs.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/4.9.0-3-amd64/updates/dkms/ depmod... DKMS: install completed. Setting up libzpool2linux (0.6.5.9-5) ... Setting up fakeroot (1.21-3.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Setting up libzfs2linux (0.6.5.9-5) ... Setting up zfsutils-linux (0.6.5.9-5) ... Created symlink /etc/systemd/system/zfs-mount.service.wants/zfs-import-cache.service ? /lib/systemd/system/zfs-import-cache.service. Created symlink /etc/systemd/system/zfs.target.wants/zfs-import-cache.service ? /lib/systemd/system/zfs-import-cache.service. Created 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-mount.service failed because the control process exited with error code. See "systemctl status zfs-mount.service" and "journalctl -xe" for details. zfs-mount.service couldn't start. 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. zfs-share.service couldn't start. Setting up zfs-zed (0.6.5.9-5) ... 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 libc-bin (2.24-11+deb9u1) ... root@debian9test:~# -- System Information: Debian Release: 9.0 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages zfs-dkms depends on: ii debconf [debconf-2.0] 1.5.61 ii dkms 2.3-2 ii lsb-release 9.20161125 ii spl-dkms 0.6.5.9-1 Versions of packages zfs-dkms recommends: ii zfs-zed 0.6.5.9-5 ii zfsutils-linux 0.6.5.9-5 zfs-dkms suggests no packages.