On Sun, May 19, 2024 at 11:12:35PM +0200, Helmut Grohne wrote: > Hi Luca, > > On Sun, May 19, 2024 at 06:04:38PM +0100, Luca Boccassi wrote: > > On Sun, 19 May 2024 18:42:17 +0200 Helmut Grohne <hel...@subdivi.de> > > wrote: > > > the init process should handle SIGTERM more like an init system would > > handle that > > > > This seems the obvious answer to me. sbuild is setting up a system such > > that its component runs as pid1, so it needs to behave like a pid1. We > > know this is special and requires supporting a number of interfaces. If > > a program doesn't, then it shouldn't be running as pid1 in a namespace. > > Did you mean "... so it needs to behave like a systemd"?
"..., when using telinit from systemd-sysv" It would seem like a reasonable assumption that systemd-sysv's telinit uses systemd-specific stuff, like SIGTERM. Chris