Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14556 - boot time /sbin/runscript.sh: error messages
Summary: boot time /sbin/runscript.sh: error messages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-25 20:32 UTC by Ernie Schroder
Modified: 2003-04-06 11:00 UTC (History)
1 user (show)

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


Attachments
/sbin/runscript.sh: line 76: fg: no job control (runscript.sh,14.21 KB, text/x-sh)
2003-01-29 03:21 UTC, Dave Smith (lanalyst)
Details
Ernie's /sbin/runscript.sh (runscript.sh,14.21 KB, application/x-shellscript)
2003-01-29 07:27 UTC, Ernie Schroder
Details
hmmm lines 35 & 36 (rc.conf,2.75 KB, text/plain)
2003-02-16 19:12 UTC, Ernie Schroder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ernie Schroder 2003-01-25 20:32:54 UTC
I have 2 Gentoo boxes and both seem to have a problem that I'd like to track  
down. On shutdown and on boot both show an error: 
/sbin/runscript.sh: line 35 2 : : Command not found 
/sbin/runscript.sh: line 36 2 : : Command not found 
I asked a friend about it and he decided to reboot his Gentoo box He has it  
too. It doesn't seem serious as I can't find anything that won't work that I  
can tie to it but the message is annoying as, especially on a boot, it is  
repeated 100 or so times.
Comment 1 SpanKY gentoo-dev 2003-01-26 16:09:56 UTC
please provide more input ... like after what messages do you see these errors ? 
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-26 20:47:15 UTC
Please include the baselayout version, as well as a copy of /sbin/runscript.sh.
Comment 3 Dave Smith (lanalyst) 2003-01-29 03:19:08 UTC
Not sure is this is related but rather than start a new bug, I'll attach here:

Seems all init.d scripts display:
/sbin/runscript.sh: line 76: fg: no job control

when running, either at system startup or when running them manually.  All
scripts seem to run ok.  sys-apps/baselayout-1.8.5.8 emerged on 1/24 .. noticed
messages this AM after rebooting system.  I'll attach runscript.sh.

Thanks
Comment 4 Dave Smith (lanalyst) 2003-01-29 03:21:33 UTC
Created attachment 7724 [details]
/sbin/runscript.sh: line 76: fg: no job control
Comment 5 Ernie Schroder 2003-01-29 07:23:30 UTC
baselayout version is 1.8.5.8  error is repeated on shutdown after shutting down random seed shutting down dhcpd and others and on boot, among several others: bringing up lo bringing up random # generator bringing up eth0 bringing up syslogd,klog I will attach /sbin/runscript.sh 
Comment 6 Ernie Schroder 2003-01-29 07:27:13 UTC
Created attachment 7728 [details]
Ernie's /sbin/runscript.sh
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-02 03:30:10 UTC
As for the first problem .. line 35 and 36 is comments ..., so wierd one :/

For the job control one .. bash detects if the OS supports it.  Could be a
glibc/kernel problem I guess.  What kernel ?
Comment 8 Ernie Schroder 2003-02-02 11:56:52 UTC
yeah, wierd as hell but I'm not seeing the error that Dave has.The fact remains, though I have an error that seems to mean nothing on 3 of 4 Gentoo boxes. 
Comment 9 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-03 14:23:51 UTC
Maybe try to remerge glibc/bash ?  Also check that you do not have too aggressive
CFLAGS when doing this ...
Comment 10 William Brack 2003-02-04 01:20:03 UTC
could you try to re-emerge baselayout (just to eliminate a possible problem in the /sbin/runscript.sh file) - previous 'comment' lines in the file have been processed without problem, so problem with bash/glibc is unlikely.
Comment 11 Chris Janscen 2003-02-09 18:51:41 UTC
Hey, I get this bug too at startup and shutdown. Same as above ecept like:

/sbin/runscript.sh: line 35 1 : : Command not found 
/sbin/runscript.sh: line 36 2 : : Command not found 

A one instead of a two?!

Machine type : Athlon XP, CCFLAGS = -march-athlon-xp -O3 -something else I forgot

I tried removing the commands after the comment block starting on line 35, because I 
figured whatever is parsing runscript.sh would ignore lines beginning with \n and # right?
It didn't change a thing, but its a thought.

Chris Janscen.
Comment 12 kde123 2003-02-14 20:35:29 UTC
Similarly, I get xdm|kde "command not found" at runscript.sh line 53 after adding 
xdm to the default runlevel (depends on whether I have xdm or kdm in /etc/rc.conf).  
The error occurs at each invocation of runscript.sh during the boot process. 
Comment 13 kde123 2003-02-14 20:38:00 UTC
I am at baselayout 1.8.5.8 
Comment 14 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-16 18:39:27 UTC
Hmm, just had an idea .. please attach your /etc/rc.conf.
Comment 15 Ernie Schroder 2003-02-16 19:12:35 UTC
Created attachment 8344 [details]
hmmm lines 35 & 36
Comment 16 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-28 10:17:09 UTC
Yep, you need to add '1' and '2' to PROTOCOLS="..." line .....

Please close this if you changed /etc/rc.conf and it is fixed, thanks.
Comment 17 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-28 10:19:58 UTC
BTW, I adjusted the comments in /etc/rc.conf to try and prevent this.
Comment 18 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-06 11:00:02 UTC
Comments in /etc/rc.conf is fixed to be much clearer, so this should be fixed.