After having dealt for the n-th time with libvirt dependencies messing up [1] with zfs packages installed from ZFS On Linux repository, I wondered if we could just include them in Fedora repository. They are not in the Fedora Forbidden Items [2] list. Fedora Wiki ZFS page [3] says: "Fedora releases don't ship proper ZFS support included to kernel because its license CDDL (Common Development and Distribution License)[...]" but since ZFS On Linux provide zfs-dkms package, I think this should avoid any possible legal trouble between Linux kernel licence and ZFS licence.
What do you think about?
[1]: libvirt-daemon-driver-storage installs libvirt-daemon-driver-storage-zfs which requires zfs-fuse (from Fedora repo. A package no longer upgraded by upstream dev). The latter has Provides:/sbin/zfs, /sbin/mount.zfs that IMHO is the cause of the conflict with the ZFS packages from ZFS On Linux. The only way to solve the problem is to use "dnf swap zfs-fuse zfs" [2]: https://fedoraproject.org/wiki/Forbidden_items [3]: https://fedoraproject.org/wiki/ZFS
On Mon, Feb 14, 2022 at 6:57 PM Germano Massullo germano.massullo@gmail.com wrote:
After having dealt for the n-th time with libvirt dependencies messing up [1] with zfs packages installed from ZFS On Linux repository, I wondered if we could just include them in Fedora repository. They are not in the Fedora Forbidden Items [2] list. Fedora Wiki ZFS page [3] says: "Fedora releases don't ship proper ZFS support included to kernel because its license CDDL (Common Development and Distribution License)[...]" but since ZFS On Linux provide zfs-dkms package, I think this should avoid any possible legal trouble between Linux kernel licence and ZFS licence.
What do you think about?
Fedora does not permit out of tree Linux kernel modules in its repositories: https://docs.fedoraproject.org/en-US/packaging-guidelines/what-can-be-packag...
The zfs-fuse package is a pure-userspace implementation using FUSE, which is why it's shipped in Fedora.
If you want the OpenZFS implementation, you'll need to ask upstream to prioritize building out a FUSE backend for their implementation: https://github.com/openzfs/zfs/issues/8
-- 真実はいつも一つ!/ Always, there's only one truth!
On Tue, Feb 15, 2022 at 12:56:50AM +0100, Germano Massullo wrote:
After having dealt for the n-th time with libvirt dependencies messing up [1] with zfs packages installed from ZFS On Linux repository, I wondered if we could just include them in Fedora repository. They are not in the Fedora Forbidden Items [2] list. Fedora Wiki ZFS page [3] says: "Fedora releases don't ship proper ZFS support included to kernel because its license CDDL (Common Development and Distribution License)[...]" but since ZFS On Linux provide zfs-dkms package, I think this should avoid any possible legal trouble between Linux kernel licence and ZFS licence.
What do you think about?
[1]: libvirt-daemon-driver-storage installs libvirt-daemon-driver-storage-zfs which requires zfs-fuse (from Fedora repo. A package no longer upgraded by upstream dev). The latter has Provides:/sbin/zfs, /sbin/mount.zfs that IMHO is the cause of the conflict with the ZFS packages from ZFS On Linux. The only way to solve the problem is to use "dnf swap zfs-fuse zfs"
If zfs-fuse is no longer provided upstream I guess libvirt should stop depending on it. (Also libguestfs has an optional libguestfs-zfs subpackage that uses it.)
This doesn't solve the general problem with ZFS licensing though. Only Oracle can do that at the stroke of a pen.
Rich.
devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
On Wed, Feb 16, 2022 at 10:28:18AM +0000, Richard W.M. Jones wrote:
On Tue, Feb 15, 2022 at 12:56:50AM +0100, Germano Massullo wrote:
After having dealt for the n-th time with libvirt dependencies messing up [1] with zfs packages installed from ZFS On Linux repository, I wondered if we could just include them in Fedora repository. They are not in the Fedora Forbidden Items [2] list. Fedora Wiki ZFS page [3] says: "Fedora releases don't ship proper ZFS support included to kernel because its license CDDL (Common Development and Distribution License)[...]" but since ZFS On Linux provide zfs-dkms package, I think this should avoid any possible legal trouble between Linux kernel licence and ZFS licence.
What do you think about?
[1]: libvirt-daemon-driver-storage installs libvirt-daemon-driver-storage-zfs which requires zfs-fuse (from Fedora repo. A package no longer upgraded by upstream dev). The latter has Provides:/sbin/zfs, /sbin/mount.zfs that IMHO is the cause of the conflict with the ZFS packages from ZFS On Linux. The only way to solve the problem is to use "dnf swap zfs-fuse zfs"
If zfs-fuse is no longer provided upstream I guess libvirt should stop depending on it. (Also libguestfs has an optional libguestfs-zfs subpackage that uses it.)
Well it is up to the Fedora maintainer of zfs-fuse to decide whether to keep shipping it in Fedora. Upstream discontinuing it, doesn't mean that it stops working. So as long as it is known to work in Fedora and has users, deciding to keep shipping it is one possible valid outcome. Depends whether the maintainer wants the burden of dealing with tickets themselves, without support from upstream.
If Fedora drops zfs-fuse, then we would disable that part in libvirt builds in Fedora too.
Regards, Daniel
On 15/02/2022 00:56, Germano Massullo wrote:
but since ZFS On Linux provide zfs-dkms package, I think this should avoid any possible legal trouble between Linux kernel licence and ZFS licence.
Fedora doesn't allow packaging of any third-party Linux kernel modules.
On Tue, Feb 15, 2022 at 12:56:50AM +0100, Germano Massullo wrote:
After having dealt for the n-th time with libvirt dependencies messing up [1] with zfs packages installed from ZFS On Linux repository, I wondered if we could just include them in Fedora repository. They are not in the Fedora Forbidden Items [2] list. Fedora Wiki ZFS page [3] says: "Fedora releases don't ship proper ZFS support included to kernel because its license CDDL (Common Development and Distribution License)[...]" but since ZFS On Linux provide zfs-dkms package, I think this should avoid any possible legal trouble between Linux kernel licence and ZFS licence.
What do you think about?
[1]: libvirt-daemon-driver-storage installs libvirt-daemon-driver-storage-zfs which requires zfs-fuse (from Fedora repo. A package no longer upgraded by upstream dev). The latter has Provides:/sbin/zfs, /sbin/mount.zfs that IMHO is the cause of the conflict with the ZFS packages from ZFS On Linux. The only way to solve the problem is to use "dnf swap zfs-fuse zfs"
If you don't want libvirt pulling in zfs-fuse, then one of the more minimal libvirt packages could be a better install choice. The "libvirt-daemon-driver-storage" package is a meta package bringing in the full set of storage driver deps for libvirt. If you want to fine tune that then "libvirt-daemon-driver-storage-core" lets you get the bare minimal install set, and select individual drivers for extra functionality.
Regards, Daniel