Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 344919 - sys-apps/openrc: init.d/modules: different module list with LOCALVERSION
Summary: sys-apps/openrc: init.d/modules: different module list with LOCALVERSION
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-10 12:20 UTC by Safak Oekmen
Modified: 2010-12-06 10:33 UTC (History)
0 users

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


Attachments
emerge --info retrieved from pastebin (emerge_info,5.16 KB, text/plain)
2010-11-14 04:09 UTC, Wormo (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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
...