Your message dated Wed, 08 Oct 2014 21:19:12 +0000 with message-id <[email protected]> and subject line Bug#756882: fixed in dcfldd 1.3.4.1-3 has caused the Debian Bug report #756882, regarding dcfldd: size probing of large block devices fails because of BLKGETSIZE 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.) -- 756882: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756882 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: dcfldd Version: 1.3.4.1-2.1 Severity: normal Tags: patch Dear Maintainer, Probing the size of large block devices fails, because ioctl(..., BLKGETSIZE, ...) fails with -EFBIG. The following patch makes dcfldd use BLKGETSIZE64 on Linux: --- dcfldd-1.3.4.1.orig/sizeprobe.c +++ dcfldd-1.3.4.1/sizeprobe.c @@ -63,9 +63,13 @@ static off_t midpoint(off_t a, off_t b, static off_t get_dev_size(int fd, long blksize) { off_t num_sectors = 0; - - if (ioctl(fd, BLKGETSIZE, &num_sectors)) - log_info("%s: ioctl call to BLKGETSIZE failed.\n", program_name); + + /* + * Use BLKGETSIZE64 unconditionally, since dcfldd.h #defines _FILE_OFFSET_BITS 64 + * and off_t is guaranteed to be large enough to hold the result. + */ + if (ioctl(fd, BLKGETSIZE64, &num_sectors)) + log_info("%s: ioctl call to BLKGETSIZE64 failed.\n", program_name); else return (num_sectors * 512); } -- System Information: Debian Release: 7.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=el_GR.UTF8, LC_CTYPE=el_GR.UTF8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages dcfldd depends on: ii libc6 2.13-38+deb7u3 dcfldd recommends no packages. dcfldd suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: dcfldd Source-Version: 1.3.4.1-3 We believe that the bug you reported is fixed in the latest version of dcfldd, 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. Joao Eriberto Mota Filho <[email protected]> (supplier of updated dcfldd 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, 05 Oct 2014 13:15:31 -0300 Source: dcfldd Binary: dcfldd Architecture: source amd64 Version: 1.3.4.1-3 Distribution: unstable Urgency: medium Maintainer: Joao Eriberto Mota Filho <[email protected]> Changed-By: Joao Eriberto Mota Filho <[email protected]> Description: dcfldd - enhanced version of dd for forensics and security Closes: 533686 615447 756881 756882 763947 Changes: dcfldd (1.3.4.1-3) unstable; urgency=medium . * New maintainer. Thanks to Kenny Duffus, the initial maintainer, for your nice work over this package. (Closes: #763947) * Acknowledge NMU. Thanks to Miah Gregory. (Closes: #533686, #615447) * Migrations: - debian/copyright to 1.0 format. - debhelper level to 9. - debian/rules to new (reduced) format. * debian/control: - Added the Vcs-* fields to control the Debian packaging. - Bumped the Standard-Version to 3.9.6. - Reviewed the long description (little changes). * debian/copyright: - Updated the upstream email address. - Updated the licenses information. * debian/source/options: updated. * debian/patches/: - Added a header to each patch. - Added the patch fix-sizeprobe-option.patch. Thanks to Vangelis Koukis. (Closes: #756881) - Added the patch fix-probing-of-large-block-devices.patch. Thanks to Vangelis Koukis. (Closes: #756882) - fix-manpage-whatis.patch: . Removed the reference to 'info' command. . Renamed to fix-manpage.patch. - Moved the fix to 'seperate' in manpage from fix-typo.patch to fix-manpage.patch. * debian/rules: added the DEB_BUILD_MAINT_OPTIONS variable to fix the issues pointed by blhc. * debian/watch: fixed and improved. Checksums-Sha1: 8beb6b6430a7d33c42cab41f26eb19c168f01c04 1827 dcfldd_1.3.4.1-3.dsc 0f06b3e6540aa2db40c972aac0667a1df65c7d3c 6184 dcfldd_1.3.4.1-3.debian.tar.xz 0878263e207bbe2768eea057e63912dc08e90e40 36712 dcfldd_1.3.4.1-3_amd64.deb Checksums-Sha256: 7ca855027290327320d67615f83968390626e88209a1e2b417d9425d94726e2a 1827 dcfldd_1.3.4.1-3.dsc 4d91b4ee390e46f9606a0603534cbe2470af6bcee5f0d8a42fef3075dea19955 6184 dcfldd_1.3.4.1-3.debian.tar.xz 3391f78f97a58c871b3447326cd31655ebc5dbf744166871dd2b9da3197409ea 36712 dcfldd_1.3.4.1-3_amd64.deb Files: 7976caf090f8f0651547651ae04b9875 1827 admin optional dcfldd_1.3.4.1-3.dsc d1573950fe27e3fa2098518b8079afcc 6184 admin optional dcfldd_1.3.4.1-3.debian.tar.xz 62f0427c38b8ffcb87081baf7ec2f6d8 36712 admin optional dcfldd_1.3.4.1-3_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUNZ9EAAoJEN5juccE6+nvKLoP/05eNKefqC/d5Sjo1gpw+GUg nbVeJ58zLoK0WElARstvnqNbpeSgwWP6AdklI5RCESky9tdoA17OCCUnnq0xdNVD 1v+z4JgnGnajYfSJi0PGB3O+P3dMBL4vowL+ORmf3xgM6MzKlP2md6hrqjcYcSE5 5PTtp57fZWcRmXKFpR3wzI1Ui9ARH9fxB8dscPWJFxktAm6y7vIL4cxISWfollaI HQ2zMIXd8kSulAsVhnsbGOj45vQ8EwTHoC75f9HEfaL7Q8VgI0HMU++DcquMmAnA 6c3JwSsG9HXnKVFcPD8SHlY8McDoqvkL7F6sc7Xz8pafShiQJqGbeQ9UGIpmefbV c6QD4c20ggXfYMT0wMUn2PU0gsTTLOgV0UD7oOH152wZVawL4jLGPlf3gmWQJN8D pbcrGGq6uegZieSMA31yqpHHERH/tAJEXtaQ7jNt6jSmJrGlkE09d0tbYmRyP0FG wbYqM7PIGY8jC2J1+B/Zbq9E08v0VSjOBjDtyTgkr0Xr9MD/oDgOzuXs3KxUPjbR arnoXyngN7I3516RoA7//nXyeklzB6RyPyP4Jl4bivPiWDiSsiV/YIQSW6vlZRRl 5a+QSH4qFkuRtTlaeum8lBCtMseG9r45h3usTv3KTOSLjwUG7dXMzD/1xYhsYQy8 1WwWZn3GLc8j1xo31oha =Qntm -----END PGP SIGNATURE-----
--- End Message ---

