Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51012 - runscript's need handling fails to see started services
Summary: runscript's need handling fails to see started services
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Reported: 2004-05-14 00:37 UTC by Eivind Tagseth
Modified: 2006-02-05 23:02 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Eivind Tagseth 2004-05-14 00:37:43 UTC
At least for net services.  The current code in looks like this:

if [ "${x}" = "net" -a "${NETSERVICE}" != "yes" ]
    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.

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!