Stephen Harris
2018-Aug-22 13:37 UTC
openssh 7.6 and 7.7 on Oracle Linux 7 (compiled from source) doesn't start correctly with systemd
On Wed, Aug 22, 2018 at 11:23:11AM +0000, Peter Stuge wrote:> I guess that Oracle has patched sshd to call sd_notify() and thusWell, RedHat.> introduced dependency on the systemd libraries for sshd. I don'tYup % ldd /usr/sbin/sshd | grep syst libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007f0e5b715000) -- rgds Stephen
kevin martin
2018-Aug-22 14:02 UTC
openssh 7.6 and 7.7 on Oracle Linux 7 (compiled from source) doesn't start correctly with systemd
Simple seems to have fixed it. I was also trying with "forking" as the type and that was failing as well. Thanks. --- Regards, Kevin Martin On Wed, Aug 22, 2018 at 8:39 AM Stephen Harris <lists at spuddy.org> wrote:> On Wed, Aug 22, 2018 at 11:23:11AM +0000, Peter Stuge wrote: > > I guess that Oracle has patched sshd to call sd_notify() and thus > > Well, RedHat. > > > introduced dependency on the systemd libraries for sshd. I don't > > Yup > % ldd /usr/sbin/sshd | grep syst > libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007f0e5b715000) > > -- > > rgds > Stephen > _______________________________________________ > openssh-unix-dev mailing list > openssh-unix-dev at mindrot.org > https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev >
Jakub Jelen
2018-Aug-22 15:45 UTC
openssh 7.6 and 7.7 on Oracle Linux 7 (compiled from source) doesn't start correctly with systemd
On Wed, 2018-08-22 at 09:02 -0500, kevin martin wrote:> Simple seems to have fixed it. I was also trying with "forking" as > the > type and that was failing as well.That is not as simple as that -- we lived with "simple" for long time, but it was not covering some corner cases so we ended up using the sd_notify, since that was the only reliable way for systemd to know the service is working. For others interested in this topic, there was a long discussion in bug #2641, unfortunately without upstream solution: https://bugzilla.mindrot.org/show_bug.cgi?id=2641 Regards, -- Jakub Jelen Software Engineer Security Technologies Red Hat, Inc.