mk-sbuild needs better http proxy support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Fix Released
|
Wishlist
|
Scott Moser |
Bug Description
right now mk-sbuild has minimal support for using an apt proxy.
Looking at history, in theory this was fixed under bug 416438, but I don't really understand how.
during a 'mk-sbuild' run, such as:
./mk-sbuild --debootstrap-
There are at least 3 places where a proxy would be necessary:
a.) initial invocation of debootstrap
currently:
sudo "$DEBOOTSTRAP_
$variant_opt $debootstrap_opts "$RELEASE" \
"$MNT" "${DEBOOTSTRAP_
b.) the 'finish.sh' script that is invoked inside the chroot after initializing
c.) subsequent uses of that schroot
The only place in which 'http_proxy' environment variable is respected as far as I can tell is in 'b'.
a.) http_proxy environment does not make it through 'sudo' by default.
c.) creating a new schroot session like:
http_
http_
the http_proxy variable does not make it through in either case.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: ubuntu-dev-tools 0.132ubuntu0.1
ProcVersionSign
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Tue Oct 25 16:00:44 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-dev-tools
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Stefano Rivera: Approve
-
Diff: 113 lines (+33/-5)2 files modifieddebian/changelog (+4/-1)
mk-sbuild (+29/-4)
description: | updated |
Changed in ubuntu-dev-tools (Ubuntu): | |
status: | New → Fix Committed |
importance: | Undecided → Wishlist |
assignee: | nobody → Scott Moser (smoser) |
Environment variables not making it through sudo by default is a relatively recent change, isn't it?
Yeah, we can pass it around a little more explicitly. Care to provide a patch?