[Bug 997687] Re: lxc-start-ephemeral needs to quote $line when echoing

Serge Hallyn 997687 at bugs.launchpad.net
Thu May 10 16:52:59 UTC 2012


** Description changed:

  Same bug as in lxc-clone, occurs twice in lxc-start-ephemeral
+ 
+ SRU Justification
+ 1. Impact: container configuration files for ephemeral containers can be corrupted
+ 2. Development fix: quote a variable containing a configuration line to avoid expanding/globbing the contents
+ 3. Stable fix: same as development fix
+ 4. Test case:
+    touch abc:abc
+    sudo lxc-create -t ubuntu -n p1
+    sudo lxc-start-ephemeral -o p1 -- /bin/bash
+ 5. Regression potential: the contents of the line are not supposed to be expanded, so quoting $line is the riht thing to do and should cause no regressions.

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

Title:
  lxc-start-ephemeral needs to quote $line when echoing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/997687/+subscriptions



More information about the Ubuntu-server-bugs mailing list