s6-svscan (documentation?) bug

From: Patrick Mahoney <pat_at_polycrystal.org>
Date: Mon, 07 Jul 2014 11:28:50 -0500

Hi,

The documentation for s6-svscan says

> SIGTERM : acts as if a s6-svscanctl -t command had been received.

However the source in s6-svscan:107

       case SIGTERM : cont = 0 ; wantkill = 1 ; killmode =
KILLMODE_ACTIVE | KILLMODE_SERVICES ; break ;

Is different from s6-svscan:130

       case 't' : cont = 0 ; killmode = KILLMODE_ACTIVE |
KILLMODE_SERVICES ; return ;

In practice, it seems that "s6-svscanctl -t" results in s6-svscan
exiting without killing any of its child
processes, while it does do so after receiving SIGTERM.

Thanks,

-- 
Patrick Mahoney
Received on Mon Jul 07 2014 - 16:28:50 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC