[Bug 2641] Add systemd notify code to to track running server
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Sat Mar 30 12:43:30 AEDT 2024
https://bugzilla.mindrot.org/show_bug.cgi?id=2641
--- Comment #16 from Damien Miller <djm at mindrot.org> ---
(In reply to Luca Boccassi from comment #14)
> While there, it would be really nice if the RELOADING=1 message also
> included MONOTONIC_USEC=<timestamp> (CLOCK_MONOTONIC in usec as a
> decimal string), which is used for accurate synchronization. IE,
> write a string like "RELOADING=1\nMONOTONIC_USEC=1234...". This will
> enable the unit to be of Type=notify-reload which adds some nice
> features.
That's more tricky as the reload is called from signal handler context
and we can't use snprint() there to format the usec part of the
message. We'd have to refactor how sshd manages SIGHUP restarts.
That would make some other things easier, but it's still a bigger
change.
Anyway, if some of the distro people on this bug can report on whether
the patch is okay, then we can move forward with this and finesse it
later.
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list