Bug#910377: Inhibit reboot/shutdown if dpkg is running

2021-05-19 Thread Julian Andres Klode
On Wed, May 19, 2021 at 04:03:16PM +0200, Laurent Bigonville wrote: > reopen 910377 > reassign dpkg 1.20.9 > thanks > > On Sat, 31 Aug 2019 00:34:32 +0200 Michael Biebl wrote: > > > On Fri, 5 Oct 2018 21:30:43 +0200 Michael Biebl wrote: > > > Am 05.10.18 um 21:28 schrieb Michael Biebl: > > > >

Bug#910377: Inhibit reboot/shutdown if dpkg is running

2021-05-19 Thread Ansgar
Laurent Bigonville writes: > I'm reopening this issue and reassigning it dpkg package, that would > at least avoid non privileged users to restart the machine when there > is an update happening. For what it's worth apt supports this already when apt invokes dpkg: ```C++ if

Bug#910377: Inhibit reboot/shutdown if dpkg is running

2021-05-19 Thread Laurent Bigonville
reopen 910377 reassign dpkg 1.20.9 thanks On Sat, 31 Aug 2019 00:34:32 +0200 Michael Biebl wrote: On Fri, 5 Oct 2018 21:30:43 +0200 Michael Biebl wrote: > Am 05.10.18 um 21:28 schrieb Michael Biebl: > > That said, also keep in mind, that the inhibit mechanism does not work > > if the

Bug#910377: Inhibit reboot/shutdown if dpkg is running

2018-10-05 Thread Michael Biebl
Am 05.10.18 um 18:36 schrieb Laurent Bigonville: > Package: systemd > Version: 239-10 > Severity: wishlist > > Hi, > > Not sure if this should be reported here or in dpkg > > Shouldn't it be intresting to add a hook in dpkg to inhibit the > reboot/shutdown of the machine while packages are

Bug#910377: Inhibit reboot/shutdown if dpkg is running

2018-10-05 Thread Michael Biebl
Am 05.10.18 um 21:28 schrieb Michael Biebl: > That said, also keep in mind, that the inhibit mechanism does not work > if the reboot request is triggered by privileged users [1], e.g. if you > trigger a reboot as root, an existing inhibitor blocks are ignored. > [1]

Bug#910377: Inhibit reboot/shutdown if dpkg is running

2018-10-05 Thread Laurent Bigonville
Package: systemd Version: 239-10 Severity: wishlist Hi, Not sure if this should be reported here or in dpkg Shouldn't it be intresting to add a hook in dpkg to inhibit the reboot/shutdown of the machine while packages are being updated/installed? Kind regards, Laurent Bigonville --