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 being > updated/installed? >
I don't see how this could be implemented via a dpkg hook. Can you elaborate, maybe provide a hook file which implements what you have in mind? 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. Michael [1] https://github.com/systemd/systemd/issues/6644 -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pkg-systemd-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-systemd-maintainers
