Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23309 - runscript.sh complains about a not found command for every daemon run
Summary: runscript.sh complains about a not found command for every daemon run
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-22 22:28 UTC by Markus
Modified: 2003-09-07 16:09 UTC (History)
0 users

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


Attachments
My rc.conf file (rc.conf,3.17 KB, text/plain)
2003-09-07 15:40 UTC, Daniel Lynn
Details
My rc.conf file (rc.conf,3.17 KB, text/plain-text)
2003-09-07 15:41 UTC, Daniel Lynn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus 2003-06-22 22:28:56 UTC
During startup or when e.g. starting apache manually via "/etc/init.d/apache 
start" I receive the following error:

/sbin/runscript.sh: line 21: selection: command not found

This error message turns up for every daemon that is defined.

I tried to check the runscript.sh file but found nothing on line 21. The funny 
thing is that when I removed some empty lines in the area from line 1 to 50 the 
error message stayed the same ! (although I would have expected that line 21 
would become line 17 or something like that).

This seems to be an error I can't track down. Anybody knows how to fix this ? I 
searched google and the forum but didn't find anything that matches this error.




Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-06-23 12:48:26 UTC
What version of baselayout ?
Comment 2 Markus 2003-06-25 07:23:14 UTC
I used 1.8.6.7, downgrading to 1.8.5.9 helped (your question helped me to understand gentoo better, now I know to some extend the meaning of "baselayout" ;-))
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-07-17 12:53:18 UTC
Could you update again, and if still the issue, please attach you /etc/rc.conf.
Sorry for the long delay - was MIA.
Comment 4 Daniel Lynn 2003-09-07 15:40:55 UTC
Created attachment 17239 [details]
My rc.conf file
Comment 5 Daniel Lynn 2003-09-07 15:41:13 UTC
Created attachment 17240 [details]
My rc.conf file
Comment 6 Daniel Lynn 2003-09-07 15:42:23 UTC
Comment on attachment 17240 [details]
My rc.conf file

disregard this attachment -- it is a double post.
Comment 7 Daniel Lynn 2003-09-07 15:46:58 UTC
I am having a similar problem. Every time I start / stop / restart a daemon using the /etc/init.d/service start|stop|restart method I get the following error:

/sbin/runscript.sh: line 52: 5:: command not found

Line 52 is fine, there is no syntax error.

I am using baselayout-1.8.6.8-r1

(P.S. -- I attached my rc.conf file. I was getting an error when I submitted it so I accidentally submitted it twice. My appologies!)
Comment 8 Daniel Lynn 2003-09-07 15:50:17 UTC
Ah! I'm really sorry I just looked at my rc.conf file and found the problem, though I don't know how this happened.

There is a line that was uncommented that shouldn't have been. I have fixed it.

Sorry for clogging this thread!
Comment 9 Daniel Lynn 2003-09-07 15:50:56 UTC
Comment on attachment 17239 [details]
My rc.conf file

fixed error in rc.conf file, line 52
Comment 10 Martin Schlemmer (RETIRED) gentoo-dev 2003-09-07 16:09:05 UTC
Yep, I changed the comments a bit in .10 to help that issue.  Closing.