Your message dated Sat, 10 Dec 2011 22:34:36 +0000
with message-id <[email protected]>
and subject line Bug#651477: fixed in lxc 0.7.5-14
has caused the Debian Bug report #651477,
regarding lxc_debconf: proxy support for chroot and disable language warning 
during early configure phase
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.)


-- 
651477: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651477
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lxc
Version: 0.7.5-13
Severity: wishlist

Hi,
The patch attached will add proxy support for chroot in lxc-debconf. The
consecutive configure steps (like upgrade) will fail in company setups with
internet access by proxies only.
Regards,
Marcus



-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-bpo.2-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lxc depends on:
ii  debconf [debconf-2.0]         1.5.36.1   Debian configuration management sy
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib
ii  libcap2                       1:2.19-3   support for getting/setting POSIX.

Versions of packages lxc recommends:
ii  debootstrap              1.0.26+squeeze1 Bootstrap a basic Debian system
ii  libcap2-bin              1:2.19-3        basic utility programs for using c

Versions of packages lxc suggests:
pn  lxctl                         <none>     (no description available)

-- debconf information:
  lxc/shutdown: stop
  lxc/directory: /var/lib/lxc
  lxc/title:
  lxc/auto: true
>From 00d9b4cd4f620114d5a766b970914a7330e6b84d Mon Sep 17 00:00:00 2001
From: Marcus Osdoba <[email protected]>
Date: Thu, 8 Dec 2011 23:44:48 +0100
Subject: [PATCH] lxc-debconf: add proxy support and default LANG for setup via 
chroot


when chroot'ing on the commandline, the chroot-environment
inherits the environment variables like ftp_ and http_proxy,
if the container is setup behind a firewall the hosts apt system
knows it's proxies, but when upgrading and running other
chroot commands from lxc-debconf this information is lost

the basic setup with "dpkg-configure -a" does not set a default
language and locale, this results in many warnings when setting
up the container during the package configure step, it's safe to
set the language to "C" for the early steps in the lxc-debconf process

Signed-off-by: Marcus Osdoba <[email protected]>
---
 debian/local/lxc-debconf |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/debian/local/lxc-debconf b/debian/local/lxc-debconf
index bc0a09e..806742c 100755
--- a/debian/local/lxc-debconf
+++ b/debian/local/lxc-debconf
@@ -8,6 +8,8 @@ Chroot ()
        chroot "${_CHROOT}" /usr/bin/env -i \
                PATH="/usr/sbin:/usr/bin:/sbin:/bin" TERM="${TERM}" \
                DEBIAN_FRONTEND="${_DEBCONF_FRONTEND}" 
DEBIAN_PRIORITY="${_DEBCONF_PRIORITY}" \
+                LC_ALL="C" LANGUAGE="C" LANG="C" \
+                ftp_proxy="${ftp_proxy}" http_proxy="${http_proxy}" \
                ${@}
 }
 
-- 
1.7.2.5


--- End Message ---
--- Begin Message ---
Source: lxc
Source-Version: 0.7.5-14

We believe that the bug you reported is fixed in the latest version of
lxc, which is due to be installed in the Debian FTP archive:

lxc-dbg_0.7.5-14_i386.deb
  to main/l/lxc/lxc-dbg_0.7.5-14_i386.deb
lxc-dev_0.7.5-14_i386.deb
  to main/l/lxc/lxc-dev_0.7.5-14_i386.deb
lxc_0.7.5-14.debian.tar.gz
  to main/l/lxc/lxc_0.7.5-14.debian.tar.gz
lxc_0.7.5-14.dsc
  to main/l/lxc/lxc_0.7.5-14.dsc
lxc_0.7.5-14_i386.deb
  to main/l/lxc/lxc_0.7.5-14_i386.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.
Daniel Baumann <[email protected]> (supplier of updated 
lxc 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: Sat, 10 Dec 2011 23:20:40 +0100
Source: lxc
Binary: lxc lxc-dbg lxc-dev
Architecture: source i386
Version: 0.7.5-14
Distribution: unstable
Urgency: low
Maintainer: Daniel Baumann <[email protected]>
Changed-By: Daniel Baumann <[email protected]>
Description: 
 lxc        - Linux Containers userspace tools
 lxc-dbg    - Linux Containers userspace tools (debug)
 lxc-dev    - Linux Containers userspace tools (development)
Closes: 651477 651616
Changes: 
 lxc (0.7.5-14) unstable; urgency=low
 .
   * Adding quotes in some eval calls in lxc-debconf to make sure values
     with whitespaces are treated correctly.
   * Using LC_ALL=C when executing calls in chroot of lxc-debconf.
   * Also including ftp_proxy and http_proxy in lxc-debconfs chroot
     environment (Closes: #651477).
   * Correcting copy/paste error in lxc-debconf when setting empty
     default mac address.
   * Updating preseed examples for lxc-debconf.
   * Adding bash completion for lxc from GaĆ© Lucas <[email protected]>.
   * Streamlining bash-completion file a bit.
   * Correcting wrong auto variable in lxc-debconf.
   * Simplyfing architecture detection in lxc-debconf which is always
     running on debian based systems anyway.
   * Adding support for creating i386 containers on amd64 in lxc-debconf
     (Closes: #651616).
   * Reorder entries to drop capabilities in default config of lxc-
     debconf.
   * Updating guessing for shared directories in default config of lxc-
     debconf.
   * Reorder entry for console log in default config of lxc-debconf.
   * Updating preseeding examples for lxc-debconf.
Checksums-Sha1: 
 e4a343f90210cb3748f1a2d98546456a700b5736 1236 lxc_0.7.5-14.dsc
 aceff1a06042b07422b74633ffac551e0ed568ed 35677 lxc_0.7.5-14.debian.tar.gz
 e2d8547dd5d9b47b6ac487e5ddb54aefdc089e00 171450 lxc_0.7.5-14_i386.deb
 6e6b81b48d65453afc03371d4b3a386cd825b3bc 173138 lxc-dbg_0.7.5-14_i386.deb
 4ec38bdac14a3794f81013103e99da282a84ba34 18228 lxc-dev_0.7.5-14_i386.deb
Checksums-Sha256: 
 b80f51985939341bf7f60fd01a2fcac5eb1b33f5a738b467ad5bb32b18305947 1236 
lxc_0.7.5-14.dsc
 2ec6d3f02df58bc89eee5d49bfb844a7e4a867fa3c1e9a448aa9deea2958b676 35677 
lxc_0.7.5-14.debian.tar.gz
 c30c0ec79f5af3a01d081597f9f52b3bd7706fe4750aef8a94e62bb969a2e685 171450 
lxc_0.7.5-14_i386.deb
 ed44ee7043d5d86f1dadb82f34d951d630b0d0fc64b5406b32235aeea797d235 173138 
lxc-dbg_0.7.5-14_i386.deb
 278625d2ae4af04d3b8f98af4e74003d966810ff29c0ed1fe779a191066fb535 18228 
lxc-dev_0.7.5-14_i386.deb
Files: 
 014cc0d7680d5361b31d1334050e44bd 1236 admin optional lxc_0.7.5-14.dsc
 3c467a5a9f9cf56ed433346599eddac1 35677 admin optional 
lxc_0.7.5-14.debian.tar.gz
 fef6f3401d182becc330454b8e109e0e 171450 admin optional lxc_0.7.5-14_i386.deb
 60deefa2eb53cd732ea1b3e3cc806ef9 173138 debug extra lxc-dbg_0.7.5-14_i386.deb
 c84354bfb3918c44dfabebfb8cbce292 18228 libdevel optional 
lxc-dev_0.7.5-14_i386.deb

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

iEYEARECAAYFAk7j3SAACgkQ+C5cwEsrK57TDgCfb78rg22Qbc2He1fIfxkFawTZ
fNkAn0WLwClOGGplV6GU4ESvAs1M0ODg
=vequ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to