Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21036 - /etc/init.d handler does not run perl based script on start-up
Summary: /etc/init.d handler does not run perl based script on start-up
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
Depends on:
Reported: 2003-05-14 22:17 UTC by Derk W te Bokkel
Modified: 2003-05-21 14:19 UTC (History)
2 users (show)

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 Derk W te Bokkel 2003-05-14 22:17:15 UTC
on start-up the /etc/init.d/ptal-init script (link to /usr/local/sbin/ptal-init  part of hpoj / hpijs) 
which used to work has stopped working properly as the init.d handler claims  
that there is a syntax error in the file. 
on manual use the script works fine.. and had since Nov 2002 when it was first installed. 
something in the runlevel handler has changed so it now chokes on this script. 
Can any one help me resolve this? 
recent changes include updates to the most recent linux-2.4.21_rc1-gss-r1  
and the most recent baselayout under ~x86 
I suspect the baselayout. what changed that might have caused this?
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-05-21 14:19:55 UTC
I cannot think that it was ever run by the init stuff, as it have since
yonders looked for '#!/sbin/runscript' else it wont run it.  I did inbetween
update some of the error messages and handling (if running 1.8.6.*), so maybe
only noticing it now ...

Anyhow, the init system is not designed to run a straight perl script.  Either
put it in /etc/conf.d/local.start, or create a wrapper script for it.