ubuntu-cloud options parsing bugs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
High
|
Serge Hallyn | ||
Precise |
Fix Released
|
High
|
Unassigned | ||
Quantal |
Fix Released
|
High
|
Unassigned | ||
Raring |
Fix Released
|
High
|
Serge Hallyn |
Bug Description
===================
SRU Justification:
1. Impact: the ubuntu-cloud template mis-handles some arguments.
2. Development fix: fix the getopt argument handling
3. Stable fix: same as development fix
4. Test case:
sudo lxc-create -t ubuntu-cloud -n delme -- -L -a i386
file /var/lib/
# you'll see it is a amd64 binary, not i386
5. Regression potential: if done wrong, argument parsing in
the ubuntu-cloud template could be made wrong in more ways
than it already is. Damage would be confined to ubuntu-cloud
containers
===================
These are tiny bugs which should be fixed on the next upload:
1. the 'u:' is missing in getopt statement to match '--userdata'
2. The case statement for '-L|--no_locales' does a 'shift 2' but should shift 1.
Changed in lxc (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in lxc (Ubuntu Raring): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in lxc (Ubuntu Quantal): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in lxc (Ubuntu Raring): | |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
tags: | added: needssru |
Changed in lxc (Ubuntu Quantal): | |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
status: | Triaged → In Progress |
Changed in lxc (Ubuntu Precise): | |
status: | Triaged → In Progress |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
description: | updated |
Changed in lxc (Ubuntu Precise): | |
assignee: | Serge Hallyn (serge-hallyn) → nobody |
Changed in lxc (Ubuntu Quantal): | |
assignee: | Serge Hallyn (serge-hallyn) → nobody |
This bug was fixed in the package lxc - 0.8.0~rc1-4ubuntu44
--------------- rc1-4ubuntu44) raring; urgency=low
lxc (0.8.0~
[ Scott Moser ] cloud-numeric- owner: use --numeric-owner when extracting root
* 0225-ubuntu-
filesystems with tar (LP: #1066084)
[ Serge Hallyn ] templates- devtmpfs (LP: #1070914) lxc-autodev: implement automatic mount and populate of /dev. cloud-parsing: fix some option parsing bugs in ubuntu-cloud
* Remove 0224-ubuntu-
* 0226-add-
* 0227-ubuntu-
template (LP: #1076031)
-- Serge Hallyn <email address hidden> Mon, 26 Nov 2012 10:11:00 -0600