regression: vm-builder lacks --security-mirror option

Bug #293898 reported by Bryan McLellan
2
Affects Status Importance Assigned to Milestone
VMBuilder
Fix Released
High
Unassigned
Intrepid
Won't Fix
Undecided
Unassigned
vm-builder (Ubuntu)
Fix Released
High
Nick Barcet

Bug Description

VMBuilder has a --mirror option but no --security-mirror option like u-v-b had. Thus now that there is a new kernel security update for intrepid, every build starts downloading a 23MB file from security.ubuntu.com.

Workaround is to modify /etc/vmbuilder/ubuntu/sources.list.tmpl on the host to point to a local mirror. (or use --templates)

Note that I believe this is a non issue if you have the security repository in the same location as your mirror, i.e.

http://ubuntu.example.org/ubuntu intrepid
http://ubuntu.example.org/ubuntu intrepid-security

Related branches

Bryan McLellan (btm)
description: updated
description: updated
Revision history for this message
Nick Barcet (nijaba) wrote : Re: [Bug 293898] Re: regression: vm-builder lacks --security-mirror option

Thanks Bryan, sounds like some serious SRU material.

  importance high
  status confirmed

Changed in vmbuilder:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Nick Barcet (nijaba) wrote :
Changed in vm-builder:
assignee: nobody → nijaba
importance: Undecided → High
status: New → In Progress
status: In Progress → Fix Committed
Changed in vmbuilder:
status: Confirmed → Fix Committed
Soren Hansen (soren)
Changed in vm-builder (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Soren Hansen (soren) wrote :

We have all of these now:
    --mirror=URL Use Ubuntu mirror at URL instead of the default, which
                        is http://archive.ubuntu.com/ubuntu for official
                        arches and http://ports.ubuntu.com/ubuntu-ports
                        otherwise
    --install-mirror=URL
                        Use Ubuntu mirror at URL for the installation only.
                        Apt's sources.list will still use default or URL set
                        by --mirror Config option: install_mirror
    --security-mirror=URL
                        Use Ubuntu security mirror at URL instead of the
                        default, which is http://security.ubuntu.com/ubuntu
                        for official arches and http://ports.ubuntu.com
                        /ubuntu-ports otherwise. Config option:
                        security_mirror
    --install-security-mirror=URL
                        Use the security mirror at URL for installation only.
                        Apt's sources.list will still use default or URL set
                        by --security-mirror Config option:
                        install_security_mirror

Soren Hansen (soren)
Changed in vmbuilder:
status: Fix Committed → 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.