Would turning the hard dependency into a somewhat softer recommendation be
a possible solution?
Do zfsutils require the module to be actually installed, or would rw access
to /dev/zfs suffice?
Regards,
Hajo Möller
Richard Laager schrieb am Mi., 31. Juli 2019,
00:50:
> I closed this as requested, but I'm actually going to reopen it to see
> what people think about the following...
>
> Is there a "default" kernel in Ubuntu? I think there is, probably linux-
> generic.
>
> So perhaps this dependency should be changed:
> OLD: zfs-modules | zfs-dkms
> NEW: linux-generic | zfs-modules | zfs-dkms
>
> That way, if you have something satisfying the zfs-modules dependency,
> it is fine. If you don't, it will install the default kernel.
>
> On the other hand, if you don't already have the default kernel, you're
> clearly in some sort of special case, so I'm not sure what sane thing
> can be done. So that might argue against this.
>
> --
> You received this bug notification because you are subscribed to zfs-
> linux in Ubuntu.
> Matching subscriptions: zfs-linux
> https://bugs.launchpad.net/bugs/1838276
>
> Title:
> zfs-module depedency selects random kernel package to install
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1838276/+subscriptions
>
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1838276
Title:
zfs-module depedency selects random kernel package to install
Status in zfs-linux package in Ubuntu:
New
Bug description:
In MAAS (ephemeral environment) or LXD where no kernel package is
currently installed; installing the zfsutils-linux package will pull
in a kernel package from the zfs-modules dependency.
1) # lsb_release -rd
Description: Ubuntu Eoan Ermine (development branch)
Release: 19.10
2) n/a
3) zfsutils-linux installed without pulling in a random kernel
4) # apt install --dry-run zfsutils-linux
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common
libzfs2linux libzpool2linux
linux-image-unsigned-5.0.0-1010-oem-osp1 linux-modules-5.0.0-1010-oem-osp1
os-prober zfs-zed
Suggested packages:
multiboot-doc grub-emu xorriso desktop-base fdutils linux-oem-osp1-tools
linux-headers-5.0.0-1010-oem-osp1
nfs-kernel-server samba-common-bin zfs-initramfs | zfs-dracut
The following NEW packages will be installed:
grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common
libzfs2linux libzpool2linux
linux-image-unsigned-5.0.0-1010-oem-osp1 linux-modules-5.0.0-1010-oem-osp1
os-prober zfs-zed zfsutils-linux
0 upgraded, 12 newly installed, 0 to remove and 1 not upgraded.
Inst grub-common (2.04-1ubuntu2 Ubuntu:19.10/eoan [amd64])
Inst grub2-common (2.04-1ubuntu2 Ubuntu:19.10/eoan [amd64])
Inst grub-pc-bin (2.04-1ubuntu2 Ubuntu:19.10/eoan [amd64])
Inst grub-pc (2.04-1ubuntu2 Ubuntu:19.10/eoan [amd64]) []
Inst grub-gfxpayload-lists (0.7 Ubuntu:19.10/eoan [amd64])
Inst linux-modules-5.0.0-1010-oem-osp1 (5.0.0-1010.11 Ubuntu:19.10/eoan
[amd64])
Inst linux-image-unsigned-5.0.0-1010-oem-osp1 (5.0.0-1010.11
Ubuntu:19.10/eoan [amd64])
Inst os-prober (1.74ubuntu2 Ubuntu:19.10/eoan [amd64])
Inst libzfs2linux (0.8.1-1ubuntu7 Ubuntu:19.10/eoan [amd64])
Inst libzpool2linux (0.8.1-1ubuntu7 Ubuntu:19.10/eoan [amd64])
Inst zfsutils-linux (0.8.1-1ubuntu7 Ubuntu:19.10/eoan [amd64])
Inst zfs-zed (0.8.1-1ubuntu7 Ubuntu:19.10/eoan [amd64])
Conf grub-common (2.04-1ubuntu2 Ubuntu:19.10/eoan [amd64])
Conf grub2-common (2.04-1ubuntu2 Ubuntu:19.10/eoan [amd64])
Conf grub-pc-bin (2.04-1ubuntu2 Ubuntu:19.10/eoan [amd64])
Conf grub-pc (2.04-1ubuntu2 Ubuntu:19.10/eoan [amd64])
Conf grub-gfxpayload-lists (0.7 Ubuntu:19.10/eoan [amd64])
Conf linux-modules-5.0.0-1010-oem-osp1 (5.0.0-1010.11 Ubuntu:19.10/eoan
[amd64])
Conf linux-image-unsigned-5.0.0-1010-oem-osp1 (5.0.0-1010.11
Ubuntu:19.10/eoan [amd64])
Conf os-prober (1.74ubuntu2 Ubuntu:19.10/eoan [amd64])
Conf libzfs2linux (0.8.1-1ubuntu7 Ubuntu:19.10/eoan [amd64])
Conf libzpool2linux (0.8.1-1ubuntu7 Ubuntu:19.10/eoan [amd64])
Conf zfsutils-linux (0.8.1-1ubuntu7 Ubuntu:19.10/eoan [amd64])
Conf zfs-zed (0.8.1-1ubuntu7 Ubuntu:19.10/eoan [amd64])
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1838276/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp