Your message dated Wed, 27 Feb 2013 15:17:32 +0000 with message-id <[email protected]> and subject line Bug#701689: fixed in lxc 0.9.0~alpha3-1 has caused the Debian Bug report #701689, regarding lxc-create failed to execute template 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.) -- 701689: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701689 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: lxc Version: 0.9.0~alpha2-10 Severity: normal Tags: patch Dear Maintainer, I have tried to create Debian container with following command: sudo lxc-create -n debian -t debian It was working just fine until I changed my current directory to /var/lib/lxc. Here is the output: denys@pc-deg:/var/lib/lxc$ sudo lxc-create -n debian -t debian lxc-create: No config file specified, using the default config /etc/lxc/lxc.conf sha1sum: debian: Is a directory /usr/bin/lxc-create: 328: /usr/bin/lxc-create: debian: not found lxc-create: failed to execute template 'debian' lxc-create: aborted denys@pc-deg:/var/lib/lxc$ It seems that lxc-create script considers newly created container directory as template. I've added additional check to the script and the problem has gone: --- /usr/bin/lxc-create 2013-02-09 09:12:29.000000000 +0200 +++ /usr/bin/lxc-create.fixed 2013-02-26 09:39:25.604605629 +0200 @@ -281,7 +281,7 @@ if [ ! -z "$lxc_template" ]; then # Allow for a path to be provided as the template name - if [ -x "$lxc_template" ]; then + if [ -x "$lxc_template" ] && [ -f "$lxc_template" ]; then template_path=$lxc_template else template_path=${templatedir}/lxc-$lxc_template -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.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.49 ii libapparmor1 2.7.103-4 ii libc6 2.13-38 ii libcap2 1:2.22-1.2 ii multiarch-support 2.13-38 Versions of packages lxc recommends: ii debootstrap 1.0.44 ii libcap2-bin 1:2.22-1.2 Versions of packages lxc suggests: pn debian-keyring <none> ii gpgv 1.4.12-7 pn live-debconfig-doc <none> ii rsync 3.0.9-4 -- debconf information: * lxc/directory: /var/lib/lxc lxc/title: lxc/auto: true
--- End Message ---
--- Begin Message ---Source: lxc Source-Version: 0.9.0~alpha3-1 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, 27 Feb 2013 14:04:06 +0100 Source: lxc Binary: lxc lxc-dbg lxc-dev Architecture: source i386 Version: 0.9.0~alpha3-1 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: 701689 701800 Changes: lxc (0.9.0~alpha3-1) unstable; urgency=low . * Updating handling of mount entries to work to do the right thing when files are being tried to be bind-mounted instead of directories. * Merging upstream version 0.9.0~alpha3. * Adding --with-distro=debian when calling configure. * Extending manual hack to workaround broken preseeding in tzdata (Closes: #701800). * Dropping bash.patch, not required anymore. * Adding patch for lxc-create to not try to execute directories as templates should the user have such a situation and specify it (wrongly) (Closes: #701689). * Rediffing lxc-clone-mac.patch. * Currently hardcoding lxc directory. * Defaulting to sysvinit for the time being on progress-linux. * Updating todo file. Checksums-Sha1: c78daa3b12e3750bd2f177e18039e670c1e0dc4d 1294 lxc_0.9.0~alpha3-1.dsc 13a0488d9136c0c19e190ba9fefc8ce038ce82e4 275952 lxc_0.9.0~alpha3.orig.tar.xz 7fc4d8cc071db67681456aa89468be855d844199 42148 lxc_0.9.0~alpha3-1.debian.tar.xz 2f06d06cc0c977a2c4a419f973560920407dc17d 212586 lxc_0.9.0~alpha3-1_i386.deb 516776eb3bcbef52aeb65d484c014b0951b7a112 328688 lxc-dbg_0.9.0~alpha3-1_i386.deb 70633cb0b48d52447573cf92c8e66b73cd9cbd4a 26428 lxc-dev_0.9.0~alpha3-1_i386.deb Checksums-Sha256: daaa95bd32392d52932c249ca411fb7365026afbb9990185944c721359c731df 1294 lxc_0.9.0~alpha3-1.dsc 67a2051aef6d859a485a30b9a615e32549f54d25240a74e972edd8d0ac21bad2 275952 lxc_0.9.0~alpha3.orig.tar.xz 8df22cdc9683243b2448c1048d64fa2b0b6a5715a786ac610078bab658b1f8ee 42148 lxc_0.9.0~alpha3-1.debian.tar.xz 5df0d166e7e353c2cdad9aee2689f641f1a003068c10008722f6529900cefc50 212586 lxc_0.9.0~alpha3-1_i386.deb f0a5526e4fa04145787939aff4cd15decf345965b95169f26fc900a0dbf9e547 328688 lxc-dbg_0.9.0~alpha3-1_i386.deb 94f587e56e2c41edda56999784c9a4390818cf50030b81f413abb93dd2a85803 26428 lxc-dev_0.9.0~alpha3-1_i386.deb Files: cbe0cf18222c88c45f2c8547f12b7054 1294 admin optional lxc_0.9.0~alpha3-1.dsc 33689d57596329006bff40570028747e 275952 admin optional lxc_0.9.0~alpha3.orig.tar.xz 3ba0560e655c4e80c702a254986a69f6 42148 admin optional lxc_0.9.0~alpha3-1.debian.tar.xz 7de5fab6c288b1f971f9af8f8fcc7d49 212586 admin optional lxc_0.9.0~alpha3-1_i386.deb 81372784b0642c9cca28f673e5f22cce 328688 debug extra lxc-dbg_0.9.0~alpha3-1_i386.deb 097a810d1e7d97f67527be7b470e4f3a 26428 libdevel optional lxc-dev_0.9.0~alpha3-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlEuIccACgkQ+C5cwEsrK54+tQCbB/lujs9Bmn44lNyLnDi2EF5t SecAni3s1OKYHutNV8f/sMMn/L/JPSNi =EoD0 -----END PGP SIGNATURE-----
--- End Message ---

