Your message dated Sat, 23 Apr 2016 18:06:11 +0000
with message-id <[email protected]>
and subject line Bug#813925: fixed in system-tools-backends 2.10.2-3
has caused the Debian Bug report #813925,
regarding system-tools-backends: misuse of variables in apply_ntp_date from 
NTP.pm
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.)


-- 
813925: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813925
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: system-tools-backends
Version: 2.10.2-2
Severity: normal
Tags: upstream patch

Dear Maintainer,

In the function apply_ntp_date, from the module NTP, a misuse of
variables prevents the list of servers from being initialized correctly
when the the parameter @config is empty.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'stable-updates'), (500, 'testing'), 
(500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
diff --git a/Time/NTP.pm b/Time/NTP.pm
index 026ba3e..f2184a2 100644
--- a/Time/NTP.pm
+++ b/Time/NTP.pm
@@ -149,15 +149,13 @@ sub set_ntp_servers
 sub apply_ntp_date
 {
   my ($config) = @_;
-  my ($servers, $server);
+  my $servers;
 
-  foreach $server (@$config) {
-      $servers .= " $server";
-  }
+  $servers = join " ", @$config;
 
-  if ($server eq "") {
+  if ($servers eq "") {
       # There are no servers, pick them from the ntp.org pool
-      $server = "0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org";
+      $servers = "0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org";
   }
 
   # run ntpdate, this will only be effective

--- End Message ---
--- Begin Message ---
Source: system-tools-backends
Source-Version: 2.10.2-3

We believe that the bug you reported is fixed in the latest version of
system-tools-backends, 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.
Andriy Grytsenko <[email protected]> (supplier of updated 
system-tools-backends 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: SHA512

Format: 1.8
Date: Sat, 23 Apr 2016 20:27:51 +0300
Source: system-tools-backends
Binary: system-tools-backends system-tools-backends-dev
Architecture: source amd64 all
Version: 2.10.2-3
Distribution: unstable
Urgency: medium
Maintainer: Andriy Grytsenko <[email protected]>
Changed-By: Andriy Grytsenko <[email protected]>
Description:
 system-tools-backends - System Tools to manage computer configuration -- 
scripts
 system-tools-backends-dev - System Tools to manage computer configuration -- 
development file
Closes: 813925
Changes:
 system-tools-backends (2.10.2-3) unstable; urgency=medium
 .
   * Adding 06_fix_policy_user_root.patch (fix lintian warning).
   * Removing Uploaders from debian/control file due to adoption.
   * Bump Standards-Version to 3.9.8.
   * Adding 07_fix-ntp-servers.patch by Christophe Masson (Closes: #813925).
Checksums-Sha1:
 16736561617af1f0f0b2e2492ffc3d191e2772e8 2151 
system-tools-backends_2.10.2-3.dsc
 a07cec0cf27481cfc37a5955c8a4bb56f8a71e6a 10228 
system-tools-backends_2.10.2-3.debian.tar.xz
 6af6a7041cd3f71aecfd21486fc9d1bf1c531f65 23124 
system-tools-backends-dbgsym_2.10.2-3_amd64.deb
 e0853459a7362681eedcdf94900079a80a9f3a69 83402 
system-tools-backends-dev_2.10.2-3_all.deb
 30a5531acf6c6054f8ec22dd7786bce8e75f32eb 175788 
system-tools-backends_2.10.2-3_amd64.deb
Checksums-Sha256:
 12dffa830b1096633b72129645fe78650f635b75ddd7be7c25440bdd633e33e1 2151 
system-tools-backends_2.10.2-3.dsc
 160028d37c48623b6e28e4e958a3299e1599a4f0b6f5ac37cddb5e63672e33cb 10228 
system-tools-backends_2.10.2-3.debian.tar.xz
 fc292fdcf0e499bbe2d077e06535a7b03d399ae524c3e2550666df000d34a309 23124 
system-tools-backends-dbgsym_2.10.2-3_amd64.deb
 f89f71615b117994c4323f3a916c8ac1c8ff1d2f63ced17e22f692facd55dba7 83402 
system-tools-backends-dev_2.10.2-3_all.deb
 39498a18b8e22dd42344df8628e4b284a5d1e2ff57c00683296d290b8760d590 175788 
system-tools-backends_2.10.2-3_amd64.deb
Files:
 839f5f6e0501b82aefa058bcd3f5757e 2151 admin optional 
system-tools-backends_2.10.2-3.dsc
 c4a9f43c64b61238f3d613d46e807a9d 10228 admin optional 
system-tools-backends_2.10.2-3.debian.tar.xz
 01faf0cf9d131fc48ad5045715f02c5f 23124 debug extra 
system-tools-backends-dbgsym_2.10.2-3_amd64.deb
 70a8ae28618c30dcf2f9a9fe4cdbacfa 83402 devel optional 
system-tools-backends-dev_2.10.2-3_all.deb
 f23dd6a2d9243f535488953ff38eba44 175788 admin optional 
system-tools-backends_2.10.2-3_amd64.deb

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

iQIcBAEBCgAGBQJXG7LNAAoJEAV2MC/hidTSIdIP/28I9Gr3BKiBvd00WhMD8Yd8
Afh+2D3B3h59kX6Q66pxMmZ0N+RKqsKxK/10TNdwHyl0Zm3grw7NnO6xw6AuPeiI
jco1fXu9XbH1QVmtRH6mU54ASAdq2MULTOp9UIoc3RIi9cXqaM+bo8dMKPp08yfD
10Zmb/hwzzUxalQBCElID/waFYWZe8stpNl+aKgnBU8EpnUYApPQYNZG2OP920aX
E/PgNUyi/6m00faB6AMoW5ogay/lgZn0HT4qUq6chW242DBrBp/vXSVE2nu3Vq3Z
35mvfZJ4VQXmI6nlWTV7PWou651A7cOQnhentrwiLigXQFFINafQT10J+FPPTTbZ
A/ccwm2Wy1vr1iGkjETIAvUITFwXWiAcHPK4lRhXMu3zv0wAG+WW2Z54RTdDWnho
aY1PSvkdgcPlp961JPQOYfL28GTFACZLjryAv14Dasf+gkm565sqqzi8omRO6wdF
HWoR+0Wdo9QzJrGULpNdMva3eU5ahuTVVk9atwjhG12iGvFayuHoCFWrCwq3AUXq
FUx8zlsm79ddF7TS7hGrw7KCZjpjI2VzBIv4cdi6c5pslvBBa5vejbUyAQ8OB3IO
ipMPVezL0DN3r1lPSwbKncq8AdyFuw6W+F3Hna+Mywcb9t2cv3TIvsXDc4mBTMU4
oGr/dSEBv6Qsa7R9NltG
=ceP3
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to