[Bug 820306] Re: debconf item apt-setup/security_path not fully honoured
Launchpad Bug Tracker
820306 at bugs.launchpad.net
Wed Jul 4 12:05:13 UTC 2012
This bug was fixed in the package base-installer - 1.86ubuntu2.4
---------------
base-installer (1.86ubuntu2.4) hardy-proposed; urgency=low
* Honour apt-setup/security_path when constructing initial security
entries in sources.list (LP: #820306).
-- Colin Watson <cjwatson at ubuntu.com> Tue, 16 Aug 2011 11:24:38 +0100
** Changed in: base-installer (Ubuntu Hardy)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to base-installer in Ubuntu.
https://bugs.launchpad.net/bugs/820306
Title:
debconf item apt-setup/security_path not fully honoured
Status in “base-installer” package in Ubuntu:
Fix Released
Status in “base-installer” source package in Lucid:
Fix Released
Status in “base-installer” source package in Maverick:
Invalid
Status in “base-installer” source package in Natty:
Fix Committed
Status in “base-installer” source package in Hardy:
Fix Released
Bug description:
Stable release update justification:
Impact: When the -security URL uses some path other than /ubuntu, security updates may not be installed as early during installation as they're supposed to be, and it's possible that there are corner cases where the -security entries are never set up correctly.
Development branch: Fixed in base-installer 1.119ubuntu4.
Patch: http://bazaar.launchpad.net/~ubuntu-core-dev/base-installer/ubuntu/revision/959
TEST CASE: Find a -security mirror which is not rooted at /ubuntu. Use preseeding similar to that used in the original report to select it during a server installation. Look for 404 errors referring to Ubuntu in the logs during the base-installer phase of installation: there should be none. You will need to use the 'apt-setup/proposed=true' boot parameter to test the proposed update for this bug.
Regression potential: As long as installations complete successfully and the 'apt-get update' during base-installer is free of errors, we should be fine.
Original report follows:
I do a 10.04 netinstall with a preseed file, using local mirrors for the repositories. Security repository is defined with
d-i apt-setup/security_host string 192.168.40.2
d-i apt-setup/security_path string /mirror/ubuntu-security
And the logs from the apache serving the mirror shows some attempts for http://192.168.40.2/ubuntu.
So it looks like that '/ubuntu' is somewhere hardcoded in the installer.
When doing the same for lenny, I use
apt-setup/security_host string 192.168.40.2/repomirror/debian-security
and works without any issue
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-installer/+bug/820306/+subscriptions
More information about the foundations-bugs
mailing list