[trusty regression] lxc-clone: failed to write /etc/hostname
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Undecided
|
Stéphane Graber |
Bug Description
The recent trusty lxc upload broke cloning:
$ sudo LANGUAGE= LANG= lxc-clone -n adttmp1 -o adt
/usr/share/
failed to write /etc/hostname
lxc_container: Script exited with status 1
lxc_container: Error executing clone hook for adttmp1
clone failed
When I downgrade to saucy's 1.0.0~alpha1-
My "adt" container was created with saucy's lxc, but certainly newer versions should work with already existing containers?
lxc-start-ephemeral continues to work fine.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: lxc 1.0.0~alpha3-
ProcVersionSign
Uname: Linux 3.12.0-2-generic x86_64
ApportVersion: 2.12.7-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Nov 21 10:38:44 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-10-14 (38 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Beta amd64 (20131013)
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)
defaults.conf:
lxc.network.type = veth
lxc.network.link = lxcbr0
lxc.network.flags = up
Changed in lxc (Ubuntu): | |
status: | New → Fix Committed |
assignee: | nobody → Stéphane Graber (stgraber) |
This bug was fixed in the package lxc - 1.0.0~alpha3- 0ubuntu2
--------------- alpha3- 0ubuntu2) trusty; urgency=low
lxc (1.0.0~
* Cherry-pick fix for lxc-clone hook script environment variable. lxcapi_ clone-set- the-right- environment- variable- for-.patch
0001-
(LP: #1253573)
-- Stephane Graber <email address hidden> Thu, 21 Nov 2013 10:29:45 -0500