Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 344919

Summary: sys-apps/openrc: init.d/modules: different module list with LOCALVERSION
Product: Gentoo Linux Reporter: Safak Oekmen <safak.oekmen>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info retrieved from pastebin

Description Safak Oekmen 2010-11-10 12:20:02 UTC
kernel-2.6.36 compiled with LOCALVERSION="kms" yielding seperate modules directory in /lib/modules/2.6.36-gentookms. 

Issue: loading from directory /lib/modules/2.6.36-gentookms with aid of in a new statement in configuration file /etc/conf.d/modules: modules_2_6_36_<postfix>='list of modules'.

No way found to postfix modules_2_6_36<postfix> 

<postfix> element of {_gentookms, _gentoo_kms, _kms} such that modules are selected from given list. Any hints appreciated. Thanks.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-11-10 16:00:51 UTC
Please post your `emerge --info' in a comment.
Comment 2 Safak Oekmen 2010-11-10 16:23:19 UTC
emerge --info
http://paste.pocoo.org/show/289018/

sorry, I can't copy paste it here and on the pc running the problem, there is no webbrowser available so I got a link with wgetpaste.
Comment 3 Wormo (RETIRED) gentoo-dev 2010-11-14 04:09:32 UTC
Created attachment 254265 [details]
emerge --info retrieved from pastebin
Comment 4 SpanKY gentoo-dev 2010-12-06 10:33:26 UTC
as wormo highlighted, do not post links to pastebin in bugzilla.  those sites die over time.

looks to me like the modules init.d script already checks `uname -r` which includes any local suffix strings.

...
start() {
...
    local KV=$(uname -r)
...
    for x in "$KV" \
...
        eval list=\$modules_$(shell_var "$x")
        [ -n "$list" ] && break
...