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

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Nov 22 01:26:10 AEDT 2016


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

            Bug ID: 2641
           Summary: Add systemd notify code to to track running server
           Product: Portable OpenSSH
           Version: 7.3p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: sshd
          Assignee: unassigned-bugs at mindrot.org
          Reporter: jjelen at redhat.com
                CC: cjwatson at debian.org

Created attachment 2893
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2893&action=edit
add systemd bits

Ever since systemd, there are problems with keeping track of the
running daemon process [1] and errors [2]. We were trying to avoid this
solution, but after several bugs and many failed attempts from various
people, it looks like there is no other working way than to use their
API to notify them that the daemon is running. Also Debian moved to
this solution [3].

Unfortunately Colin didn't manage to send the patch upstream, even
though it would be useful for others (adding to CC, sorry if it was
intentional) so I am trying to do so.

The code is very simple, guarded by the ifdefs and enabled only if
--with-systemd switch is added to configure. If it will not get to
OpenBSD, I thing carrying it in portable would certainly make a sense.
I also added a sample systemd service file to contrib directory to
reflect its usage (not particularly needed).

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1381997
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1291172
[3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778913

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list