Your message dated Thu, 13 Mar 2008 15:32:02 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#457027: fixed in debian-builder 1.8 has caused the Debian Bug report #457027, regarding debian-builder script tries to remove all packages in the system if started without arguments 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.) -- 457027: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457027 Debian Bug Tracking System Contact [EMAIL PROTECTED] with problems
--- Begin Message ---Package: debian-builder Version: 1.7 Severity: grave Tags: patch Justification: causes non-serious data loss The script uses %INSTALLED hash table to track the packages which was installed on the system when script was started. Problem is, it fills this table only when buildPackage() function called. When no argument given, this function is not called, and %INSTALLED table is not filled, but tidySystem() function always called on script termination, and it does not check if %INSTALLED were initialized or not. It then executes a command to remove packages what exist in curent system, but not in %INSTALLED table, which is all packages in the system in this case. This can be easily fixed, but in general, removing packages without user confirmation is a very bad idea - debian-helper intended to be run with root privileges, and therefore even a little bug can be the cause of system rendered unusable. patch: --- debian-builder.orig 2007-12-19 11:52:39.000000000 +0500 +++ debian-builder 2007-12-19 12:03:29.000000000 +0500 @@ -637,6 +637,9 @@ sub tidySystem { + if( not scalar(%INSTALLED) ) { + return; + } my %NEW = getInstalledPackages(); my @removals; foreach my $package ( sort keys %NEW ) -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.23ct (SMP w/2 CPU cores; PREEMPT) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages debian-builder depends on: ii build-essential 11.3 informational list of build-essent ii devscripts 2.10.9 Scripts to make the life of a Debi ii dpkg-dev 1.14.7 package building tools for Debian ii perl 5.8.8-11 Larry Wall's Practical Extraction ii perl-modules 5.8.8-11 Core Perl modules debian-builder recommends no packages. -- debconf-show failed--- debian-builder.orig 2007-12-19 11:52:39.000000000 +0500 +++ debian-builder 2007-12-19 12:03:29.000000000 +0500 @@ -637,6 +637,9 @@ sub tidySystem { + if( not scalar(%INSTALLED) ) { + return; + } my %NEW = getInstalledPackages(); my @removals; foreach my $package ( sort keys %NEW )
--- End Message ---
--- Begin Message ---Source: debian-builder Source-Version: 1.8 We believe that the bug you reported is fixed in the latest version of debian-builder, which is due to be installed in the Debian FTP archive: debian-builder_1.8.dsc to pool/main/d/debian-builder/debian-builder_1.8.dsc debian-builder_1.8.tar.gz to pool/main/d/debian-builder/debian-builder_1.8.tar.gz debian-builder_1.8_all.deb to pool/main/d/debian-builder/debian-builder_1.8_all.deb 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. Deepak Tripathi <[EMAIL PROTECTED]> (supplier of updated debian-builder 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.7 Date: Thu, 13 Mar 2008 20:29:33 +0530 Source: debian-builder Binary: debian-builder Architecture: source all Version: 1.8 Distribution: unstable Urgency: low Maintainer: Deepak Tripathi <[EMAIL PROTECTED]> Changed-By: Deepak Tripathi <[EMAIL PROTECTED]> Description: debian-builder - Rebuild Debian packages from source code Closes: 457027 Changes: debian-builder (1.8) unstable; urgency=low . * Include patch from Dmitry Petukhov <[EMAIL PROTECTED]> (Closes: 457027) * debian/control - Bumped Standerds-Version to 3.7.3 * debian/rule - Change rule file for build-indep Files: 3b2286ae5fc046f5eb0aac901e1cd379 511 admin optional debian-builder_1.8.dsc 0e6f85f13c437f8588e5ad52b9139965 12455 admin optional debian-builder_1.8.tar.gz b35e8da0f3c12c2677cea406dcd6be55 15024 admin optional debian-builder_1.8_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFH2UV02A7zWou1J68RAumMAJ9RMUIs72FzESUI6JtmsmMXqHyhCQCgtQjO 66qlwOWlER0/X0uauodk2yk= =qrzR -----END PGP SIGNATURE-----
--- End Message ---

