[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#512209: Please don't touch sshd from interfaces-up

Package: openssh-server
Version: 1:5.1p1-5

| * Check that /var/run/sshd.pid exists and that the process ID listed there
|   corresponds to sshd before running '/etc/init.d/ssh reload' from if-up
|   script; SIGHUP is racy if called at boot before sshd has a chance to
|   install its signal handler, but fortunately the pid file is written
|   after that which lets us avoid the race (closes: #502444).
| * While the above is a valuable sanity-check, it turns out that it doesn't
|   really fix the bug (thanks to Kevin Price for testing), so for the
|   meantime we'll just use '/etc/init.d/ssh restart', even though it is
|   unfortunately heavyweight.

Why restart it at all?  There's little point in the default
configuration where sshd listens on INADDR_ANY.

At least make it configurable and don't mess with it from interfaces by

                           |  .''`.  ** Debian GNU/Linux **
      Peter Palfrader      | : :' :      The  universal
 http://www.palfrader.org/ | `. `'      Operating System
                           |   `-    http://www.debian.org/

Reply to: