Bug#923924: Please review and apply attached patch to support shutdown on SIGPWR

2019-03-23 Thread Cameron Norman
On Mon, 11 Mar 2019 20:51:29 +0100 Andras Korn wrote: > On Mon, Mar 11, 2019 at 06:12:06PM +, Dmitry Bogatov wrote: > > > > On Fri, Mar 08, 2019 at 02:39:47PM +, Dmitry Bogatov wrote: > > > > [2019-03-07 12:57] Andras Korn > > > > > part 1 text/plain 218 > > > > >

Bug#923924: Please review and apply attached patch to support shutdown on SIGPWR

2019-03-13 Thread Dmitry Bogatov
control: tags -1 +patch +pending [2019-03-11 20:51] Andras Korn > This is entirely in line with The Unix Way: making one program a > drop-in replacement for another such that other programs interfacing > with them don't see a difference unless they need to. It's why bzip2 > and gzip take most

Bug#923924: Please review and apply attached patch to support shutdown on SIGPWR

2019-03-11 Thread Andras Korn
On Mon, Mar 11, 2019 at 06:12:06PM +, Dmitry Bogatov wrote: > > On Fri, Mar 08, 2019 at 02:39:47PM +, Dmitry Bogatov wrote: > > > [2019-03-07 12:57] Andras Korn > > > > part 1 text/plain 218 > > > > Sorry, I sent an earlier version of the patch by mistake. > > > > > >

Bug#923924: Please review and apply attached patch to support shutdown on SIGPWR

2019-03-11 Thread Dmitry Bogatov
[2019-03-10 12:09] Andras Korn > On Fri, Mar 08, 2019 at 02:39:47PM +, Dmitry Bogatov wrote: > > [2019-03-07 12:57] Andras Korn > > > part 1 text/plain 218 > > > Sorry, I sent an earlier version of the patch by mistake. > > > > > > I'm attaching the correct one, which I

Bug#923924: Please review and apply attached patch to support shutdown on SIGPWR

2019-03-10 Thread Andras Korn
On Fri, Mar 08, 2019 at 02:39:47PM +, Dmitry Bogatov wrote: Hi, > [2019-03-07 12:57] Andras Korn > > part 1 text/plain 218 > > Sorry, I sent an earlier version of the patch by mistake. > > > > I'm attaching the correct one, which I tested and which works for me. > >

Bug#923924: Please review and apply attached patch to support shutdown on SIGPWR

2019-03-08 Thread Dmitry Bogatov
[2019-03-07 12:57] Andras Korn > part 1 text/plain 218 > Sorry, I sent an earlier version of the patch by mistake. > > I'm attaching the correct one, which I tested and which works for me. > [...] > - if (sigc && (stat(STOPIT, ) != -1) && (s.st_mode & S_IXUSR)) { > +

Bug#923924: Please review and apply attached patch to support shutdown on SIGPWR

2019-03-07 Thread Andras Korn
Sorry, I sent an earlier version of the patch by mistake. I'm attaching the correct one, which I tested and which works for me. AndrĂ¡s -- Reality is that which, when you stop believing in it, doesn't go away. diff --git a/runit-2.1.2/man/runit.8 b/runit-2.1.2/man/runit.8 index

Bug#923924: Please review and apply attached patch to support shutdown on SIGPWR

2019-03-07 Thread Andras Korn
Package: runit Version: 2.1.2-22 Severity: wishlist Tags: upstream Hi, currently lxc can't cleanly shutdown a container running runit as its init system, because all it can do to bring about a shutdown is send signals to init (sigpwr by default), and runit requires additional steps to initiate a