Bug#910377: System-critical package management

2023-09-18 Thread Simon Richter
Hi, On 18.09.23 19:38, Julian Andres Klode wrote: I'm not sure how that works because you'd need to respawn yourself with systemd-inhibit, whereas the API essentially gives you a file descriptor over dbus that you keep open until it is safe to reboot. popen("systemd-inhibit ... cat",

Bug#910377: System-critical package management

2023-09-18 Thread Julian Andres Klode
On Mon, Sep 18, 2023 at 12:24:20PM +0200, Guillem Jover wrote: > While dpkg on systems using systemd _could_ by default take an > system inhibitor lock, and could provide a good enough reason like say > "Packaging system upgrade" or whatever, my concern has been with the > added dependency chain,

Bug#910377: System-critical package management

2023-09-18 Thread Guillem Jover
[ CCing #910377 for some context. ] Hi! On Thu, 2023-09-07 at 11:59:47 +0900, Simon Richter wrote: > > The lack of any system of recognition for packages that are critical to > > system operation impedes the reliability of Debian-based systems. For > > example, a reboot during a background