Your message dated Mon, 21 Nov 2016 21:05:16 +0000
with message-id <[email protected]>
and subject line Bug#834240: fixed in chrony 2.4.1-1
has caused the Debian Bug report #834240,
regarding chrony: Adding OPTS to startscript
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.)


-- 
834240: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834240
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: chrony
Version: 2.40-1
Severity: wishlist
Tags: patch

Dear Maintainer,


little patch(es) for adding OPTS to chrony startscript in
stretch 2.4-1
jessie 1.30
so i can deliver options to starting chronyd.

furthermore my /etc/default/chronyd as example
(deactivating ipv6-support on my system)


Regards


(System information below is my jessie)

-- System Information:
Debian Release: 8.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (101, 'testing'), (100, 
'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-0.bpo.1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages chrony depends on:
ii  install-info  5.2.0.dfsg.1-6
ii  libc6         2.19-18+deb8u4
ii  libcap2       1:2.24-8
ii  libedit2      3.1-20140620-2
ii  libtomcrypt0  1.17-6
ii  lsb-base      4.1+Debian13+nmu1
ii  net-tools     1.60-26+b1
ii  timelimit     1.8-1
ii  ucf           3.0030

Versions of packages chrony recommends:
ii  udev  230-7~bpo8+2

chrony suggests no packages.

-- Configuration Files:
/etc/init.d/chrony changed [not included]

-- no debconf information
--- chrony_0_20131221	2013-12-21 00:42:00.000000000 +0100
+++ chrony_20160406_todiff	2016-08-13 17:44:27.877312815 +0200
@@ -27,6 +27,8 @@
 
 . /lib/lsb/init-functions
 
+test -f /etc/default/$NAME && . /etc/default/$NAME
+
 putonline ()
 { # Do we have a default route?  If so put chronyd online.
     if timelimit -q -s9 -t5 -- netstat -rn 2>/dev/null | grep -q '0\.0\.0\.0' 
@@ -56,7 +58,7 @@
 
 case "$1" in
     start)
-	start-stop-daemon --start --verbose --exec $DAEMON
+	start-stop-daemon --start --verbose --exec $DAEMON -- $OPTS
 	case "$?" in
 		0) # daemon successfully started
 			putonline
@@ -77,7 +79,7 @@
 	echo -n "Restarting $DESC: "
 	start-stop-daemon --stop --quiet --exec $DAEMON
 	sleep 1
-	start-stop-daemon --start --verbose --exec $DAEMON -- -r
+	start-stop-daemon --start --verbose --exec $DAEMON -- -r $OPTS
 	case "$?" in
 		0) # daemon successfully started
 			putonline
--- chrony_0_20160617	2016-06-17 20:37:19.000000000 +0200
+++ chrony_20160813stretch	2016-08-13 17:50:40.316071778 +0200
@@ -27,6 +27,8 @@
 
 . /lib/lsb/init-functions
 
+[ -r "/etc/default/$NAME" ] && . "/etc/default/$NAME"
+
 putonline ()
 {   # Do we have a default route?  If so put chronyd online.
     if ip r 2>/dev/null | grep -q '^default'; then
@@ -45,7 +47,7 @@
 
 case "$1" in
     start)
-	start-stop-daemon --start --verbose --exec $DAEMON
+	start-stop-daemon --start --verbose --exec $DAEMON -- $OPTS
 	case "$?" in
 		0) # daemon successfully started
 			putonline
@@ -66,7 +68,7 @@
 	echo -n "Restarting $DESC: "
 	start-stop-daemon --stop --quiet --exec $DAEMON
 	sleep 1
-	start-stop-daemon --start --verbose --exec $DAEMON -- -r
+	start-stop-daemon --start --verbose --exec $DAEMON -- -r $OPTS
 	case "$?" in
 		0) # daemon successfully started
 			putonline
#!/bin/sh

OPTS=""
[ -d /proc/sys/net/ipv6 ] || OPTS="$OPTS -4"

--- End Message ---
--- Begin Message ---
Source: chrony
Source-Version: 2.4.1-1

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

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.
Vincent Blut <[email protected]> (supplier of updated chrony 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: Mon, 21 Nov 2016 12:58:05 +0100
Source: chrony
Binary: chrony
Architecture: source
Version: 2.4.1-1
Distribution: unstable
Urgency: medium
Maintainer: Vincent Blut <[email protected]>
Changed-By: Vincent Blut <[email protected]>
Description:
 chrony     - Versatile implementation of the Network Time Protocol
Closes: 834240
Changes:
 chrony (2.4.1-1) unstable; urgency=medium
 .
   * Import upstream version 2.4.1:
     - Please see /usr/share/doc/chrony/changelog.gz for the release notes.
 .
   * debian/chrony.default:
     - New file used to pass options to chronyd. Thanks to nutzteil
     <[email protected]> for the suggestion and the initial patch.
     (Closes: #834240)
 .
   * debian/compat:
     - Bump to debhelper compat 10.
 .
   * debian/control:
     - Build depend on debhelper ≥ 10.
 .
   * debian/copyright:
     - Use HTTPS for all URI.
 .
   * debian/init:
     - Read and execute options assigned to the “DAEMON_OPTS” variable.
 .
   * debian/rules:
     - Drop dh “--parallel” option. Enabled by default in debhelper 10.
Checksums-Sha1:
 6631c0fcee13a69d95d25479158799bcf75274c6 1809 chrony_2.4.1-1.dsc
 b412375ca90dbef653ad00534f8b73b825e396d4 390641 chrony_2.4.1.orig.tar.gz
 37fa401684d889bb0d4bff758aa6823b27bdb3cf 25232 chrony_2.4.1-1.debian.tar.xz
Checksums-Sha256:
 7604ce08932d40420fbe0a572113b09d9e6d008aa45dcfd14c421bbfd6614186 1809 
chrony_2.4.1-1.dsc
 0fd59e0ef625b4459e3a9c7f221c52f56596582bce31abfae5f7369702edb6e0 390641 
chrony_2.4.1.orig.tar.gz
 1c99656da15c3e28e8425f733f45fb60d4265c78e9d7bc4fca8676f6abda8d8b 25232 
chrony_2.4.1-1.debian.tar.xz
Files:
 a26b0197df0cffd1b81a193eb8d0d0ee 1809 net optional chrony_2.4.1-1.dsc
 d08dd5a7d79a89891d119adcccb4397d 390641 net optional chrony_2.4.1.orig.tar.gz
 e9cd36509fa8716c71026f47d1b573df 25232 net optional 
chrony_2.4.1-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEWLZtSHNr6TsFLeZynFyZ6wW9dQoFAlgzTogACgkQnFyZ6wW9
dQobsgf+M/1+7OQ/Fd+41iDfMKuIx2c8mVgDJNnZ4+qxmDXzeUFGqjPeYpAD+BfE
Y10BN9ca7/+EtbfF25al2u6gq8dCy0Enpt9h1xd9SMpG3dG7604r+ZgTu2U2u9G5
NaO6e9AVP+2oCAJ+XIuDnrVlCwgn7KgdF50uOxU2qxCx/YMU84B/gi6qN6y09HB+
E8VCzxitsDcuGfC1OrWHV+89/K+6zU4F4y2mkUSkbDQSdZdoXJD6GgfPTMrsYIDv
u7esDW95DvBojBOTczQOvzRpzgfpaXj0YQHnmYpIAm80nWCKYC4Xs6D7SiTeyMH7
fr30/dbK5wVaWFiQMY+2XDKNm4QOJg==
=ba/+
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to