** 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
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to