Your message dated Tue, 28 May 2013 17:19:33 +0000 with message-id <[email protected]> and subject line Bug#676617: fixed in uswsusp 1.0+20120915-2 has caused the Debian Bug report #676617, regarding uswsusp: postinst generates an invalid config file 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.) -- 676617: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676617 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: uswsusp Version: 1.0+20110509-2 Severity: normal The configuration file generated after the first install contains this line: image size = 2.86942e+09 which is bogus (the program expects an unsigned int, so the value is truncated). This is generated in uswsusp.config:55 by: IMAGESIZE=`awk '$1 == "MemTotal:" {print int($2*1024*0.46)}' /proc/meminfo 2> /dev/null` My system has 6GB of RAM: $ grep MemTotal /proc/meminfo MemTotal: 6091988 kB So the expression overflows the 'int' and is printed as floating point. The following statement outputs an integer, but the result is somewhat off (maybe it gets truncated internally): awk '$1 == "MemTotal:" {printf("%lu\n", $2*1024*0.46)}' /proc/meminfo The shell (I've tried both dash and bash) is able to compute the correct value, like this: IMAGESIZE=$((`awk '$1 == "MemTotal:" {print $2}' /proc/meminfo` * 1024 / 100 * 46)) -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (600, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.4.0 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages uswsusp depends on: ii debconf [debconf-2.0] 1.5.43 ii libc6 2.13-33 ii libgcrypt11 1.5.0-3 ii liblzo2-2 2.06-1 ii libpci3 1:3.1.9-3 ii libx86-1 1.1+ds1-9 Versions of packages uswsusp recommends: ii initramfs-tools 0.106 ii mount 2.20.1-5 uswsusp suggests no packages. -- debconf information: uswsusp/compute_checksum: false uswsusp/no_snapshot: uswsusp/suspend_loglevel: uswsusp/no_swap: uswsusp/resume_offset: uswsusp/early_writeout: true uswsusp/image_size: 2.86942e+09 uswsusp/compress: true uswsusp/create_RSA_key: false uswsusp/snapshot_device: uswsusp/RSA_key_file: /etc/uswsusp.key uswsusp/max_loglevel: uswsusp/resume_device: /dev/dm-1 uswsusp/shutdown_method: platform uswsusp/encrypt: false uswsusp/splash: true uswsusp/RSA_key_bits: 1024 uswsusp/continue_without_swap: true
--- End Message ---
--- Begin Message ---Source: uswsusp Source-Version: 1.0+20120915-2 We believe that the bug you reported is fixed in the latest version of uswsusp, 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. Rodolfo García Peñas (kix) <[email protected]> (supplier of updated uswsusp 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: Sun, 26 May 2013 21:24:30 +0200 Source: uswsusp Binary: uswsusp Architecture: source amd64 Version: 1.0+20120915-2 Distribution: unstable Urgency: low Maintainer: Rodolfo García Peñas (kix) <[email protected]> Changed-By: Rodolfo García Peñas (kix) <[email protected]> Description: uswsusp - tools to use userspace software suspend provided by Linux Closes: 392168 501223 515739 564152 575538 628546 634117 664101 672647 676617 697886 701755 Changes: uswsusp (1.0+20120915-2) unstable; urgency=low . * New upstream version. [Closes: #634117, #628546, #392168] * Some upstream code corrections: * Minor typecasting warnings: debian/patches/06_typecasting_warnings.patch. * Incorrect argument request: debian/patches/07_no_kms_argument.patch. * Disable KMS using config file: debian/patches/08_disable_kms_cfg_file.patch. * Added UUID support. [Closes: #664101, #701755, #501223] * Required libblkid-dev in debian/control. * New patch file debian/patches/05_uuid_support.patch. * debian/compat is now version 9. * debian/dirs moved to uswsusp.dirs. * debian/install moved to debian/uswsusp.install and rewrited. * debian/links moved to debian/uswsusp.links. * Bumped Standard Version to 3.9.4. * New Vcs-Browser and Vcs-Git fields. * debian/rules changed: * Removed commented lines. * Now uses autogen.sh. * Removed manpages regeneration. See below. * Removed dh_clean override. * Added extend-diff-ignore to debian/source/options. * Removed debian/patches/04_debian_paths.patch because ./autogen.sh is included in debian/rules, so modify ./configure is not needed. * automake and libtool are required to build the package. Added to debian/control. * Manpages are included now in upstream. * Manpages are now not regenerated. The package doesn't depends now on xml tools. docbook-xsl, docbook-xml, xsltproc and docbook2x package dependencies removed in debian/control. * debian/rules updated. * debian/manpages updated. * Removed manpage files at debian folder (debian/*.[58] debian/*.[58].xml. * New debian/patches/04_uswsusp_manpages.patch to change the suspend-utils strings to uswsusp. * Manpage spelling corrections [Closes: #672647]. * Patch sent by Jon Dowland <[email protected]>. * debian/lintian-overrides: Added no-upstream-changelog. * debian/uswsusp.* debconf script rewrited. * Support for swap files. [Closes: #515739] * Removed "02" characters in debian/uswsusp.config. Patch sent by Alan Jenkins <[email protected]> * Imagesize now is unsigned long. [Closes: #676617] * Patch sent by Luca Tettamanti. * Initramfs conf.d script moved to compiletime config conf-hooks.d. [Closes: #575538] * Comments added to the file. * Removed uswsusp/splash debconf template because splasy package is not available. Files changed: debian/uswsusp.config, debian/uswsusp.postinst and debian/uswsusp.templates. [Closes: #697886] * Template errors are now "text". [Closes: #564152] Templates were: uswsusp/no_snapshot and uswsusp/no_swap. * Updated debian/NEWS. * README file include more info about s2ram methods: Patch debian/patches/09_readme_new_options.patch. Checksums-Sha1: 0abc75e2869e412c5e7cdbcb07e7e1e4e276ab66 1511 uswsusp_1.0+20120915-2.dsc 542bbea32e6157f76b942d87df03fc2cb5177ad5 144237 uswsusp_1.0+20120915.orig.tar.gz 6201b3f828af4c8e8e3453487acc9006a8dd860e 78122 uswsusp_1.0+20120915-2.debian.tar.bz2 51fa0749e7adb51da65033f564b97baa2294ea2b 205958 uswsusp_1.0+20120915-2_amd64.deb Checksums-Sha256: 52458533e60934951f83a178ca9c5f0c915bcae9e3a58a5a32512de8cf554df6 1511 uswsusp_1.0+20120915-2.dsc 6f78beae008c27516b80e119549b36a54a39e04cc026cc211656a6072cddd441 144237 uswsusp_1.0+20120915.orig.tar.gz 8a25612e67d2d8043c53b94d61212a690a4feffa6dbd1d5ff90e768b25aabf53 78122 uswsusp_1.0+20120915-2.debian.tar.bz2 67fe4a0f8982f3e8da74d6b44a299bf7c8b49b0196a2fd2bb058370db2198b74 205958 uswsusp_1.0+20120915-2_amd64.deb Files: 14ea6868f24e38a8bc3e2fd8c1690eee 1511 admin optional uswsusp_1.0+20120915-2.dsc 14d3821bd22f61abfd5235b4e429e0b9 144237 admin optional uswsusp_1.0+20120915.orig.tar.gz fd60801a3033e2aa0cd2ce6e8c5b5900 78122 admin optional uswsusp_1.0+20120915-2.debian.tar.bz2 73cf7dea436d4ce60c33f1180395484c 205958 admin optional uswsusp_1.0+20120915-2_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAlGk4bwACgkQchorMMFUmYxncACdE39RCU4fb/UtFoWcJcEWnpaZ ymEAoMtpemept6T4bFhHebirH5fQkQRm =EMQz -----END PGP SIGNATURE-----
--- End Message ---

