Colin, I don't think the testcase in the description is quite correct. I
used the netboot image from http://archive.ubuntu.com/ubuntu/dists
/hardy-
proposed/main/installer-i386/20070308ubuntu40.7/images/netboot/mini.iso
with an apt-setup/security_host option that pointed to an non-available
ip address. There's no mention of security.ubuntu.com in the resultant
/var/log/installer/syslog; however, the security archive information was
successfully pulled from:

  base-installer: Get:2 http://us.archive.ubuntu.com hardy-security Release.gpg 
[189B]
  base-installer: Get:4 http://us.archive.ubuntu.com hardy-security Release 
[58.5kB]
  base-installer: Get:7 http://us.archive.ubuntu.com hardy-security/main 
Packages [114kB]
  base-installer: Get:8 http://us.archive.ubuntu.com hardy-security/restricted 
Packages [7487B]

which is what I would expect would happen if $MIRROR is used instead of
$SECMIRROR, based on the code snippet above. I do note that later on
apt-setup fails to download the hardy-security repo from the non-
reachable ip address, and (I believe, but need to reverify) that
/etc/apt/sources.list was set up correctly to point to the alternate
security host (which confuses me based on the code snippet above).

Using the same netboot image, with the same apt-setup/security_host
option plus the addition apt-set/proposed=true argument, those downloads
fail with:

  base-installer: Err http://192.168.1.210 hardy-security Release.gpg
  base-installer:   Could not connect to 192.168.1.210:3142 (192.168.1.210). - 
connect (111 Connection refused)
  base-installer: W:
  base-installer: Failed to fetch 
http://192.168.1.210:3142/ubuntu/dists/hardy-security/Release.gpg  Could not 
connect to 192.168.1.210:3142 (192.168.1.210). - connect (111 Connection 
refused)
  base-installer:
  base-installer: W:
  base-installer: Some index files failed to download, they have been ignored, 
or old ones used instead.
  base-installer:
  base-installer: W:
  base-installer: You may want to run apt-get update to correct these problems
  base-installer:

(In both instances there were non-relevant lines interspersed that I
removed, but I'll attach the syslog from both runs.)

I *think* this issue is verified for hardy, but I'd like confirmation
from Colin on this.

** Attachment added: "non-proposed /var/log/installer/syslog"
   http://launchpadlibrarian.net/21201460/syslog

-- 
apt-setup/security_host is ignored
https://bugs.launchpad.net/bugs/306356
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to