Yes, I think the test case is wrong - I should indeed have written
archive.ubuntu.com.*security (or some such) rather than
security.ubuntu.com. In fact I think this represents a pre-existing bug
in base-installer, but not a very serious one.

** Description changed:

  Binary package hint: base-installer
  
  I call this a regression because I presume at some point it worked as
  intended, but maybe it was dead on arrival... [cjwatson: It looks as if
  it was dead on arrival.]
  
  The apt-setup/security_host preseed is read, but completely ignored by
  configure_apt() in library.sh, thusly:
  
                  if db_get apt-setup/security_host; then
                          SECMIRROR="$RET"
                  else
                          SECMIRROR="$MIRROR"
                  fi
                  echo "deb $PROTOCOL://$MIRROR/ubuntu $DISTRIBUTION-security 
$COMPONENTS" >> /target/etc/apt/sources.list
  
  TEST CASE: Start a netboot installation with apt-
  setup/security_host=archive.ubuntu.com on the kernel command line, and
  check whether the resulting /var/log/installer/syslog includes a line
- containing "base-installer:" and "security.ubuntu.com"; if so the test
- has failed. (Or, if you can, firewall off security.ubuntu.com from the
- test machine and test whether installation still works given that
- command-line parameter; this is more real-world but more effort to set
- up.)
+ containing all three of "base-installer:", "archive.ubuntu.com", and
+ "-security"; if so the test has failed. (Or, if you can, firewall off
+ archive.ubuntu.com or us.archive.ubuntu.com or whichever host it uses
+ from the test machine and test whether installation still works given
+ that command-line parameter; this is more real-world but more effort to
+ set up.)
  
  This only affects netboot installs, not CD installs.

-- 
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