Package: pm-utils
Version: 1.1.2.4-1
Severity: normal
Tags: patch
The NTP service is currently '/etc/init.d/ntp', not 'ntpd' as
specified in the clock hook ('/usr/lib/pm-utils/sleep.d/90clock').
As a result, the NTP daemon is not stopped on hibernate or restarted
on resume. This patch causes the actions to occur:
--- 90clock 2009-02-09 17:29:19.000000000 -0500
+++ /usr/local/src/90clock 2009-02-09 17:30:02.000000000 -0500
@@ -12,7 +12,7 @@
{
if try_lock "${NTPD_LOCK}"; then
trap 'release_lock "${NTPD_LOCK}"' 0
- stopservice ntpd
+ stopservice ntp
fi
/sbin/hwclock --systohc >/dev/null 2>&1 0<&1
}
@@ -25,7 +25,7 @@
( spin_lock "${NTPD_LOCK}";
trap 'release_lock "${NTPD_LOCK}"' 0
sleep 20;
- restartservice ntpd; ) &
+ restartservice ntp; ) &
return $rc
}
-- System Information:
Debian Release: 5.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages pm-utils depends on:
ii kbd 1.14.1-4 Linux console font and keytable ut
ii powermgmt-base 1.30 Common utils and configs for power
Versions of packages pm-utils recommends:
ii hal 0.5.11-8 Hardware Abstraction Layer
pn radeontool <none> (no description available)
ii uswsusp 0.7-1.2 tools to use userspace software su
ii vbetool 1.0-3 run real-mode video BIOS code to a
Versions of packages pm-utils suggests:
pn cpufrequtils <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]