Re: System-critical package management
Simon Richter <[email protected]>
| Newsgroups | gmane.linux.debian.devel.dpkg.general |
|---|---|
| Message-ID | <[email protected]> |
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", "w");
should work.
Simon
OpenPGP_signature
(application/pgp-signature, 488 B) - not displayed