Credit where credit is due! I'd really like to take a minute and thank Jia Tan how they helped us to finally get sd_notify() support merged into OpenSSH upstream!

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

Thank you, Jia, you rock!

2641 – Add systemd notify code to to track running server

Maybe, just maybe, there might be a concern about the complexity of systemd if the openssh developers have to resort to api integration as the last resort…
@hsaliak they’re doing it because it is seemingly the only way to stop downstream distros from linking against libsystemd
@fazalmajid You are right, the final patch they arrived at https://bugzilla.mindrot.org/attachment.cgi?id=3809&action=diff does not have a libsystemd dependency to call sd_notify, and instead implements the functionality natively. I'm just saddened that this bit of code is required.
Attachment #3809 for bug #2641

@hsaliak as an Alpine Linux and OpenBSD user, and thus systemd and glibc-free, I agree 100%, but I'm still glad they reimplemented rather than link.