Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104020 - /etc/init.d/autoconfig schedule_service_startup: command not found
Summary: /etc/init.d/autoconfig schedule_service_startup: command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-08-28 04:42 UTC by Michiel Hazelhof
Modified: 2005-09-06 13:56 UTC (History)
0 users

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 Michiel Hazelhof 2005-08-28 04:42:41 UTC
/etc/init.d/autoconfig start (which is part of the livecd-tools), just borks
since my latest update of my livecd.

It gives;
/etc/init.d/autoconfig: line 144 (187&198 to) schedule_service_startup: command
not found

I have tryed some older versions, removed all config files etc. It just keeps
giving this error for some reason.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-08-29 07:21:49 UTC
wolf31o2@workbox /lib/rcscripts/sh $ grep schedule_service_startup
/lib/rcscripts/sh/rc-services.sh
# void schedule_service_startup(service)
schedule_service_startup() {

wolf31o2@workbox /lib/rcscripts/sh $ equery b /lib/rcscripts/sh/rc-services.sh
[ Searching for file(s) /lib/rcscripts/sh/rc-services.sh in *... ]
sys-apps/baselayout-1.11.13 (/lib/rcscripts/sh/rc-services.sh)

What version of baselayout are you using in your snapshot?
Comment 2 Roy Marples (RETIRED) gentoo-dev 2005-08-30 09:40:25 UTC
schedule_service_startup has been removed in baselayout-1.12.0_pre - I scanned
the tree and nothing used this function that I could find.

If a LiveCD only tool uses it then it will need to use start_service instead
which works across all baselayout versions.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-08-30 10:36:56 UTC
*sigh*

I guess I'll get on this as soon as I get a chance.  For now, I recommend
sticking with the stable versions of baselayout, as we have *never* supported
the testing versions in any livecd-tools version.
Comment 4 Roy Marples (RETIRED) gentoo-dev 2005-08-30 14:39:05 UTC
On the bright side, at least it was found before 1.12 goes stable :)
Comment 5 Michiel Hazelhof 2005-08-31 01:24:18 UTC
(In reply to comment #4)
> On the bright side, at least it was found before 1.12 goes stable :)

Yeah that is good, but the bad thing is I "hacked" most of my baselayout files,
so downgrading costed me some time. 

But isnt it possible to get a quick fix for the latest ~x86?
Comment 6 Roy Marples (RETIRED) gentoo-dev 2005-08-31 03:07:15 UTC
You can always add the following to /lib/rcscripts/sh/rc-services.sh

schedule_service_startup() {
   start_service "$@"
}
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2005-08-31 05:54:20 UTC
...or Add:
sed -i 's/schedule_service_startup/start_service/' /etc/init.d/autoconfig

to a fsscript in your livecd-stage2...
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2005-09-06 13:56:15 UTC
In livecd-tools 1.0.25