local squid-deb-proxy blocks sbuild

Bug #1195430 reported by Chris J Arges
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
squid-deb-proxy (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Test case on a fresh Saucy install.
1) sudo apt-get install squid-deb-proxy ubuntu-dev-tools
2) sudo adduser $USER sbuild && su $USER
3) http_proxy=http://localhost:8000/ mk-sbuild --distro=ubuntu saucy

When the packages get installed you see the following:
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/f/fakeroot/fakeroot_1.19-2_amd64.deb 403 Forbidden [IP: ::1 8000]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/o/optipng/optipng_0.6.4-1build1_amd64.deb 403 Forbidden [IP: ::1 8000]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/pkg-create-dbgsym/pkg-create-dbgsym_0.60_all.deb 403 Forbidden [IP: ::1 8000]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/pkgbinarymangler/pkgbinarymangler_118_all.deb 403 Forbidden [IP: ::1 8000]

It is expected that using "http_proxy="http://localhost:8000"" allows sbuild to use the local squid-deb-proxy.

To fix the issue, you can add the following to: /etc/squid-deb-proxy/allowed-networks-src.acl
::1/128

I believe the default .acl should include this IP.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: squid-deb-proxy 0.7.1
ProcVersionSignature: User Name 3.9.0-6.14-generic 3.9.6
Uname: Linux 3.9.0-6-generic x86_64
ApportVersion: 2.10.2-0ubuntu2
Architecture: amd64
Date: Thu Jun 27 19:01:45 2013
Ec2AMI: ami-0000042e
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.large
Ec2Kernel: aki-0000022a
Ec2Ramdisk: ari-0000022a
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: squid-deb-proxy
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Chris J Arges (arges) wrote :
Revision history for this message
Chris J Arges (arges) wrote :

Linked branch fixes the issue.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package squid-deb-proxy - 0.7.2

---------------
squid-deb-proxy (0.7.2) unstable; urgency=low

  [ Chris J Arges ]
  * Add additional ipv6 localhost address. (LP: #1195430)

 -- Michael Vogt <email address hidden> Tue, 09 Jul 2013 16:37:19 +0200

Changed in squid-deb-proxy (Ubuntu):
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.