We have an upstream-adjusted version of this patch, seeĀ https://bugzilla.mindrot.org/show_bug.cgi?id=2641I'm OK to bring the updated version of this script to Fedora as soon as it is finalized.
I proposed
https://src.fedoraproject.org/rpms/openssh/pull-request/72 , which
uses the implementation from
https://www.freedesktop.org/software/systemd/man/devel/sd_notify.html#Notes