Merge lp:~smoser/maas/packaging-lp1474417 into lp:~maas-maintainers/maas/packaging
Status: | Merged |
---|---|
Approved by: | Scott Moser |
Approved revision: | 418 |
Merged at revision: | 417 |
Proposed branch: | lp:~smoser/maas/packaging-lp1474417 |
Merge into: | lp:~maas-maintainers/maas/packaging |
Diff against target: |
30 lines (+8/-1) 2 files modified
debian/changelog (+4/-0) debian/extras/maas-proxy.conf (+4/-1) |
To merge this branch: | bzr merge lp:~smoser/maas/packaging-lp1474417 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andres Rodriguez (community) | Approve | ||
Lee Trager (community) | Approve | ||
David Lawson (community) | Approve | ||
Michael Vogt | Pending | ||
Review via email: mp+264875@code.launchpad.net |
Commit message
maas-proxy: sync apt specific squid config with squid-deb-proxy
This improves maas-proxy for handling apt specific files. And
generally syncs it up with squid-deb-proxy's config files.
Description of the change
maas-proxy: sync apt specific squid config with squid-deb-proxy
bug 1474417 raised the issue that Translation files in apt need to be
handled as Packages/Sources files. This lead me to just compare the
settings between squid-deb-proxy and maas-proxy for apt specific files.
The changes are (ordered generally by immediate importance):
a.) consider Translation files
upstream ubuntu mirrors started including Translation files in the
Release file, which meant that apt started failing on hash sum
mismatches of Translation-* files.
That archive-mirror-side change to launchpad (bug 1313576)
was one reason that people started seeing increased hash sum
mismatches on 'apt-get update' on Translation-* files.
b.) change parameters, and use 'refresh-ims'
The use/lack-of-use of refresh-ims might have been by design in
the maas proxy config. It seems like adding refresh-ims would
definitely increase the number of connections that squid does
to upstream mirrors.
See http://
for more info.
c.) consider Release.gpg
Release and Release.gpg have to be kept in sync, so Release.gpg
should have the same rules applied to it as Release.
d.) consider InRelease (inline signed release file, currently used by
debian, hopefully to eventually be used by ubuntu and thus remove
the race condition between Release and Release.gpg
e.) consider Sources
this would better handle sources files which would result in
has sum mismatches on deb-src lines.
f.) consider compression of bz2 or xz
This change would affect debian or explicitly configured ubuntu
systems more.
g.) anchor the matches to a '/' reducing false positives
Apparently the existing config came as recommendation from IS, so I've requested that IS review this change to it.