• [gentoo-dev] [PATCH 4/5] linux-mod-r1.eclass: make modules_process_drac

    From Nowa Ammerlaan@21:1/5 to All on Fri Mar 14 14:00:02 2025
    so we can re-use this function in dkms.eclass.

    Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
    ---
    eclass/linux-mod-r1.eclass | 7 +++----
    1 file changed, 3 insertions(+), 4 deletions(-)

    diff --git a/eclass/linux-mod-r1.eclass b/eclass/linux-mod-r1.eclass
    index fd83324fa35d..d736f48d679e 100644
    --- a/eclass/linux-mod-r1.eclass
    +++ b/eclass/linux-mod-r1.eclass
    @@ -625,7 +625,7 @@ modules_post_process() {
    # dracut omit files that *hopefully* prevent this
    # _modules_process_depmod.d "${mods[@]##*/}"

    - _modules_process_dracut.conf.d "${mods[@]##*/}"
    + modules_process_dracut.conf.d "${mods[@]##*/}"
    _modules_process_strip "${mods[@]}"
    _modules_process_sign "${mods[@]}"
    _modules_sanity_modversion "${mods[@]}" # after strip/sign in case broke it
    @@ -967,13 +967,12 @@ _modules_process_depmod.d() {
    )
    }

    -# @FUNCTION: _modules_process_dracut.conf.d
    +# @FUNCTION: modules_process_dracut.conf.d
    # @USAGE: <module>...
    -# @INTERNAL
    # @DESCRIPTION:
    # Create dracut.conf.d snippet defining if module should be included in the
    # initramfs.
    -_modules_process_dracut.conf.d() {
    +
  • From Ionen Wolkens@21:1/5 to Nowa Ammerlaan on Fri Mar 14 17:30:01 2025
    On Fri, Mar 14, 2025 at 01:48:50PM +0100, Nowa Ammerlaan wrote:
    eclass/linux-mod-r1.eclass | 7 +++----

    ftr my opinion on this hasn't changed since the beginning, I was hoping
    that the idea would be scrapped early rather than more work being put
    into it.

    This just feels like a messy half-solution that we're better off
    without.

    So NACK from me, both for linux-mod-r1 and adding support to my
    packages like nvidia-drivers.

    Not that I'll revert if it gets merged anyway.
    --
    ionen

    -----BEGIN PGP SIGNATURE-----

    iQEzBAABCAAdFiEEx3SLh1HBoPy/yLVYskQGsLCsQzQFAmfUWAYACgkQskQGsLCs QzSKzgf/bXkWjxsqP29EIBr6MECOqxNVclUf2Ic2DvBxgYc/tIUPDz3Wjul8/mDO C2OVayKqG/t3o3MrIupYsiEUyTJTxG/4hpPSwWZSxCDX6sg1OJp1KyUQxm2Y3NWO di6nVQ7n5TNJWRw7Wh5pyS0UWrE3D+USrFDM8oEolyXXW8tCxL7gGy5Veh3QiuDx h2E6XpawrXHuAz7+ohihR/qagiDT/U2lys4K5YdMTT5cqUEc7y+QgKmgKZiv8rU2 85EykoV3QuodBJqzoWNwZUjBhJktEfyS6r2JKRoaN4lgGPi8WCLbtHAAg2zeWJJN /d2KiMkG2qUuA9p3J85VbBxpWvbgjA==
    =0bgv
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nowa Ammerlaan@21:1/5 to Ionen Wolkens on Fri Mar 14 20:50:01 2025
    On 14/03/2025 17:23, Ionen Wolkens wrote:
    On Fri, Mar 14, 2025 at 01:48:50PM +0100, Nowa Ammerlaan wrote:
    eclass/linux-mod-r1.eclass | 7 +++----

    ftr my opinion on this hasn't changed since the beginning, I was hoping
    that the idea would be scrapped early rather than more work being put
    into it.

    I noted your initial concerns and sam's hesitation, and would have
    stopped pursuing this further had I not also received positive feedback convincing me that there is indeed some demand for adding DKMS support
    as an option. I had hoped that the final version of the new eclass,
    being significantly cleaner and more robust, would have changed your mind.

    This just feels like a messy half-solution that we're better off
    without.

    So NACK from me, both for linux-mod-r1 and adding support to my
    packages like nvidia-drivers.

    Not that I'll revert if it gets merged anyway.

    Is there anything I can say or do to convince you otherwise? I honestly
    believe that I have addressed all concerns that have been raised so far.

    Adding support for the DKMS pathway to only a subset of kernel modules
    is bound to be lead to a confusing end result, so that is not really a
    state in which I want to merge this in.

    Best regards,
    Nowa

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ionen Wolkens@21:1/5 to Nowa Ammerlaan on Sat Mar 15 05:00:01 2025
    On Fri, Mar 14, 2025 at 08:47:37PM +0100, Nowa Ammerlaan wrote:
    On 14/03/2025 17:23, Ionen Wolkens wrote:
    On Fri, Mar 14, 2025 at 01:48:50PM +0100, Nowa Ammerlaan wrote:
    eclass/linux-mod-r1.eclass | 7 +++----

    ftr my opinion on this hasn't changed since the beginning, I was hoping that the idea would be scrapped early rather than more work being put
    into it.

    I noted your initial concerns and sam's hesitation, and would have
    stopped pursuing this further had I not also received positive feedback convincing me that there is indeed some demand for adding DKMS support
    as an option. I had hoped that the final version of the new eclass,
    being significantly cleaner and more robust, would have changed your mind.

    This just feels like a messy half-solution that we're better off
    without.

    So NACK from me, both for linux-mod-r1 and adding support to my
    packages like nvidia-drivers.

    Not that I'll revert if it gets merged anyway.

    Is there anything I can say or do to convince you otherwise? I honestly believe that I have addressed all concerns that have been raised so far.

    I don't think so, it's more the idea in itself that I dislike than the implementation. Not that the latter helps with its kind of unintended hacked-on-top linux-mod-r1 implementation that (as you know) not all
    ebuilds can use right now... but I generally want to avoid requesting improvements given it's unlikely it'd change how I feel about this.

    As noted on PR, *if* we really want to support rebuilding for multiple
    kernels it's something that could be done with a linux-mod-r2 eclass
    rather than dkms (not that it wouldn't require work because of the way
    current linux-info works, and some ebuilds would need to be adapted in
    a multilib kinda way), and I'm not convinced the "rebuild at boot" is
    really meaningful esp. with distribution kernels that are controlled
    by the PM.

    PM limitations could be improved in future EAPIs, like a way to have
    proper hooks for modules and initramfs rebuilding so that we wouldn't
    have to rely on (not really slot-able) virtual/dist-kernel and
    duplicated initramfs generation. It could potentially also clean old
    modules safely then. Such hooks system would also be handy for other
    things like rebuilding gtk icon cache and such rather than doing it
    per-ebuild (we may already have a bug for this somewhere?).

    And I don't feel that this is all important/urgent enough that we need
    to establish (hacky) dkms usage in the interim as a "better than
    nothing" solution. *Vast* majority of users only care about one kernel,
    at most the old just need to be able to boot into a console to fix
    issues if something went wrong (that nvidia-drivers may mismatch with
    userspace is not great, but not getting GPU acceleration is not the
    the end of the world in that situation).

    Not great but, if one rare user really needs to rebuild for multiple
    kernels, there are still (unintuitive) ways to do that in the interim
    such as emerging modules multiple times by pointing to different
    linux sources -- but again emphasis on that not really many need this.


    Adding support for the DKMS pathway to only a subset of kernel modules
    is bound to be lead to a confusing end result, so that is not really a
    state in which I want to merge this in.

    Best regards,
    Nowa


    --
    ionen

    -----BEGIN PGP SIGNATURE-----

    iQEzBAABCAAdFiEEx3SLh1HBoPy/yLVYskQGsLCsQzQFAmfU+nUACgkQskQGsLCs QzRq8QgAu3uQ9bbZKwskLYZREef5Ar2A7JTg/owKJfn+hPRQYmALSnUnlfFXnZki yE7n7h/UgtzxLLEocXCtXu2ssfFxuwepO5QBUHhQSlUeMUoktNGwAZCGbx04B5+w JbJKAoXR9VV1EbUPKCl5zD6h3mR5T1UGIX2Ou0o2Cx64h7dK32VbBpcDGS0v5FYi URiIihe1Zl95301WnArr8zJRdsCy6dSqKmtMFX9JtaNH5cw0CJsvanRocMQ2xcXk B+ErHE+TQIwGdr4RksibM8q4QCwsB0//rpn3wx/ay8x2GvBT3h24oSXipug17dZX v73EcfBQfSuO1O7nvYHGCno6aUWP3w==
    =Q6G4
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alexey Sokolov@21:1/5 to All on Mon Mar 17 11:30:01 2025
    17.03.2025 10:11, Nowa Ammerlaan пишет:
    On 15/03/2025 04:56, Ionen Wolkens wrote:
    This just feels like a messy half-solution that we're better off
    without.

    So NACK from me, both for linux-mod-r1 and adding support to my
    packages like nvidia-drivers.

    Not that I'll revert if it gets merged anyway.
    Is there anything I can say or do to convince you otherwise? I honestly
    believe that I have addressed all concerns that have been raised so far.
    I don't think so, it's more the idea in itself that I dislike than the
    implementation. Not that the latter helps with its kind of unintended
    hacked-on-top linux-mod-r1 implementation that (as you know) not all
    ebuilds can use right now... but I generally want to avoid requesting
    improvements given it's unlikely it'd change how I feel about this.

    As noted on PR, *if* we really want to support rebuilding for multiple
    kernels it's something that could be done with a linux-mod-r2 eclass
    rather than dkms (not that it wouldn't require work because of the way
    current linux-info works, and some ebuilds would need to be adapted in
    a multilib kinda way), and I'm not convinced the "rebuild at boot" is
    really meaningful esp. with distribution kernels that are controlled
    by the PM.
    I really don't see how we can reasonably solve this problem via eclass
    given that the number of possible kernel targets is way bigger then for example multilib, PYTHON_TARGETS etc. Plus we also have to account for kernels that are not built and installed by the package manager. In my opinion what you propose here is unnecessarily complex and I really
    doubt it will work.

    PM limitations could be improved in future EAPIs, like a way to have
    proper hooks for modules and initramfs rebuilding so that we wouldn't
    have to rely on (not really slot-able) virtual/dist-kernel and
    duplicated initramfs generation. It could potentially also clean old
    modules safely then. Such hooks system would also be handy for other
    things like rebuilding gtk icon cache and such rather than doing it
    per-ebuild (we may already have a bug for this somewhere?).

    And I don't feel that this is all important/urgent enough that we need
    to establish (hacky) dkms usage in the interim as a "better than
    nothing" solution. *Vast* majority of users only care about one kernel,
    at most the old just need to be able to boot into a console to fix
    issues if something went wrong (that nvidia-drivers may mismatch with
    userspace is not great, but not getting GPU acceleration is not the
    the end of the world in that situation).

    Not great but, if one rare user really needs to rebuild for multiple
    kernels, there are still (unintuitive) ways to do that in the interim
    such as emerging modules multiple times by pointing to different
    linux sources -- but again emphasis on that not really many need this.
    Well I don't know what to say other then that I strongly disagree. This
    is not hacky, DKMS is the standard solution in many many other
    distributions and it works pretty well there. I really don't understand
    why it could not work equally well for us. In fact, I'll turn this
    around and say that our current solution with the slotted
    virtual/dist-kernel is hacky. It works poorly mainly because there is no relation between the actual kernel target and the installed slot of the virtual (other then a warning if the eclass detects a mismatch). This
    makes the binpkg situation here a mess. Downgrading is difficult.
    Portage is extremely slow in resolving all these slot dependencies. And
    all of this is not intuitive and very confusing for new users.

    I do not agree that these problems are not important. Out of tree kernel modules are essential to many systems, and therefore this should "just
    work". Sure it's a fixable problem when it breaks, but it's annoying and requires manual intervention. Gentoo deserves better, and we can very
    easily make it better by doing what loads of other distributions are
    also doing (i.e. use DKMS).

    I am **not** proposing this as an interim solution (I hate interim solutions), I am proposing this as a permanent alternative method of
    managing kernel modules where the package manager is less involved
    (while still retaining user compiler/flag preferences etc). Reworking linux-info so it can support multiple targets is still possible, these
    things are not mutually exclusive (though I still believe DKMS is the
    better solution even if we do rework the eclasses).

    I really do not understand why you are so strongly opposed to this and
    use as your only arguments that a) the problem being solved is not
    important and b) the problem could be solved by some complex and vague
    other solution that does not currently exist.


    I had really hoped to receive more comments on my earlier RFC. Because
    now I still feel like it's just you and me disagreeing and we are
    getting nowhere. I really do want to know what others think so I can
    make a better judgment on whether or not my idea is really this crazy
    and if I should just shut up about it or not (so dear reader if you have
    an opinion then please share).

    Best regards,
    Nowa



    Well, I don't know whether my opinion counts for much, but count me in
    to add USE="dkms" to my make.conf the moment this is merged. I do use
    more than 1 kernel and the current situation with @module-rebuild often
    makes me boot to a kernel without all the required modules, so I end up without my home directory after a reboot because portage randomly
    decided to not rebuild zfs module for certain reasons.

    I haven't looked at the implementation in the PR, so can only comment
    that DKMS on Ubuntu worked very well, back before I switched to Gentoo, specifically because of how DKMS handled nvidia drivers.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nowa Ammerlaan@21:1/5 to Ionen Wolkens on Mon Mar 17 11:20:01 2025
    On 15/03/2025 04:56, Ionen Wolkens wrote:
    This just feels like a messy half-solution that we're better off
    without.

    So NACK from me, both for linux-mod-r1 and adding support to my
    packages like nvidia-drivers.

    Not that I'll revert if it gets merged anyway.

    Is there anything I can say or do to convince you otherwise? I honestly
    believe that I have addressed all concerns that have been raised so far.

    I don't think so, it's more the idea in itself that I dislike than the implementation. Not that the latter helps with its kind of unintended hacked-on-top linux-mod-r1 implementation that (as you know) not all
    ebuilds can use right now... but I generally want to avoid requesting improvements given it's unlikely it'd change how I feel about this.

    As noted on PR, *if* we really want to support rebuilding for multiple kernels it's something that could be done with a linux-mod-r2 eclass
    rather than dkms (not that it wouldn't require work because of the way current linux-info works, and some ebuilds would need to be adapted in
    a multilib kinda way), and I'm not convinced the "rebuild at boot" is
    really meaningful esp. with distribution kernels that are controlled
    by the PM.

    I really don't see how we can reasonably solve this problem via eclass
    given that the number of possible kernel targets is way bigger then for
    example multilib, PYTHON_TARGETS etc. Plus we also have to account for
    kernels that are not built and installed by the package manager. In my
    opinion what you propose here is unnecessarily complex and I really
    doubt it will work.

    PM limitations could be improved in future EAPIs, like a way to have
    proper hooks for modules and initramfs rebuilding so that we wouldn't
    have to rely on (not really slot-able) virtual/dist-kernel and
    duplicated initramfs generation. It could potentially also clean old
    modules safely then. Such hooks system would also be handy for other
    things like rebuilding gtk icon cache and such rather than doing it per-ebuild (we may already have a bug for this somewhere?).

    And I don't feel that this is all important/urgent enough that we need
    to establish (hacky) dkms usage in the interim as a "better than
    nothing" solution. *Vast* majority of users only care about one kernel,
    at most the old just need to be able to boot into a console to fix
    issues if something went wrong (that nvidia-drivers may mismatch with userspace is not great, but not getting GPU acceleration is not the
    the end of the world in that situation).

    Not great but, if one rare user really needs to rebuild for multiple
    kernels, there are still (unintuitive) ways to do that in the interim
    such as emerging modules multiple times by pointing to different
    linux sources -- but again emphasis on that not really many need this.

    Well I don't know what to say other then that I strongly disagree. This
    is not hacky, DKMS is the standard solution in many many other
    distributions and it works pretty well there. I really don't understand
    why it could not work equally well for us. In fact, I'll turn this
    around and say that our current solution with the slotted
    virtual/dist-kernel is hacky. It works poorly mainly because there is no relation between the actual kernel target and the installed slot of the
    virtual (other then a warning if the eclass detects a mismatch). This
    makes the binpkg situation here a mess. Downgrading is difficult.
    Portage is extremely slow in resolving all these slot dependencies. And
    all of this is not intuitive and very confusing for new users.

    I do not agree that these problems are not important. Out of tree kernel modules are essential to many systems, and therefore this should "just
    work". Sure it's a fixable problem when it breaks, but it's annoying and requires manual intervention. Gentoo deserves better, and we can very
    easily make it better by doing what loads of other distributions are
    also doing (i.e. use DKMS).

    I am **not** proposing this as an interim solution (I hate interim
    solutions), I am proposing this as a permanent alternative method of
    managing kernel modules where the package manager is less involved
    (while still retaining user compiler/flag preferences etc). Reworking linux-info so it can support multiple targets is still possible, these
    things are not mutually exclusive (though I still believe DKMS is the
    better solution even if we do rework the eclasses).

    I really do not understand why you are so strongly opposed to this and
    use as your only arguments that a) the problem being solved is not
    important and b) the problem could be solved by some complex and vague
    other solution that does not currently exist.


    I had really hoped to receive more comments on my earlier RFC. Because
    now I still feel like it's just you and me disagreeing and we are
    getting nowhere. I really do want to know what others think so I can
    make a better judgment on whether or not my idea is really this crazy
    and if I should just shut up about it or not (so dear reader if you have
    an opinion then please share).

    Best regards,
    Nowa

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli Schwartz@21:1/5 to Ionen Wolkens on Mon Mar 17 17:30:01 2025
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------J2quNGboU2PfKBqEBBlyiAk0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    On 3/14/25 11:56 PM, Ionen Wolkens wrote:
    I don't think so, it's more the idea in itself that I dislike than the implementation. Not that the latter helps with its kind of unintended hacked-on-top linux-mod-r1 implementation that (as you know) not all
    ebuilds can use right now... but I generally want to avoid requesting improvements given it's unlikely it'd change how I feel about this.


    So what I'm hearing from this is that you simply dislike sys-kernel/dkms itself, and would be okay having it treecleaned as you don't think
    anyone should use it, but out of respect for the fact that someone else packaged it and cares about it are refraining from submitting a
    treeclean request.

    However, you are taking the opportunity of eclass review to register
    your conscientious objections to the existence of the dkms software, and stating your reservations about anyone making use of it for example in
    an eclass on the grounds of the aforementioned skepticism that the
    software should exist / be packaged.

    I can respect that opinion, but it's also going to influence my view of
    this discussion, namely, that when you critique this proposal, your
    critique isn't actually a critique of the proposal, but a statement that
    in a distro about choice, your choice is the other choice, not this choice.

    I think there's room in Gentoo for both choices, as long as the choices
    are implemented well for their respective users, which I think that this
    dkms proposal is.


    As noted on PR, *if* we really want to support rebuilding for multiple kernels it's something that could be done with a linux-mod-r2 eclass
    rather than dkms (not that it wouldn't require work because of the way current linux-info works, and some ebuilds would need to be adapted in
    a multilib kinda way), and I'm not convinced the "rebuild at boot" is
    really meaningful esp. with distribution kernels that are controlled
    by the PM.

    PM limitations could be improved in future EAPIs, like a way to have
    proper hooks for modules and initramfs rebuilding so that we wouldn't
    have to rely on (not really slot-able) virtual/dist-kernel and
    duplicated initramfs generation. It could potentially also clean old
    modules safely then. Such hooks system would also be handy for other
    things like rebuilding gtk icon cache and such rather than doing it per-ebuild (we may already have a bug for this somewhere?).


    "proper hooks" would work exactly like pkg_postinst in that you are able
    to run gtk icon cache regeneration via a PM hook after a package is
    installed. Other package managers have explored the same design space,
    so we can know that it works, and also *how* it works.

    The defining nature of a PM hook as opposed to a pkg_postinst command is
    that it operates per installation session (a complete emerge run) as
    opposed to running once per package, and that it is injected into
    packages by the PM rather than requiring each package to add code to pkg_postinst.

    It will not and cannot provide much of anything in the way of additional facilities above and beyond pkg_postinst in terms of targeting other
    kernel targets outside of virtual/dist-kernel. It's possible to trigger
    an action based on installing a /boot/vmlinuz-* or /lib/modules/*/
    filesystem entry recorded in the vdb inside CONTENTS, but that helps
    nearly not at all, given the extreme frequency of users using something
    other than dist-kernel, such as gentoo-sources.

    The gentoo-sources kernel is not even installed via portage, it is inconceivable that a future EAPI hook system could run a PM hook in
    response to `make install modules_install`.

    But fine, let's ignore all that. What command would you like to run in
    such a PM hook?

    Other distros that have such hooks, run... `dkms install`. :) Because it
    has to trigger on installing a new kernel, and because the whole point
    of a hook is to do things *outside* of an individual package recipe,
    which means it doesn't have access to the environment file and cannot
    know how to build a particular module unless there's a PM-independent
    framework such as dkms to do so.


    Since PM hooks give you nothing but the ability to run the same action, triggered by multiple packages, only once instead of once per package,
    it logically infers that you can still upgrade linux-mod-r1 today,
    without waiting for "PM hooks" to materialize. Simply... have
    linux-mod-r1 execute a pkg_postinst that loops over all installed
    kernels and builds for all of them.

    This is strictly a subset of what "PM hooks" can do, but only because
    "PM hooks" would also run whenever a kernel is installed or upgraded,
    and gentoo-kernel-*.ebuild cannot recursively trigger emerge
    @module-rebuild (nor could "PM hooks", but "PM hooks" could trigger
    `dkms install` if module sources were installed to the dkms framework,
    which you have rejected as hacky).


    And I don't feel that this is all important/urgent enough that we need
    to establish (hacky) dkms usage in the interim as a "better than
    nothing" solution. *Vast* majority of users only care about one kernel,
    at most the old just need to be able to boot into a console to fix
    issues if something went wrong (that nvidia-drivers may mismatch with userspace is not great, but not getting GPU acceleration is not the
    the end of the world in that situation).

    Not great but, if one rare user really needs to rebuild for multiple
    kernels, there are still (unintuitive) ways to do that in the interim
    such as emerging modules multiple times by pointing to different
    linux sources -- but again emphasis on that not really many need this.


    Sorry but I do not understand at all where you are coming from. The dkms proposal is presenting itself as a possible alternative and arguing that
    it's stable, reliable, robust and a permanent option with no intention
    of ever being declared obsolete and being removed from ::gentoo.

    It is indisputable that there are people who regard dkms as value-add in
    its own right -- that is why there is a "sys-kernel/dkms" package in the
    first place, you know -- and the people in that camp will not accept any
    other solution as answering their needs, which I think is a compelling
    proof that this isn't

    "a hacky interim solution that is better than nothing"

    Which is total misrepresentation of the entire discussion.

    Moreover, you're arguing how dkms is "hacky interim solutions" and
    refusing to consider it and instead saying that there are "still
    (unintuitive) ways to do that in the interim" and then you
    unenthusiastically talk about something you're plainly not at all
    convinced about either.

    How is it that you can tell someone who claims to be proposing a
    non-hacky solution:


    """
    no, you're wrong, your solution is in fact a hack actually. I don't like
    it, hacks are gross and we shouldn't add hacks. Instead, I propose a
    different hack which people should use instead. Maybe one day someone
    will propose an unspecified PMS solution for this.
    """

    No. Sorry. You're the one proposing hacky interim usage as a "better
    than nothing" solution.

    Building modules inside a package does have significant usefulness for
    the purpose of e.g. rolling out cached binary packages to a fleet of
    boxes, but I can't accept the notion that hackily changing the kernel
    sources and repeatedly running `emerge @module-rebuild` is a good option
    either as an interim or a permanent approach to build modules for
    multiple kernels.


    --
    Eli Schwartz

    --------------J2quNGboU2PfKBqEBBlyiAk0--

    -----BEGIN PGP SIGNATURE-----

    wnsEABYIACMWIQTnFNnmK0TPZHnXm3qEp9ErcA0vVwUCZ9hMkwUDAAAAAAAKCRCEp9ErcA0vV6D4 AQCoopFefILG7c6cd+j5APC/wnApAVoqi7J/+ouIjQKA1AD/cnkXmClNPfezOIlCuuyT8Iy7yl2H qfuqwxZlUaAKBwk=
    =UbPi
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Duncan@21:1/5 to All on Tue Mar 18 04:20:01 2025
    Nowa Ammerlaan posted on Mon, 17 Mar 2025 11:11:06 +0100 as excerpted:

    I had really hoped to receive more comments on my earlier RFC. [...]
    I really do want to know what others think so I can
    make a better judgment on whether or not my idea is really this crazy
    and if I should just shut up about it or not (so dear reader if you have
    an opinion then please share).

    So because I carried over my own already "works for me" kernel maintenance scripts from Mandrake when I switched in 2004 and have continued
    maintaining and using them over the decades since, I normally try to stay
    out of Gentoo kernel packaging discussion. But given both the above
    explicit invitation and that as I've read the thread a thought occurred to me...

    First, DKMS /is/ a cross-distro standard solution. As such, I believe in general it should be reasonably supported in Gentoo unless it simply
    doesn't make sense (note that "doesn't make sense" can also include the
    case of simply no one stepping up to do it, not the case here).

    But, the thought that occurred to me reading the thread, was that there
    are obvious parallels between this and another very significant and controversial now "cross distro standard solution" (which I guess I don't
    need to name explicitly).

    As there, I believe "the Gentoo approach" should (again assuming developer willingness to do the work, seemingly the case here) make it available as
    an additional integrated *option*, while keeping the current Gentoo option
    as well.

    So I support DKMS integration /as/ /an/ /option/.

    That said, in keeping with my normal policy I'll avoid comment on whether
    this specific implementation is the best way to do it, vs. something else (which might actually be as simple as a good dkms gentoo-wiki page, or to complete the parallel, may be complex enough to justify installation
    handbook integration).

    (Meanwhile, in terms of my personal dkms experience, while my normal
    kernel maintenance scripts don't use it, I ran across it in an upstream
    kernel bug tracing discussion at one point and recall being rather
    confused, having to ddg it, etc. Once I figured out what it actually was
    I had the context necessary to decide I was better off slightly modifying
    my existing approach than trying to learn something new "that probably
    made binary-distro assumptions I'd have to work around anyway". If it was
    well integrated into Gentoo including documentation I'd have probably at
    least have heard about it, and would likely have had a much better idea
    whether and how it would mesh with my own kernel maintenance scripts. So that's why, as an accepted cross-distro standard solution, I'm in favor of integrating it, even if I may or may not be able to personally take
    advantage of that given my otherwise independent kernel scripts solution.)

    --
    Duncan - List replies preferred. No HTML msgs.
    "Every nonfree program has a lord, a master --
    and if you use the program, he is your master." Richard Stallman

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)