Your message dated Wed, 14 Dec 2011 16:32:10 +0000
with message-id <[email protected]>
and subject line Bug#598317: fixed in ekeyd 1.1.5-1
has caused the Debian Bug report #598317,
regarding ekeyd: munin plugin fails to escape /'s in key's serialnumber
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.)


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


Note that I'm not sure about the necessity/correctness of this bit of
the attached patch:

        # get the status of the entropy key
-       my @stat_res = ekeyd_command($SOCKET, "StatEntropyKey", $elmnt[5]);
+       my @stat_res = ekeyd_command($SOCKET, "StatEntropyKey", $name);

but it seems to work like this, so probably makes the code more
maintainable this way, rather than leaving it as the one unescaped
instance.

Cheers, Phil.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (800, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-trunk-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ekeyd depends on:
ii  libc6                         2.11.2-5   Embedded GNU C Library: Shared lib
ii  liblua5.1-0                   5.1.4-5    Simple, extensible, embeddable pro
ii  liblua5.1-socket2             2.0.2-4    TCP/UDP socket library for Lua 5.1
ii  lua5.1                        5.1.4-5    Simple, extensible, embeddable pro

Versions of packages ekeyd recommends:
ii  udev                          160-1      /dev/ and hotplug management daemo

Versions of packages ekeyd suggests:
ii  munin-node                    1.4.5-2    network-wide graphing framework (n

-- Configuration Files:
/etc/entropykey/ekeyd.conf changed [not included]
/etc/entropykey/keyring [Errno 13] Permission denied: u'/etc/entropykey/keyring'
/etc/munin/plugin-conf.d/ekeyd [Errno 13] Permission denied: 
u'/etc/munin/plugin-conf.d/ekeyd'

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/munin/plugins/ekeyd_stat_ (from ekeyd package)
--- /tmp/ekeyd_stat_KeyTemperatureC     2010-09-28 08:40:45.324884216 +0100
+++ ekeyd_stat_KeyTemperatureC  2010-09-28 08:44:42.588919669 +0100
@@ -171,7 +171,7 @@
            my @elmnt = split(/\t/, $keyline);
            my $name = $elmnt[5];
            $name =~ s,/,_,g;
-           print "stats" . $name . ".label " . $elmnt[5] . "\n";
+           print "stats" . $name . ".label " . $name . "\n";
 
            # set the graph type
            if (defined $graph_type{$statistic}) {
@@ -182,7 +182,7 @@
 
            #set the graph minimum
            if (defined $graph_min{$statistic}) {
-                print "stats". $elmnt[5] . ".min " . $graph_min{$statistic} . 
"\n";
+                print "stats". $name . ".min " . $graph_min{$statistic} . "\n";
            }
        }
     }
@@ -192,9 +192,11 @@
 
        # split up the result line
        my @elmnt = split(/\t/, $keyline);
+       my $name = $elmnt[5];
+       $name =~ s,/,_,g;
 
        # get the status of the entropy key 
-       my @stat_res = ekeyd_command($SOCKET, "StatEntropyKey", $elmnt[5]);
+       my @stat_res = ekeyd_command($SOCKET, "StatEntropyKey", $name);
 
        my $tmp;
        my %key_stats;
@@ -207,7 +209,7 @@
        $total += $key_stats{$statistic};
 
        if ($total_flag == 0) {
-           print "stats" . $elmnt[5] . ".value " . $key_stats{$statistic} . 
"\n";
+           print "stats" . $name . ".value " . $key_stats{$statistic} . "\n";
        }
     }
     if ($total_flag == 1) {

--- End Message ---
--- Begin Message ---
Source: ekeyd
Source-Version: 1.1.5-1

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

ekeyd-egd-linux_1.1.5-1_amd64.deb
  to main/e/ekeyd/ekeyd-egd-linux_1.1.5-1_amd64.deb
ekeyd_1.1.5-1.diff.gz
  to main/e/ekeyd/ekeyd_1.1.5-1.diff.gz
ekeyd_1.1.5-1.dsc
  to main/e/ekeyd/ekeyd_1.1.5-1.dsc
ekeyd_1.1.5-1_amd64.deb
  to main/e/ekeyd/ekeyd_1.1.5-1_amd64.deb
ekeyd_1.1.5.orig.tar.gz
  to main/e/ekeyd/ekeyd_1.1.5.orig.tar.gz



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.
Paul Martin <[email protected]> (supplier of updated ekeyd 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, 14 Dec 2011 16:13:32 +0000
Source: ekeyd
Binary: ekeyd ekeyd-egd-linux
Architecture: source amd64
Version: 1.1.5-1
Distribution: unstable
Urgency: low
Maintainer: Simtec Electronics <[email protected]>
Changed-By: Paul Martin <[email protected]>
Description: 
 ekeyd      - Simtec Electronics UDEKEY01 Entropy Key Daemon
 ekeyd-egd-linux - Transfers entropy from an EGD to the Linux kernel pool
Closes: 576387 598317 640597
Changes: 
 ekeyd (1.1.5-1) unstable; urgency=low
 .
   * New upstream release
 .
   [ Vincent Sanders ]
   * Fix postinstall failure when udev is not installed. (Closes: #640597)
     Thanks to gregor herrmann for NMU.
 .
   [ Paul Martin ]
   * Fix escaping of slashes in key's serial number for munin scripts.
     (Closes: #598317)
   * Make the default for ekeyd-egd-linux be to retry a connection if it
     fails. (Closes: #576387)
   * Fix the ekey-rekey manpage to document that the serial number can be
     guessed automatically and that the master key will be prompted for if
     not provided on the command line. (Fixes Ubuntu bug 625446.)
   * Remove confusing Lua long-comments from ekeyd.conf.
Checksums-Sha1: 
 b118dd2d0515128fd3366dd1d5b4796bf59698da 1910 ekeyd_1.1.5-1.dsc
 036e1e69127a3751f62fffb2221ff2d0738aef99 101366 ekeyd_1.1.5.orig.tar.gz
 e9fd856b8d728124a57019983ce639fda4e15762 6685 ekeyd_1.1.5-1.diff.gz
 c9cb28ee1d197afd1ee198466126ffaa08ed0d99 100402 ekeyd_1.1.5-1_amd64.deb
 1fa0b6e5b8d3f19f584801bba538c23235b36643 18080 
ekeyd-egd-linux_1.1.5-1_amd64.deb
Checksums-Sha256: 
 7fd8ae1f5af73ca6490e4fc3d5c1293c37b3b8bc09efb93b5f49682e04b7db0b 1910 
ekeyd_1.1.5-1.dsc
 4aa8abe4bd8bb4517be3f751a75ae270ac2855ba4ba465099a3f29a2c8602ec4 101366 
ekeyd_1.1.5.orig.tar.gz
 3c85bb02fc0ebc9c59014cec2e65c911734d9fc0c55db666e505615764dd1289 6685 
ekeyd_1.1.5-1.diff.gz
 54322b80119d899e367729397a65dd9363fa94c96ddb4d2dd902a9c14394020c 100402 
ekeyd_1.1.5-1_amd64.deb
 33e27bae517d57d6afc51560db721c15b976194f180ee4f3c80b5181b2df664a 18080 
ekeyd-egd-linux_1.1.5-1_amd64.deb
Files: 
 04a4f25e43afc74fe21a8390c6a44c20 1910 utils optional ekeyd_1.1.5-1.dsc
 020b67ed8fae4324099269e2106ac96e 101366 utils optional ekeyd_1.1.5.orig.tar.gz
 07475bdff56a146f129637a06caa77b3 6685 utils optional ekeyd_1.1.5-1.diff.gz
 a4c71537d07e4aee028b96bc6a5a3849 100402 utils optional ekeyd_1.1.5-1_amd64.deb
 5e10d5e43417bacb09826f0c8c096eb1 18080 utils optional 
ekeyd-egd-linux_1.1.5-1_amd64.deb

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

iQIVAwUBTujLzGA7gyZh+cpTAQjyUw//ZPiysbQJ9jBLTU04KHASDBtuXjYQBZfU
mqyqYWVWcBwaWuG6Dzpbg49WcLPI7G3QzDl1P4FGdjj9luz3fmajT4Fv1OU1HqTq
lDbZa+g9hKYpYV9UcoEX1F1FoH18pX+2GQH8Yj6Iy8qFELCNU5XWpfS3VRijlqQB
xvyoXqTt6IclPunHscum5r8gebY8Qyy8bkMhSu2DPKB4z10gkPxmOVVnkjVAkoM3
uFnqlLm2lGNh/wXa6Ond1QNTLAu1tP6i/caJnbViWxUIt1pZLO57x/I/9znVDqWC
tMqZmlWRqv+T7AZSo+kEbZMOt7kWAQxCtzLR8tLp+s1gMJjX71o/SOhr8i45OzMC
trzl8Uat2i79fv7WlQ3kaKCQzxJqB8IWd/WP5tyZgmGrYIq5uPBFg9Az5W4YFfBP
PlUminMeKICyxks3qvwjhsKyM07Uew1u/Wz8H10kxmtfDIZZOOVSJyFNPSSz14AK
vy+bczrNN/9LxRSmpD+KLLT2Mr0X47KKhu378y3/w7oNwtCM2V/Ig93sz9Ch4ojC
GT55xS71trLE/fjaw5K37l9RPyD+p3qH7E5NxtTuVcl539EGQA3RvVyJlUF7eOdP
QPzmbVG2TzFlpMEaU7BXHmDY2Cq8F6EBtYQHeex5HmNcs7mldudCUPjBOHks/PmZ
Wp7CMXw3/zg=
=lJj8
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to