[Pkg-ia32-libs-maintainers] Bug#535434: ia32-apt-get freezes system when aptitude update is run when 'None' mode is selected
Edward Guldemond
edward.guldemond at gmail.com
Thu Jul 2 04:26:48 UTC 2009
Package: ia32-apt-get
Version: 20
Severity: grave
Tags: patch
Justification: renders package unusable
ia32-apt-get freezes the system by exhausting all entries in the
process table when aptitude update is run when ALLOWED is set to none.
It does this because the wrapper does not append .real to the called
name when calling the real aptitude, causing the wrapper to call
itself over and over again until there is no more room in the process
table.
Attached is a patch that fixes this.
-- System Information:
Debian Release: squeeze/sid
APT prefers transitional
APT policy: (500, 'transitional'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages ia32-apt-get depends on:
ii debconf 1.5.26 Debian configuration management sy
ii ia32-libs-tools 20 Tools for converting i386 debs for
ia32-apt-get recommends no packages.
ia32-apt-get suggests no packages.
-- debconf information:
* ia32-apt-get/allowed-packages: None
ia32-apt-get/undo-old-sources-list:
-------------- next part --------------
--- /usr/bin/aptitude 2009-07-01 11:12:14.000000000 -0400
+++ /tmp/aptitude 2009-07-02 00:22:12.000000000 -0400
@@ -21,7 +21,7 @@
# Wrap nothing if not allowed
if [ "$ALLOWED" = "None" ]; then
- "$0" "$@"
+ "$0".real "$@"
exit $?
fi
More information about the Pkg-ia32-libs-maintainers
mailing list