Your message dated Wed, 28 Nov 2012 11:17:38 +0000
with message-id <[email protected]>
and subject line Bug#687767: fixed in lxc 0.8.0-3
has caused the Debian Bug report #687767,
regarding please support block devices as rootfs in lxc-debconfig
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
687767: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687767
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lxc
Version: 0.8.0~rc1-9
Severity: important
Tags: patch
When lxc detects that the lxc directory is on a btrfs filesystem it will create
a separate subvolume for the rootfs. However, the lxc-debconf template does not
expect the rootfs directory to exist, and simply copies the cache directory to
the rootfs path, expecting to create it, but in fact creating a subdirectory
with the rootfs content.
The attached patch to lxc-debconf fixes this by creating the rootfs directory
if it does not exist, and then copying the content of the cache directory,
rather than the cache directory itself, into the rootfs directory.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (400, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.5-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lxc depends on:
ii debconf [debconf-2.0] 1.5.44
ii libc6 2.13-33
ii libcap2 1:2.22-1.1
ii multiarch-support 2.13-33
Versions of packages lxc recommends:
ii debootstrap 1.0.42
pn libcap2-bin <none>
Versions of packages lxc suggests:
pn lxctl <none>
-- debconf information:
* lxc/shutdown: /usr/bin/lxc-halt
lxc/directory: /var/lib/lxc
lxc/title:
lxc/auto: true
--- /usr/share/lxc/templates/lxc-debconf.distrib 2012-08-04 14:46:16.000000000 +0200
+++ /usr/share/lxc/templates/lxc-debconf 2012-08-04 17:38:10.703390765 +0200
@@ -454,7 +454,8 @@
then
# system cache in the form of a directory
echo -n "Copying system cache to ${_ROOTFS}..."
- cp -a "/usr/share/lxc/cache/${_MODE}/${_DISTRIBUTION}_${_ARCHITECTURE}" "${_ROOTFS}" || return 1
+ [ -e "${_ROOTFS}" ] || mkdir -p "${_ROOTFS}"
+ cp -a "/usr/share/lxc/cache/${_MODE}/${_DISTRIBUTION}_${_ARCHITECTURE}"/* "${_ROOTFS}" || return 1
elif ls "/usr/share/lxc/cache/${_MODE}/${_DISTRIBUTION}_${_ARCHITECTURE}".* > /dev/null 2>&1
then
# system cache in the form of a tarball
@@ -463,8 +464,7 @@
if [ -e "/usr/share/lxc/cache/${_MODE}/${_DISTRIBUTION}_${_ARCHITECTURE}.${_FORMAT}" ]
then
echo -n "Extracting system cache to ${_ROOTFS}..."
-
- mkdir -p "${_ROOTFS}"
+ [ -e "${_ROOTFS}" ] || mkdir -p "${_ROOTFS}"
tar xf "/usr/share/lxc/cache/${_MODE}/${_DISTRIBUTION}_${_ARCHITECTURE}.${_FORMAT}" -C "${_ROOTFS}" || return 1
break
fi
@@ -478,7 +478,8 @@
# make a local copy of the minimal system
echo -n "Copying local cache to ${_ROOTFS}..."
- cp -a "${_CACHE}/${_DISTRIBUTION}_${_ARCHITECTURE}" "${_ROOTFS}" || return 1
+ [ -e "${_ROOTFS}" ] || mkdir -p "${_ROOTFS}"
+ cp -a "${_CACHE}/${_DISTRIBUTION}_${_ARCHITECTURE}"/* "${_ROOTFS}" || return 1
fi
# Add local repositories configured from preseed file
--- End Message ---
--- Begin Message ---
Source: lxc
Source-Version: 0.8.0-3
We believe that the bug you reported is fixed in the latest version of
lxc, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Daniel Baumann <[email protected]> (supplier of updated
lxc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 28 Nov 2012 12:09:02 +0100
Source: lxc
Binary: lxc lxc-dbg lxc-dev
Architecture: source i386
Version: 0.8.0-3
Distribution: unstable
Urgency: low
Maintainer: Daniel Baumann <[email protected]>
Changed-By: Daniel Baumann <[email protected]>
Description:
lxc - Linux Containers userspace tools
lxc-dbg - Linux Containers userspace tools (debug)
lxc-dev - Linux Containers userspace tools (development)
Closes: 683837 687767 694448
Changes:
lxc (0.8.0-3) unstable; urgency=low
.
* Using tar to copy bootstrapped systems to target, thanks to Marc
Fournier <[email protected]> (Closes: #683837, #687767).
* Temporarily keeping lxc-ps as a bash script (Closes: #694448).
Checksums-Sha1:
e3198a46fd547504f030779d747c0b107370a600 1258 lxc_0.8.0-3.dsc
506c3c6ad09da786092732630d730686ccd00b9e 41152 lxc_0.8.0-3.debian.tar.xz
76943f9ee44e62fa1c59a131d58e73f83abb17b6 173284 lxc_0.8.0-3_i386.deb
12e221a81242bc1314ba7d421744370d1cd6c05f 269400 lxc-dbg_0.8.0-3_i386.deb
1a19a5d2f6d897a9670e36f3d4a4b2bc4f89a3d0 21178 lxc-dev_0.8.0-3_i386.deb
Checksums-Sha256:
a90f3c40a62150c9771662486ea9cefc52a1c72c7dfe16c43df5bdc90c0dcaa9 1258
lxc_0.8.0-3.dsc
f6dfcfdaad0cbce0ec91fcf68138f3d6bc4aa8ed7645186c442dd96512dabd4d 41152
lxc_0.8.0-3.debian.tar.xz
fb528306df23c83aae342194516bdf7ce1e1ff6e18f361d54072abb76a10593a 173284
lxc_0.8.0-3_i386.deb
594d64a0e6e2717ffca66e4fa8eb644fc9b2b559ca709064a103a2a41fb9839b 269400
lxc-dbg_0.8.0-3_i386.deb
702fe41d57d10b04f8312ef5d3e65493c920e0e9f70c8c3ac1d7e1f5d63a53a8 21178
lxc-dev_0.8.0-3_i386.deb
Files:
02e5d6d31ce5fcbc846843e4f56f6b85 1258 admin optional lxc_0.8.0-3.dsc
49ebf9378d3f3843b8a7812d64e1ec3f 41152 admin optional lxc_0.8.0-3.debian.tar.xz
eb09c661b01b50ea453251569a32c030 173284 admin optional lxc_0.8.0-3_i386.deb
3675f4084776f260d9a3c58ec29a1876 269400 debug extra lxc-dbg_0.8.0-3_i386.deb
209e43882d058169902f05f16c8d9561 21178 libdevel optional
lxc-dev_0.8.0-3_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlC18S8ACgkQ+C5cwEsrK54uGACfTADF1CYZT3oVd0HQf3FfWji2
+PkAniAM1kriWX77SClbLcYLFmMro4XY
=l1qS
-----END PGP SIGNATURE-----
--- End Message ---