Your message dated Wed, 13 Oct 2010 15:20:40 +0000
with message-id <[email protected]>
and subject line Bug#599889: fixed in openntpd 3.9p1+debian-6
has caused the Debian Bug report #599889,
regarding openntpd: No such process error when stopping
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.)
--
599889: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599889
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: openntpd
Version: 3.9p1+debian-5
Severity: normal
Tags: patch
The start-stop-daemon command in the init script tries to stop both ntpd
processes, but usually only succeeds in killing one, since killing the
first one causes it to kill the second. Then the start-stop-daemon fails
to kill the second ntpd process and prints an error.
The attached patch changes the start-stop-daemon to only select the
process owned by root, which prevents it from trying to kill both
processes and therefore the error.
Before and after the patch:
# /etc/init.d/openntpd stop
Stopping openntpd: start-stop-daemon: warning: failed to kill 10309: No such
process
ntpd.
# /etc/init.d/openntpd start
Starting openntpd: ntpd.
r...@endor:/home/graham# dpkg -i openntpd_3.9p1+debian-6_i386.deb
(Reading database ... 22189 files and directories currently installed.)
Preparing to replace openntpd 3.9p1+debian-5 (using
openntpd_3.9p1+debian-6_i386.deb) ...
Stopping openntpd: start-stop-daemon: warning: failed to kill 10412: No such
process
ntpd.
Unpacking replacement openntpd ...
Setting up openntpd (3.9p1+debian-6) ...
Installing new version of config file /etc/init.d/openntpd ...
Starting openntpd: ntpd.
Processing triggers for man-db ...
# /etc/init.d/openntpd stop
Stopping openntpd: ntpd.
diff -Naur openntpd-3.9p1+debian.orig/debian/changelog openntpd-3.9p1+debian/debian/changelog
--- openntpd-3.9p1+debian.orig/debian/changelog 2010-06-09 04:40:03.000000000 +0000
+++ openntpd-3.9p1+debian/debian/changelog 2010-10-12 03:59:26.009917353 +0000
@@ -1,3 +1,9 @@
+openntpd (3.9p1+debian-6) unstable; urgency=low
+
+ * Change init script to only kill parent ntpd.
+
+ -- Graham Wilson <[email protected]> Tue, 12 Oct 2010 03:58:47 +0000
+
openntpd (3.9p1+debian-5) unstable; urgency=low
* Adding missing dependency on hardening-include.
diff -Naur openntpd-3.9p1+debian.orig/debian/openntpd.init openntpd-3.9p1+debian/debian/openntpd.init
--- openntpd-3.9p1+debian.orig/debian/openntpd.init 2010-06-08 20:59:58.000000000 +0000
+++ openntpd-3.9p1+debian/debian/openntpd.init 2010-10-12 03:59:50.477917433 +0000
@@ -38,13 +38,13 @@
stop)
echo -n "Stopping $DESC: "
- start-stop-daemon --stop --oknodo --quiet --exec $DAEMON
+ start-stop-daemon --stop --oknodo --quiet --user root --exec $DAEMON
echo "$NAME."
;;
restart|force-reload)
echo -n "Restarting $DESC: "
- start-stop-daemon --stop --oknodo --quiet --exec $DAEMON
+ start-stop-daemon --stop --oknodo --quiet --user root --exec $DAEMON
sleep 1
start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_OPTS
echo "$NAME."
--- End Message ---
--- Begin Message ---
Source: openntpd
Source-Version: 3.9p1+debian-6
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-6.debian.tar.gz
to main/o/openntpd/openntpd_3.9p1+debian-6.debian.tar.gz
openntpd_3.9p1+debian-6.dsc
to main/o/openntpd/openntpd_3.9p1+debian-6.dsc
openntpd_3.9p1+debian-6_amd64.deb
to main/o/openntpd/openntpd_3.9p1+debian-6_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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
[email protected] (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 13 Oct 2010 10:27:27 -0300
Source: openntpd
Binary: openntpd
Architecture: source amd64
Version: 3.9p1+debian-6
Distribution: unstable
Urgency: low
Maintainer: Ulises Vitulli <[email protected]>
Changed-By: [email protected]
Description:
openntpd - OpenBSD NTP daemon
Closes: 599889
Changes:
openntpd (3.9p1+debian-6) unstable; urgency=low
.
* The 'grrrrrrrrr' dupload.
* debian/initscript:
- Implement 'status' method.
- Report about an already running process when trying to start.
- When stopping, kill parent process, instead both (Closes: #599889)
thanks Graham Wilson.
* Bumped up to Standards-Version 3.9.1. No changes required.
Checksums-Sha1:
13ae0af0e6e28fc2cc0860c20afb964883eecb9d 1765 openntpd_3.9p1+debian-6.dsc
2f3e636f39359ab3955cf4bf1e4711edd5329f0a 12624
openntpd_3.9p1+debian-6.debian.tar.gz
7e5d6c972977b5f9a89c74b25fa4d6102edaeccf 49610
openntpd_3.9p1+debian-6_amd64.deb
Checksums-Sha256:
f9d071f35f8a23e8833fec646c4ddc4a7df34f78d17a42e38b8db4e4216bd421 1765
openntpd_3.9p1+debian-6.dsc
dc4c84c27596eb8dac7131687dbdf4a0efb28b0465cb1b47d5aeea98ffeb052f 12624
openntpd_3.9p1+debian-6.debian.tar.gz
7fa40a8d6f23e63605b9fea67d17fa33e94bc5edfec3240fe6648379546af776 49610
openntpd_3.9p1+debian-6_amd64.deb
Files:
e9eb4281797dfefbc2a909dba9c0bbe9 1765 net optional openntpd_3.9p1+debian-6.dsc
38a4bdaf17582f54efeb17e7aaa1b408 12624 net optional
openntpd_3.9p1+debian-6.debian.tar.gz
c4644455441612f58068c948bde9867d 49610 net optional
openntpd_3.9p1+debian-6_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIcBAEBCAAGBQJMtccKAAoJEGin9OG0lUUKnFYP/3Fc1RP9pBWtF9pDGmbw+ndB
4BpS+duPWFYdtpKyra5usUM5b41DitBWAqRotRoa71UVYe+0EYF65buTIeDm5m4i
lkI614PBo3MpYTgZi3uoYb5d1ETiyx3L8Zr5uPlQP9/Ulriep/yvKdISVxPrpb6/
PtT82k9FBvMPtfLLf4byXCveUXfiS4sEPvwefUduFTjbjKQGr8wkW8UmDBwUIYOo
Mm+MGPde2teK5pIPTrBwPVKO+Tc1NX/3/If5H4zDgY3FYg+cOOGgwgg4mTG2O5wm
IRRUo4nE+ZMcs0OXpIC/1e5mjNFoNopNVKH4fk8uNGZM3icSEYiKZQiUs8nifpQ1
TdDIRfrtwijaOeiLbybT8KluPHG20xO9vy2tF/iddJKABRbkYg19q850QGek6paW
6qpolTZMjmFSPSJbZNi8ZcJtDH6kLyBGy8V+Chz/3bSoE3QrEYXxUOTxCY7z8f29
rWRsR/XZjsVzGN2+6TlENjSOgb4KgW5ySRF6QfyrOZSls7f9I1I4C8qtbRPLmpqw
StoMeNpp/Rlqxj5IqQU//QX2JrEgh09O5bXsgBUPWCBaM2jd2gIzGtK26WVj2v++
MJBvdpKXB+InuF950cH8Ch4ZXyCNsCqr/EZwziUEmDAP/QQzlehlMdGlDGNlTa4M
Ak6XKmpMBStvHMSRpgy5
=/Xd8
-----END PGP SIGNATURE-----
--- End Message ---