zfsutils-linux recommends dkms when it's not needed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zfs-linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Incomplete
|
Medium
|
Unassigned | ||
Artful |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Unassigned |
Bug Description
1.
$ lsb_release -rd
Description: Ubuntu 16.04.3 LTS
Release: 16.04
2.
$ apt-cache policy zfsutils-linux
zfsutils-linux:
Installed: 0.6.5.6-0ubuntu18
Candidate: 0.6.5.6-0ubuntu18
Version table:
*** 0.6.5.6-0ubuntu18 500
500 http://
100 /var/lib/
0.
500 http://
3. apt install zfsutils-linux does not install dkms,spl-dkms and dependencies since 16.04 kernel already contains zfs.ko
4. apt install zfsutils-linux installs all of the following:
dkms fakeroot gcc gcc-5 libasan2 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libfakeroot libfreetype6 libgcc-5-dev libgomp1 libitm1
liblsan0 libmpx0 libquadmath0 libtsan0 libubsan0 linux-libc-dev manpages-dev spl spl-dkms
and then any kernel install/update then attempts to dkms rebuild zfs and spl even though the modules are already provided.
% dpkg -S /lib/modules/
linux-image-
% dpkg -S /lib/modules/
linux-image-
We can see from the package requirements, that it Recommends zfs-dkms, but only on Xenial. Releases newer than Xenial do not have this package requirement.
% apt-cache show zfsutils-linux
Package: zfsutils-linux
Architecture: amd64
Version: 0.6.5.6-0ubuntu18
Priority: extra
Section: admin
Source: zfs-linux
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-
Bugs: https:/
Installed-Size: 779
Provides: zfs
Depends: init-system-helpers (>= 1.18~), zfs-doc (= 0.6.5.6-0ubuntu18), libblkid1 (>= 2.16), libc6 (>= 2.14), libnvpair1linux, libuuid1 (>= 2.16), libuutil1linux, libzfs2linux, libzpool2linux, python3:any (>= 3.3.2-2~), python3
Recommends: zfs-dkms, zfs-zed
Suggests: samba-common-bin (>= 3.0.23), nfs-kernel-server, zfs-initramfs
Conflicts: zfs, zfs-fuse
Replaces: zfs
Filename: pool/main/
Size: 275970
MD5sum: 02ead25f1fed812
SHA1: e6736c223c3b219
SHA256: c4ad2b81ee13072
Homepage: https:/
Description-en: Native OpenZFS management utilities for Linux
This package provides the zpool and zfs commands that are used to
manage OpenZFS filesystems.
Description-md5: 7b0f98269f6c335
Supported: 5y
Here's Artful
~$ lsb_release -rd
Description: Ubuntu 17.10
Release: 17.10
$ apt-cache show zfsutils-linux
Package: zfsutils-linux
Architecture: amd64
Version: 0.6.5.11-1ubuntu3
Priority: extra
Section: admin
Source: zfs-linux
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-
Bugs: https:/
Installed-Size: 1100
Provides: zfsutils
Depends: init-system-helpers (>= 1.18~), libblkid1 (>= 2.16), libc6 (>= 2.14), libnvpair1linux, libuuid1 (>= 2.16), libuutil1linux, libzfs2linux, libzpool2linux, python3:any, python3
Recommends: lsb-base, zfs-zed
Suggests: nfs-kernel-server, samba-common-bin (>= 3.0.23), zfs-initramfs | zfs-dracut
Conflicts: zfs, zfs-fuse, zutils
Filename: pool/main/
Size: 328574
MD5sum: d1ce7f5ffa75c9b
SHA1: 8a8ab05186b83c3
SHA256: c462a555dda50ed
Homepage: http://
Description-en: command-line tools to manage OpenZFS filesystems
The Z file system is a pooled filesystem designed for maximum data
integrity, supporting data snapshots, multiple copies, and data
checksums.
.
This package provides the zfs and zpool commands to create and administer
OpenZFS filesystems.
Description-md5: 3b2c00b92882937
Supported: 9m
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: zfsutils-linux 0.6.5.6-0ubuntu18
ProcVersionSign
Uname: Linux 4.13.0-19-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Wed Jan 10 22:26:33 2018
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: zfs-linux
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
Changed in zfs-linux (Ubuntu): | |
status: | New → Fix Released |
importance: | Undecided → Medium |
Changed in zfs-linux (Ubuntu Xenial): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in zfs-linux (Ubuntu Artful): | |
status: | New → Fix Released |
importance: | Undecided → Medium |
Are there any plans to correct the Xenial's package?