Package: pm-utils Version: 1.1.2.4-1 Severity: normal
Due to a typo in /usr/lib/pm-utils/sleep.d/90clock the ntp daemon is not restarted at suspend/resume. -- System Information: Debian Release: 5.0.2 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.30-bpo.1-686 (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 console-tools 1:0.2.3dbs-65.1 Linux console and font utilities ii powermgmt-base 1.30+nmu1 Common utils and configs for power Versions of packages pm-utils recommends: ii hal 0.5.11-8 Hardware Abstraction Layer ii radeontool 1.5-5 utility to control ATI Radeon back pn uswsusp <none> (no description available) ii vbetool 1.0-3 run real-mode video BIOS code to a Versions of packages pm-utils suggests: ii cpufrequtils 004-2 utilities to deal with the cpufreq -- no debconf information
--- /usr/lib/pm-utils/sleep.d/90clock.orig 2009-08-22 11:05:21.000000000 +0200 +++ /usr/lib/pm-utils/sleep.d/90clock 2009-08-22 11:05:35.000000000 +0200 @@ -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 }