Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 29079

Summary: bug in sys-apps/baselayout 1.8.6.10-r1
Product: Gentoo Linux Reporter: SpanKY <vapier>
Component: [OLD] Core systemAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED INVALID    
Severity: normal CC: mr_bones_
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description SpanKY gentoo-dev 2003-09-19 02:45:13 UTC
from version 1.8.6.8-r1 of baselayout to 1.8.6.10-r1 the names of the functions
runlevel_start and runlevel_stop changed to is_<function name>, but this change
wasn't reflected in /sbin/runscript.sh which is used to start and stop all
services which causes the following error:


megatron root # /etc/init.d/sendmail restart
/sbin/runscript.sh: line 107: runlevel_stop: command not found
/sbin/runscript.sh: line 152: runlevel_stop: command not found
 * Stopping sendmail...
sendmail: no process killed                                                    
                                                      [ !! ]

/sbin/runscript.sh: line 210: runlevel_stop: command not found
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-09-20 02:14:02 UTC
# grep runlevel_start /sbin/runscript.sh 
		if is_runlevel_start && service_failed "${myservice}"
		if is_runlevel_start
		if [ "${retval}" -ne 0 ] && is_runlevel_start
# 

--------

Please delete /sbin/runscript.sh and remerge baselayout.  Else check if
sendmail do not use the missing functions, and add a bug against it.