Bug#982907: init-system-helpers: use new needs-reload/needs-restart unit interface

Niels Thykier niels at thykier.net
Sun Aug 29 16:42:00 BST 2021


Felipe Sateler:
> Hi!
> 
> On Tue, Aug 24, 2021 at 2:38 PM Niels Thykier <niels at thykier.net> wrote:
> 
>> [...]
> 
> Not Michael, but if I can offer my thoughts, this is not something that
> could be done in i-s-h (or at least, not something that we could do
> transparently). This is because presumably there are postinst scripts that
> assume post-debhelper-block the new version is already running. So I
> believe what would be needed is:
> 
> 1. Support in i-s-h to activate this mode, probably via a new flag.
> 2. Support in debhelper to enable/disable this new method.
> 3. A trigger in systemd to do the final reload.
> 
> I believe requiring the new daemon version to be already updated by
> postinst time would be quite rare, so I think point 2 could be enabled by
> default in a new compat level.
> 
> Thoughts?
> 


Hi,

>From a debhelper PoV, that seems fine to me if the systemd side can
support it (the trigger part).

~Niels



More information about the Pkg-systemd-maintainers mailing list