Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211189 - baselayout-2 with openrc-9999 has incomplete functions.sh
Summary: baselayout-2 with openrc-9999 has incomplete functions.sh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-23 18:25 UTC by Timothy Stotts
Modified: 2008-03-22 23:02 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 Timothy Stotts 2008-02-23 18:25:01 UTC
The file /etc/init.d/functions.sh provided by baselayout-2 with openrc-9999 from the uberlord overlay is incomplete.

A specific example.

/sbin/modules-update from sys-apps/module-init-tools requires function KV_to_int() to update /etc/modprobe.conf .  However, the provided version of /etc/init.d/functions.sh is missing all of the KV functions. These functions are not just used by /etc/modules.autoload.d , but also by /sbin/modules-update .

Updating of modprobe.conf is a basic necessity of any Linux distro.

Reproducible: Always
Comment 1 Timothy Stotts 2008-02-23 18:26:13 UTC
Error message:

# update-modules 
/sbin/update-modules: line 118: KV_to_int: command not found
/sbin/update-modules: line 118: KV_to_int: command not found
#
Comment 2 Roy Marples 2008-03-03 14:31:31 UTC
Only modules-update requires KV_to_int, which works only for Linux systems (or systems whose versioning works purely off 3 dot seperated numbers). As modules-update isn't needed for newer module-init-tools, this function should die and be present only in modules-update.

In other words, I have no wish to add it to OpenRC.
Comment 3 SpanKY gentoo-dev 2008-03-22 23:02:10 UTC
latest module-init-tools has been rewritten