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

Bug #416438 reported by Marko Poutiainen
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sbuild (Debian)
Fix Released
Unknown
sbuild (Ubuntu)
Invalid
Undecided
Unassigned
ubuntu-dev-tools (Ubuntu)
Fix Released
Low
Unassigned

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.

Patch:

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

Revision history for this message
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
Revision history for this message
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
Revision history for this message
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
Revision history for this message
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)

Revision history for this message
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...

Revision history for this message
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
Revision history for this message
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.

Revision history for this message
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
Revision history for this message
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?
 Thanks...

Revision history for this message
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.

Revision history for this message
Peter Antoniac (pan1nx) wrote :

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

Cheers,
Peter

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

Other bug subscribers

Remote bug watches

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