Debian Bug report logs - #881013
zfs-dkms should depend on matching version of spl-dkms to avoid breakage

version graph

Package: zfs-dkms; Maintainer for zfs-dkms is Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@alioth-lists.debian.net>; Source for zfs-dkms is src:zfs-linux (PTS, buildd, popcon).

Reported by: Jason Cohen <jwittlincohen@gmail.com>

Date: Tue, 7 Nov 2017 03:18:05 UTC

Severity: important

Found in version zfs-linux/0.7.3-1

Fixed in versions zfs-linux/0.7.3-3, 0.7.3-3

Done: Aron Xu <aron@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@lists.alioth.debian.org>:
Bug#881013; Package zfs-dkms. (Tue, 07 Nov 2017 03:18:07 GMT) (full text, mbox, link).


Acknowledgement sent to Jason Cohen <jwittlincohen@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@lists.alioth.debian.org>. (Tue, 07 Nov 2017 03:18:07 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Jason Cohen <jwittlincohen@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: zfs-dkms should depend on matching version of spl-dkms to avoid breakage
Date: Mon, 06 Nov 2017 22:15:32 -0500
Package: zfs-dkms
Version: 0.7.3-1
Severity: important

Dear Maintainer,

Thank you for the recent zfs/spl 0.7.3-1 upload.  It was greatly appreciated!
However, there appears to be a potential issue with the dependencies of the
zfs-dkms package.  zfs-dkms 0.6.5.11-1 depends on spl-dkms >= 0.6.5.11.  This
is fine when the versions in the repository match, but this is not necessarily
the case. The ZFS kernel modules will not build successfully if SPL and ZFS are
running different versions.

When SPL/ZFS 0.7.3-1 was uploaded to unstable, spl-dkms migrated immediately
but zfs-dkms was delayed as it had to be manually approved from the NEW queue.
Because zfs-dkms 0.6.5.11-1 doesn't depend on the specific matching version of
spl-dkms, but rather will accept a newer version, users on Testing are now
being offered to upgrade to spl-dkms 0.7.3-1, but if they do so, ZFS will break
as DKMS will not be able to build a new ZFS module with the mismatched SPL and
ZFS packages.  At least one user already reported such breakage on Reddit's
/r/debian channel[1].

This situation is likely to continue until Bug #880902 is resolved, as that bug
will prevent zfs-dkms 0.7.3-1 from migrating to testing.

Presumably, this would not have occurred if zfs-dkms 0.6.5.11-1 depended on
spl-dkms=0.6.5.11 rather than >=0.6.5.11.

   * What led up to the situation?

spl-dkms 0.7.3-1 migrated to testing while zfs-dkms 0.7.3-1 did not.  While SPL
and ZFS versions much match to successfully build the ZFS kernel module, zfs-
dkms only requires the same *or higher* version.


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

This can be resolved by holding spl-dkms to 0.6.5.11-1 or manually installing
zfs-dkms 0.7.3-1 from unstable.  My concern is that users may not realize WHY
ZFS has broken.

   * What was the outcome of this action?

The outcome of the spl-dkms upgrade is that ZFS is rendered unuseable unless
one of the mitigations is used.

   * What outcome did you expect instead?

I expected spl-dkms to be held at its current state until the necessary version
of zfs-dkms was available.

[1]:
https://www.reddit.com/r/debian/comments/7b7wy7/does_spl_and_spldkms_have_to_be_the_same_version/



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (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.64
ii  dkms                   2.3-3
ii  lsb-release            9.20170808
ii  spl-dkms               0.7.3-1

Versions of packages zfs-dkms recommends:
ii  zfs-zed         0.7.3-1
ii  zfsutils-linux  0.7.3-1

zfs-dkms suggests no packages.

-- debconf information:
  zfs-dkms/stop-build-for-32bit-kernel: true
* zfs-dkms/note-incompatible-licenses:
  zfs-dkms/stop-build-for-unknown-kernel: true



Information forwarded to debian-bugs-dist@lists.debian.org, Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@lists.alioth.debian.org>:
Bug#881013; Package zfs-dkms. (Mon, 20 Nov 2017 04:27:05 GMT) (full text, mbox, link).


Acknowledgement sent to Antonio Russo <antonio.e.russo@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@lists.alioth.debian.org>. (Mon, 20 Nov 2017 04:27:05 GMT) (full text, mbox, link).


Message #10 received at 881013@bugs.debian.org (full text, mbox, reply):

From: Antonio Russo <antonio.e.russo@gmail.com>
To: 881013@bugs.debian.org
Subject: Patch
Date: Sun, 19 Nov 2017 23:24:15 -0500
[Message part 1 (text/plain, inline)]
I've attached a very simple patch enforcing this constraint.

Antonio
[maximum-spl-version.patch (text/x-patch, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@lists.alioth.debian.org>:
Bug#881013; Package zfs-dkms. (Thu, 30 Nov 2017 11:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to Antonio Russo <antonio.e.russo@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@lists.alioth.debian.org>. (Thu, 30 Nov 2017 11:51:03 GMT) (full text, mbox, link).


Message #15 received at 881013@bugs.debian.org (full text, mbox, reply):

From: Antonio Russo <antonio.e.russo@gmail.com>
To: 881013@bugs.debian.org
Subject: Re: zfs-dkms should depend on matching version of spl-dkms to avoid breakage
Date: Thu, 30 Nov 2017 06:48:52 -0500
Control: fixed -1 0.7.3-3

This should be fixed, along with 883008 and 883076. Thanks for pointing this out!



Marked as fixed in versions zfs-linux/0.7.3-3. Request was from Antonio Russo <antonio.e.russo@gmail.com> to 881013-submit@bugs.debian.org. (Thu, 30 Nov 2017 11:51:03 GMT) (full text, mbox, link).


Reply sent to Aron Xu <aron@debian.org>:
You have taken responsibility. (Mon, 05 Mar 2018 09:03:06 GMT) (full text, mbox, link).


Notification sent to Jason Cohen <jwittlincohen@gmail.com>:
Bug acknowledged by developer. (Mon, 05 Mar 2018 09:03:06 GMT) (full text, mbox, link).


Message #22 received at 881013-close@bugs.debian.org (full text, mbox, reply):

From: Aron Xu <aron@debian.org>
To: 881013-close@bugs.debian.org
Subject: Fixed in 0.7.3-3
Date: Mon, 5 Mar 2018 16:57:59 +0800
Source-Version: 0.7.3-3

Should be fixed in 0.7.3-3, closing.

Regards,
Aron



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 03 Apr 2018 07:26:42 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 20:35:08 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.