lxc-clone can expand wildcards in the configuration file
Bug #993515 reported by
Serge Hallyn
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Unassigned |
Bug Description
=======
SRU justification:
1. impact: configuration files for cloned containers can be corrupted
2. development fix: put quotes around the variable being echoed whose contents are being expanded.
3. stable fix: same as development fix
4. test case:
touch xyz:xyz
lxc-create -t ubuntu -n p1
lxc-clone -o p1 -n p2
grep xyz /var/lib/
5. regression potential: none.
=======
In particular, the '*:*' in the stock lxc.devices.
Changed in lxc (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
To post a comment you must log in.
This bug was fixed in the package lxc - 0.8.0~rc1-4ubuntu2
--------------- rc1-4ubuntu2) quantal; urgency=low
lxc (0.8.0~
* lxc-clone: put quotes around $line to avoid expansion (LP: #993515)
-- Serge Hallyn <email address hidden> Wed, 02 May 2012 15:23:52 -0500