lxc-start-ephemeral needs to quote $line when echoing
Bug #997687 reported by
Serge Hallyn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Critical
|
Serge Hallyn | ||
Precise |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Critical
|
Serge Hallyn |
Bug Description
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.
description: | updated |
To post a comment you must log in.
This bug was fixed in the package lxc - 0.8.0~rc1-4ubuntu6
--------------- rc1-4ubuntu6) quantal; urgency=low
lxc (0.8.0~
* debian/control: add apparmor to lxc Depends (LP: #997681) local/lxc- start-ephemeral : quote $line so its contents don't get
* debian/
expanded (LP: #997687)
-- Serge Hallyn <email address hidden> Thu, 10 May 2012 09:04:29 -0700