mk-sbuild-lv does not export http_proxy to schroot environment

Bug #416438 reported by Marko Poutiainen on 2009-08-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sbuild (Debian)
Fix Released
sbuild (Ubuntu)
ubuntu-dev-tools (Ubuntu)

Bug Description

Binary package hint: sbuild

mk-sbuild-lv script does not export the http_proxy environment variable. This makes it impossible to run the script behind a proxy server.


@@ -352,6 +352,7 @@
 #set -x
 set -e
+export http_proxy=${http_proxy}
 # Reload package lists
 apt-get update || true
 # Pull down signature requirements

Peter Antoniac (pan1nx) wrote :

Added to upstream. I confirm that it was quite bad if you are forced to use proxy and the sdebuild will not debootstrap your system because of the proxy.

Changed in sbuild (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
status: Confirmed → Triaged
Peter Antoniac (pan1nx) wrote :

Thanks also for the patch! This should speed up the integration into upstreap/downstream...

tags: added: packaging
tags: added: verification-done
Changed in sbuild (Debian):
status: Unknown → New
Peter Antoniac (pan1nx) wrote :

This bug is not in sbuild but in ubuntu-dev-tools. Pointed out by the debian maintainers of sbuild.

Changed in sbuild (Ubuntu):
importance: Low → Undecided
status: Triaged → Invalid
Changed in ubuntu-dev-tools (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
Peter Antoniac (pan1nx) wrote :

The debian maintainers of sbuild could integrate this tool in their sbuild-createchroot scripts. So, please keep this in mind and try to push this back to debian (if the maintainers of this script could push it to us for proper integration with sbuild was the debian recommendation)

Peter Antoniac (pan1nx) wrote :

Please see also the comments from the debian bug and how to forward the changes back to them in sbuild-createchroot script...

Peter Antoniac (pan1nx) wrote :

I raised the importance level to low as it seems to completely fail if you have a proxy. The whole sbuild environment fails to debootstrap without the patch...

Changed in ubuntu-dev-tools (Ubuntu):
importance: Wishlist → Low
milestone: none → karmic-alpha-6
Michael Terry (mterry) wrote :

I'm attaching a trivial debdiff to fix this. I've also linked a bzr branch if that's easier to use.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-dev-tools - 0.80

ubuntu-dev-tools (0.80) karmic; urgency=low

  * mk-sbuild-lv: Export http_proxy. LP: #416438

 -- Michael Terry <email address hidden> Thu, 10 Sep 2009 10:53:30 -0400

Changed in ubuntu-dev-tools (Ubuntu):
status: Triaged → Fix Released
Peter Antoniac (pan1nx) wrote :

Thanks Terry. What about that debian comments on inclusion? I am referring to "If you file a bug against ubuntu-dev-tools
in Ubuntu, you could suggest that they might want to push their changes back to us.". Do we need to do any special action here?

Michael Terry (mterry) wrote :

I didn't do anything about that. That's a much larger scope and presumably applies to lots of scripts in ubuntu-dev-tools. I suppose one could file a bug against ubuntu-dev-tools and ask for a review of what's useful to debian. But I'm not familiar enough with the scripts to make recommendations.

Peter Antoniac (pan1nx) wrote :

Done that... It is now in debian work... They where very happy about it...


Changed in sbuild (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.