[Bug 2641] Add systemd notify code to to track running server

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Apr 2 20:50:07 AEDT 2024


https://bugzilla.mindrot.org/show_bug.cgi?id=2641

--- Comment #30 from Michal Koutný <mkoutny at suse.com> ---
(In reply to Damien Miller from comment #28)
> Good catch about the sighup restart no longer running in a signal
> handler.

(In reply to Damien Miller from comment #13)
> ...
> It it also signal-handler safe, which is not the case for the originally proposed diffs.

The original diff (comment 10) already put the notification in
sighup_restart() not in sighup_handler(), i.e. still the same place
where platform_pre_restart() is called now, not a signal handler
context AFAICS.
platform_* hooks look like the appropriate places for these calls.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list