** Description changed: + =================== + 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/lxc/delme/rootfs/bin/bash + # 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) Assignee: Serge Hallyn (serge-hallyn) => (unassigned) ** Changed in: lxc (Ubuntu Quantal) Assignee: Serge Hallyn (serge-hallyn) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1076031 Title: ubuntu-cloud options parsing bugs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1076031/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs