Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934535 - sys-apps/kmod-32-r1 missing sbin symlinks on split-usr
Summary: sys-apps/kmod-32-r1 missing sbin symlinks on split-usr
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on: 934631
Blocks:
  Show dependency tree
 
Reported: 2024-06-19 07:22 UTC by Anthony Mendez
Modified: 2024-06-21 03:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Mendez 2024-06-19 07:22:58 UTC
With versions of kmod older than v31 and older, the ebuild will create symbolic links in sbin for: depmod, insmod, modprobe, rmmod.

With kmod v32, only the modprobe symbolic link will be created.

In particular, this issue breaks the genkernel script gen_configkernel.sh which expects to find depmod in the sbin directory when module compression is enable in the kernel. 

Reproducible: Always

Steps to Reproduce:
Install kmod v32.
Actual Results:  
Missing symbolic links:
/sbin/depmod
/sbin/insmod
/sbin/rmmod

Expected Results:  
Symbolic links not to be missing.

I check the kmod binary packages for amd64 and arm64 and verified that the symbolic links were created on kmod v31.
Comment 1 Mike Gilbert gentoo-dev 2024-06-20 20:19:36 UTC
There's no reason for genkernel to hard code the path to depmod. How unfortunate.
Comment 2 Larry the Git Cow gentoo-dev 2024-06-21 02:23:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb13455af714ffb37726b04cbc87f91bbc2fbf97

commit eb13455af714ffb37726b04cbc87f91bbc2fbf97
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2024-06-21 02:16:09 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2024-06-21 02:19:07 +0000

    sys-apps/kmod: move kmod and symlinks back to /
    
    This allows us to drop the split-usr USE flag and maintains
    compatibility with the kernel and genkernel.
    
    Closes: https://bugs.gentoo.org/934535
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-apps/kmod/{kmod-32-r1.ebuild => kmod-32-r2.ebuild} | 14 +++++++++-----
 sys-apps/kmod/kmod-9999.ebuild                         | 14 +++++++++-----
 2 files changed, 18 insertions(+), 10 deletions(-)
Comment 3 Anthony Mendez 2024-06-21 03:29:46 UTC
Thanks for the super fast response! I really appreciate it!