Your message dated Fri, 24 May 2013 21:03:06 +0000
with message-id <[email protected]>
and subject line Bug#689914: fixed in cron-apt 0.9.2
has caused the Debian Bug report #689914,
regarding does funny things on short cksum output
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.)


-- 
689914: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689914
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cron-apt
Severity: normal

Please consider the following patch:

--- cron-apt.orig       2012-10-07 19:07:15.772153360 +0200
+++ cron-apt    2012-10-07 19:07:32.748173175 +0200
@@ -299,7 +299,7 @@
     if [ $RUNSLEEP -gt 0 ] ; then
        if [ -z "$RANDOM" ] ; then
             # A fix for shells that do not have this bash feature.
-           RANDOM=$(dd if=/dev/urandom count=1 2> /dev/null | cksum | cut 
-c"1-5")
+           RANDOM=$(dd if=/dev/urandom count=1 2> /dev/null | cksum | cut -d' 
' -f1)
        fi
        TIME=$(($RANDOM % $RUNSLEEP))
        sleep $TIME                                                             
        
which will help cron-apt to gracefully handle the case where the
checksum returned by cksum is shorter than four digits.

Greetings
Marc


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.5.4-zgws1 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

--- End Message ---
--- Begin Message ---
Source: cron-apt
Source-Version: 0.9.2

We believe that the bug you reported is fixed in the latest version of
cron-apt, 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.
Ola Lundqvist <[email protected]> (supplier of updated cron-apt 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: SHA1

Format: 1.8
Date: Fri, 24 May 2013 22:49:33 +0200
Source: cron-apt
Binary: cron-apt
Architecture: source all
Version: 0.9.2
Distribution: unstable
Urgency: low
Maintainer: Ola Lundqvist <[email protected]>
Changed-By: Ola Lundqvist <[email protected]>
Description: 
 cron-apt   - automatic update of packages using apt-get
Closes: 689914
Changes: 
 cron-apt (0.9.2) unstable; urgency=low
 .
   * The code to generate random data is changed so that it handles
     absence of /dev/urandom and more importantly handles the case when
     cksum return a too short string. Closes: #689914. Thanks to Marc
     Haber <[email protected]> and Bob Proulx <[email protected]>
     for the suggestions.
Checksums-Sha1: 
 dcffad069bfa685ea1b7d49f1dda0b1c58580136 736 cron-apt_0.9.2.dsc
 3e3c17e41f53c674b16cbe0c547514d26f824fe0 45289 cron-apt_0.9.2.tar.gz
 4a9330bab9df70de6365c32bf36c349d45a12e16 27180 cron-apt_0.9.2_all.deb
Checksums-Sha256: 
 281b2516cfc8af1b75757881552645f231a1544cde08d8be40de1f0939b7f10b 736 
cron-apt_0.9.2.dsc
 5d29679937e57e1f26d83b795fb34d32cf2ea87a0413e1cbc10ad59f95ea986c 45289 
cron-apt_0.9.2.tar.gz
 6215c929163bdbd9ac361b29422a0babfc6fe021c8c6343c3f6de4b0d8718571 27180 
cron-apt_0.9.2_all.deb
Files: 
 0948469d05da25a3e0d38a8dc31eae75 736 admin optional cron-apt_0.9.2.dsc
 20f9c9f066f3bb54e036dbbbaf145d0b 45289 admin optional cron-apt_0.9.2.tar.gz
 d2c38f30943fb60a2b364805ddbd46ab 27180 admin optional cron-apt_0.9.2_all.deb

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

iEYEARECAAYFAlGf1AwACgkQGKGxzw/lPdn6QgCfQ5KrkYL8BsDNxWQPjO5c//Ld
3dwAoJxFJKN49GRoVt8C+mq1FGNXkzAu
=ivOt
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to