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

Bug#354825: marked as done (Openntpd init script returns an error on shutdown.)



Your message dated Tue, 08 Jun 2010 21:42:42 +0000
with message-id <E1OM6ZG-0003NZ-21@ries.debian.org>
and subject line Bug#354825: fixed in openntpd 3.9p1+debian-4
has caused the Debian Bug report #354825,
regarding Openntpd init script returns an error on shutdown.
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 owner@bugs.debian.org
immediately.)


-- 
354825: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=354825
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: openntpd
Version: 3.6.1p1-2
Severity: minor

PROBLEM:

On running the init script with the 'stop' argument the script returns an error:
# /etc/init.d/openntpd stop
Stopping openntpd: start-stop-daemon: warning: failed to kill 759: No
such process
ntpd.

This also seems to affect later versions. I can't confirm this, but I
have looked through the Debian patches in 'unstable' and 'testing' and
they both seem to have the same problem.

SOLUTION:

I modified the init script to create a pidfile in the
/var/run/openntpd directory (which is created on install).

Modified line 30 to read:
start-stop-daemon --start --quiet --make-pidfile
--pidfile=/var/run/openntpd/ntpd.pid --exec $DAEMON -- $DAEMON_OPTS

I am running Debian Sarge.
See attached patch against 3.6.1p1-2
Created: diff -uNr openntpd openntpd-orig > openntpd-3.6.1p1-2-init.patch

Regards.
Andrew Glen-Young
--- openntpd	2006-03-01 12:04:53.368589704 +0000
+++ openntpd-orig	2006-03-01 12:04:26.269709360 +0000
@@ -27,7 +27,7 @@
 case "$1" in
   start)
 	echo -n "Starting $DESC: "
-	start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_OPTS
+	start-stop-daemon --start --quiet --make-pidfile --pidfile=/var/run/openntpd/ntpd.pid --exec $DAEMON -- $DAEMON_OPTS
 	echo "$NAME."
 	;;
   stop)

--- End Message ---
--- Begin Message ---
Source: openntpd
Source-Version: 3.9p1+debian-4

We believe that the bug you reported is fixed in the latest version of
openntpd, which is due to be installed in the Debian FTP archive:

openntpd_3.9p1+debian-4.debian.tar.gz
  to main/o/openntpd/openntpd_3.9p1+debian-4.debian.tar.gz
openntpd_3.9p1+debian-4.dsc
  to main/o/openntpd/openntpd_3.9p1+debian-4.dsc
openntpd_3.9p1+debian-4_amd64.deb
  to main/o/openntpd/openntpd_3.9p1+debian-4_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 354825@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ulises Vitulli <dererk@debian.org> (supplier of updated openntpd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 08 Jun 2010 16:52:01 -0300
Source: openntpd
Binary: openntpd
Architecture: source amd64
Version: 3.9p1+debian-4
Distribution: unstable
Urgency: low
Maintainer: Ulises Vitulli <dererk@debian.org>
Changed-By: Ulises Vitulli <dererk@debian.org>
Description: 
 openntpd   - OpenBSD NTP daemon
Closes: 354825 437691 456661 495528 507586 529984 543854 570253 575705
Changes: 
 openntpd (3.9p1+debian-4) unstable; urgency=low
 .
   * New maintainer (Closes: #543854).
   * The 'say-aaaaaaaaaaahh' upload.
   * Apply a pidfile patch, upstream doesn't like the idea of pidfiles, but
     sometimes they are useful for quick monitoring (Closes: #354825).
   * Avoid stripping by default on their own (Closes: #437691).
   * Dies if no peer servername is invalid, and logs badpeers through CRITICAL
     syslog. Thanks SergeyBKirpichev (Closes: #456661).
   * Depend on $network at init start and do not go through reloading if there
     is no listening interface declared. Thanks SergeyBKirpichev
     (Closes: #495528, #507586, #529984).
   * Explicity set default config file (Closes: #570253).
   * Enhance ntpd.conf manpage to verbosely remember we don't listen to any
     by default (Closes: #575705).
   * Switch to 3.0 source format, drop dependency on quilt.
   * Use hardening-include to handle gcc Hardening features.
Checksums-Sha1: 
 6d53ebfdb06ec00bec69eb15b29bc9c5da765b04 1745 openntpd_3.9p1+debian-4.dsc
 129ca95504f0d3e57fd695d1fc53cf1f9f031741 12028 openntpd_3.9p1+debian-4.debian.tar.gz
 65e7c2669327f3a1b791ccc92d6ad908d471b30c 49276 openntpd_3.9p1+debian-4_amd64.deb
Checksums-Sha256: 
 0128d764dc0d90ecfb03f28857e6050522591068c73b84322d3428d84acb972d 1745 openntpd_3.9p1+debian-4.dsc
 1903292f7ad79a0fc729e2c84490e270032c87b5e6d1f9a1fd0212fc7a658a83 12028 openntpd_3.9p1+debian-4.debian.tar.gz
 c834092500e11b93e6591551131aba0ccacdbaecdfaf7840a612f748c6c1e53b 49276 openntpd_3.9p1+debian-4_amd64.deb
Files: 
 561602665d1fdca5660f19f8e856561c 1745 net optional openntpd_3.9p1+debian-4.dsc
 e75d116238285ac472f1cb780428139b 12028 net optional openntpd_3.9p1+debian-4.debian.tar.gz
 87c7e7b137d16ec134785f1d7c4d6ec0 49276 net optional openntpd_3.9p1+debian-4_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJMDrEdAAoJEAsA+2zr4tACyFAP/RwlmgVJjzMGixSZ8pyBmvrI
gC1puCvbufRcn+WpJCJjc0gvDzJGzV7ROgj9UaxxpHKvErSWXMivwDDc1qvj6Jub
ec+qbVCHDE3xKdqKuW6oiWXV1EMYXTzl4W8Ag4XTEst4VA/wIRuYCI8cbtNQh1+1
stOUJuuBi3sXJdbBng9F87PAkqgLFqUg2CJPVScH9ErodWU9A9GjixnZvT7vV7xB
pf49CIa9Kb/V8t+z44OShex7mPzTNO0Q6N/3J9SXd2a9ZWGgQn4uqMEwJjXyTHnT
EGAPMuB2xMWQTL/YqlT0Y2Vp6GmKlT8i0yq3tRSe3hor3ms3nx5juJ4d9vUso+zB
kjMs+5tASNgwxsni7XiZ33jiI+6WQurEnWan3Ahs8Gd7e7IySLYj267ZF/27nhmF
LEuEUdvXSSItrvM4eNinPtDOkbOlr8fKlsQidBH10rauZCdi8/GqZD8wvdo2B/Lr
gam3cz+aJQ4v8OT9Mzy/Rikk1ICmWAl9hmFOOyC+7ZQ95YOhLzHf2L6dKt8WHbPT
TyfeafOUMiJDBuBtveZc6T0JTaKkcgxHYf9KS01ZQgPU0c2nXomPjchtPxQSs522
ZPVo5rkSHa4N7/HXDotL7bzJG4d1AVlek5XySQyTJAREr8K2mMekGMpfiPotBNBH
aox9uz3rYvEYLZVJQv1L
=BfSr
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: