diff options
author | Colin Watson <cjwatson@debian.org> | 2009-01-14 00:34:52 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-01-14 00:34:52 +0000 |
commit | 33ddee2b567b5203a9988897f50ac2e88b7d9c52 (patch) | |
tree | 78d0fdacf468104e1ce3faad2877a0710b4b3080 | |
parent | b9233cf7f7f6900f1391a0f4860c9c74be7c6350 (diff) |
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.
-rw-r--r-- | debian/changelog | 4 | ||||
-rw-r--r-- | debian/openssh-server.if-up | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index a58cca063..536e94e93 100644 --- a/debian/changelog +++ b/debian/changelog | |||
@@ -8,6 +8,10 @@ openssh (1:5.1p1-5) UNRELEASED; urgency=low | |||
8 | script; SIGHUP is racy if called at boot before sshd has a chance to | 8 | script; SIGHUP is racy if called at boot before sshd has a chance to |
9 | install its signal handler, but fortunately the pid file is written | 9 | install its signal handler, but fortunately the pid file is written |
10 | after that which lets us avoid the race (closes: #502444). | 10 | after that which lets us avoid the race (closes: #502444). |
11 | * While the above is a valuable sanity-check, it turns out that it doesn't | ||
12 | really fix the bug (thanks to Kevin Price for testing), so for the | ||
13 | meantime we'll just use '/etc/init.d/ssh restart', even though it is | ||
14 | unfortunately heavyweight. | ||
11 | 15 | ||
12 | -- Colin Watson <cjwatson@debian.org> Mon, 01 Dec 2008 16:13:14 +0000 | 16 | -- Colin Watson <cjwatson@debian.org> Mon, 01 Dec 2008 16:13:14 +0000 |
13 | 17 | ||
diff --git a/debian/openssh-server.if-up b/debian/openssh-server.if-up index 8db44fded..3b3120c66 100644 --- a/debian/openssh-server.if-up +++ b/debian/openssh-server.if-up | |||
@@ -30,6 +30,7 @@ if [ ! -f /var/run/sshd.pid ] || \ | |||
30 | exit 0 | 30 | exit 0 |
31 | fi | 31 | fi |
32 | 32 | ||
33 | /etc/init.d/ssh reload >/dev/null 2>&1 || true | 33 | # We'd like to use 'reload' here, but it has some problems; see #502444. |
34 | /etc/init.d/ssh restart >/dev/null 2>&1 || true | ||
34 | 35 | ||
35 | exit 0 | 36 | exit 0 |