[Bug 1628] /var/run/sshd.pid file collisions...

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Nov 20 16:57:53 EST 2009


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

--- Comment #3 from Damien Miller <djm at mindrot.org> 2009-11-20 16:57:52 EST ---
(From update of attachment 1726)
>--- openssh/opensshd.init.in.old	2006-01-31 08:00:37.000000000 -0800
>+++ openssh/opensshd.init.in	2009-11-19 21:27:44.657360000 -0800
>@@ -14,6 +14,8 @@
> 
> SSHD=$prefix/sbin/sshd
> PIDFILE=$piddir/sshd.pid
>+PidFile=`grep "^PidFile " ${sysconfdir}/sshd_config | awk '{print $2}'`

I don't think this will cope '=' as a config separator, which is legal
sshd_config syntax:

PidFile=/somewhere/sshd.pid

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list