[lfs-support] ERROR: init-functions: killproc doesn't remove pid file after stopping process

2021-04-01 Thread Scott Andrews
case statement changes to     case "${retval}" in         0)    ;; # Program is running correctly         1)    # Program is not running, but an invalid pid file exists             # Remove the pid file.             # If a PID file exists with that name, assume that is it.             [ -z

Re: [lfs-support] ERROR: init-functions: killproc

2021-04-01 Thread Bruce Dubbs
I think you are right, but it's low priority right now. We are really busy trying to get a new server set up properly. For now there is http://wiki.linuxfromscratch.org/lfs/ticket/4842 -- Bruce On 4/1/21 9:35 AM, Scott Andrews wrote: This code is from killproc: If killproc is called (

[lfs-support] ERROR: init-functions: killproc

2021-04-01 Thread Scott Andrews
This code is from killproc: If killproc is called ( for example: /etc/init.d/sysklogd: killproc /sbin/klogd ) and the pid file exists and the process in not running: then the case statement receives a 1 exit status from from pidlist=`pidofproc "${1}"` ,pidlist contains "" and pidfile is