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",

Re: 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,

Re: 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

Re: 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

Re: System-critical package management

2023-09-06 Thread Simon Richter
Hello, 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 package upgrade process on critical system packages unbeknownst to the user may result in the system

Re: System-critical package management

2023-09-06 Thread Peter Warrington
ure the display manager to be a system-critical package, but a server distribution might not. - Peter Warrington From: "Weatherby,Gerard" Date: Wednesday, 6 September 2023 at 20:45 To: Peter Warrington , "debian-dpkg@lists.debian.org" Subject: Re: System-critical package

System-critical package management

2023-09-06 Thread Peter Warrington
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 package upgrade process on critical system packages unbeknownst to the user may result in the system unable to boot