GNU bug report logs - #55231
[PATCH v1] initrd: Allow extra search paths with ‘initrd-extra-module-paths’

Previous Next

Package: guix-patches;

Reported by: Brian Cully <bjc <at> spork.org>

Date: Mon, 2 May 2022 19:55:02 UTC

Severity: normal

Tags: moreinfo, patch

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: Josselin Poiret <dev <at> jpoiret.xyz>, Ian Eure <ian <at> retrospec.tv>, Brian Cully <bjc <at> spork.org>, Morgan Arnold <morgan.arnold <at> proton.me>, Tobias Geerinckx-Rice <me <at> tobias.gr>, Leo Famulari <leo <at> famulari.name>, Andreas Enge <andreas <at> enge.fr>, Kaelyn <kaelyn.alexi <at> protonmail.com>, Felix Lechner <felix.lechner <at> lease-up.com>, Mathieu Othacehe <othacehe <at> gnu.org>, John Kehayias <john.kehayias <at> protonmail.com>, Christopher Baines <guix <at> cbaines.net>, 55231 <at> debbugs.gnu.org, Simon Tournier <zimon.toutoune <at> gmail.com>
Subject: [bug#55231] [PATCH v1] initrd: Allow extra search paths with ‘initrd-extra-module-paths’
Date: Mon, 17 Feb 2025 11:00:14 +0100
Hi,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> skribis:

> Ludovic Courtès <ludo <at> gnu.org> writes:
>
> [...]
>
>>> +    (let* ((substitutable-inputs? (every substitutable-derivation?
>>> +                                         (map derivation-input-derivation
>>> +                                              inputs)))
>>
>> This change doesn’t come for free.  I didn’t follow the discussion, but
>> adding overhead to such a core component to accommodate ZFS sounds
>> questionable to me.
>
> I've measured with strace -fc and time, and the difference appeared
> negligible.

Not sure if that’s what you did, but I would time ‘guix build
libreoffice --no-grafts -d’ or something along these lines.

>> Who would distribute it though?  A build farm building a ZFS-enabled
>> initrd, right?  Is that a real use case?  (Perhaps this has already been
>> answered before; please let me know what I should look at, it’s a long
>> discussion!)
>
> It's that far fetch that substitute servers like berlin or third party
> ones could want to use ZFS RAID 5/6 themselves to minimize disk usage
> while having some redundancy, so yes, that's the most likely use case, I
> think.
>
> Then a downstream user of such build farm/substitute server could use
> ZFS themselves and find themselves fetching ready-built initrd's binary
> containing the ZFS module, which should not be happening due to the
> license incompatibility between ZFS's CDDL and the Linux kernel GPL2
> only.

Yes, I understand.  But my point is, in practice, our build farms are
not going to publish such binaries.  So really the use case is a
hypothetical build farm (or user running ‘guix publish --advertise’) who
happens to have a local ZFS+Linux build.  It’s possible, but it’s
arguably pretty niche.

The cost/benefit ratio doesn’t look great to me.

Ludo’.




This bug report was last modified 12 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.