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

Bug 51012

Summary: runscript's need handling fails to see started services
Product: Gentoo Linux Reporter: Eivind Tagseth <eivindt-gentoo>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: VERIFIED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Eivind Tagseth 2004-05-14 00:37:43 UTC
At least for net services.  The current code in runscript.sh looks like this:

if [ "${x}" = "net" -a "${NETSERVICE}" != "yes" ]
then
    local netservices="$(dolisting "/etc/runlevels/${BOOTLEVEL}/net.*") \
    $(dolisting "/etc/runlevels/${mylevel}/net.*")"
                                        
I.e, when checking for services providing "net", it only checks the services
set up in the runlevels (boot and current), but fails to see any manually
started services.

I have a laptop with both a wireless card and a TP-card, and move between
different wireless zones and wireless/non-wireless daily without rebooting.
I therefore only list the most commonly used interface in my runlevels to
avoid the seemingly infinite timeout of dhcpcd (30 seconds) when booting,
and just switch between the net services manually.

When starting e.g. apache, the above runscript tries to start the
net service listed in the runlevel, even if another net service is
already running.


Eivind
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-05 10:08:11 UTC
Irrelevant stale bug, if you have some issues with current baselayout versions, please file a new one.
Comment 2 Eivind Tagseth 2006-02-05 23:02:07 UTC
As far as I can see, this is no longer a problem. Good work!