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

Bug 383301

Summary: sys-apps/busybox: mdev init.d misses new openrc dependencies
Product: Gentoo Linux Reporter: Nathan Phillip Brink (binki) (RETIRED) <binki>
Component: [OLD] Core systemAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: busybox-mdev-openrc.patch

Description Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2011-09-17 03:06:23 UTC
Created attachment 286741 [details, diff]
busybox-mdev-openrc.patch

When using parallel startup and whatnot, `mdev -s' gets run before sysfs is mounted on a modern (e.g., sys-apps/openrc-0.8.3-r1) version of openrc. This patch updates the script to require sysfs be mounted first.

The one potential question is whether or not the patch should copy the following line from the udev initscript:

    if [ -f /etc/init.d/sysfs ]; then

It supposedly adds graceful support for older openrc versions.
Comment 1 SpanKY gentoo-dev 2011-09-17 03:46:55 UTC
should be all set now in the tree; thanks for the report!

Commit message: Version bump.  Also update init.d script for openrc only
http://sources.gentoo.org/sys-apps/busybox/busybox-1.19.2.ebuild?rev=1.1
http://sources.gentoo.org/sys-apps/busybox/files/mdev.rc.1?rev=1.1