[lsb-discuss] Re: REVIEW: System Initialization

anderson at freestandards.org anderson at freestandards.org
Tue Jun 17 10:35:00 PDT 2003

On Tue, 17 Jun 2003, Tobias Burnus wrote:

> Hi,
> a) [PATCH]
> This patch does
> - Change "program is stopped" to "program is not running"
>   for the "status" exit status codes in order to reduce possible
>   confusion with "SIGSTOP"
> - Change the exit status code for "killproc" for the case that the
>   program is not running:
>   "0"     if no signal is given (= TERM, wait, KILL; this is default use
>           for "stop" and matches the exit code for "stop")
>   "not 0" ("7"=program is not running) if a signal (such as HUP) is given
> b) Other things that should (probably) be added, but I didn't:
> - PID format: If multiple PIDs exists, they should be space separated
>   in the PID file. (And this should be also the format used by
>   pidofproc.)
> - killproc should remove the PID file it the program is no longer running.
>   (This happens with signal KILL, send by default if TERM didn't work.)
>   A bit clean-up is not bad, especially if the program cannot do anything
>   about.
> Tobias

I've applied this patch, and will be posting a new WIP document shortly.


anderson at freestandards.org                             Free Standards Group
Lead Developer, Written Specification                  Linux Standard Base
1024D/37A79149:                                        0791 D3B8 9A4C 2CDC A31F
                                                       BD03 0A62 E534 37A7 9149

More information about the lsb-discuss mailing list