Your message dated Tue, 10 Feb 2009 00:04:53 +0100
with message-id <[email protected]>
and subject line Re: Bug#514664: pm-utils: NTP stop / restart incorrect in 
90clock
has caused the Debian Bug report #514664,
regarding pm-utils: NTP stop / restart incorrect in 90clock
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
514664: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514664
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Version: 1.2.3-1

Dominique Brazziel schrieb:
> 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:
> 

Hi Dominique,

it was decided upstream, that restarting ntpd on suspend/resume should
not be necessary, as ntpd will not immediately sync anyway when
restarted and if ntp should be kicked, it is better to do it in a NM
dispatcher script or a ifupdown script anyway (I think it already does
it for ifupdown).
This makes restarting from pm-utils obsolete and it thus has been
removed in 1.2.3.

Cheers,
Michael


[1] http://lists.freedesktop.org/archives/pm-utils/2008-November/001807.html
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to