Package: lxc
Version: 0.8.0~rc1-7
Severity: important

Dear Maintainer,

I've installed latest lxc from sid repos because testing/wheezy version 
(rc1.4) was not working for me.

Then I've tried to create a debian container using lxc-create 
container-name -t debian. I got the following output:

-------------
root@quartor:~# lxc-create -n whizard -t debian
Note: Usually the template option is called with a configuration
file option too, mostly to configure the network.
For more information look at lxc.conf (5)

Template parse error near `## lxc-debconf - LXC template for Debian and Debian 
Derivatives', in stanza #1 of 
/usr/share/lxc/templates/lxc-debconf.d/01-preseed-file.templates
Template parse error near `## lxc-debconf - LXC template for Debian and Debian 
Derivatives', in stanza #1 of 
/usr/share/lxc/templates/lxc-debconf.d/03-debconf.templates
/usr/share/lxc/templates/lxc-debian: line 914: 
/tmp/lxc-debian.DZq5IWlh/debconf.default: No such file or directory
Downloading minimal system...
E: unrecognized or invalid option --components=
Failed to download the rootfs, aborting.
Failed to download base system
failed to install system
failed to execute template 'debian'
aborted
-------------

Apparently the problem is with the comments in the templates files
/usr/share/lxc/templates/lxc-debconf.d/01-preseed-file.templates and 
/usr/share/lxc/templates/lxc-debconf.d/03-debconf.templates.

I've manually edited both files and removed the top comment lines that 
start with '##' and tried again, then the container was built ok.

I've also tried removing only one sharp character and also tried with 
'//'. Neither worked.

Thanks.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=pt_PT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to pt_PT.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lxc depends on:
ii  debconf [debconf-2.0]  1.5.43
ii  libc6                  2.13-33
ii  libcap2                1:2.22-1
ii  multiarch-support      2.13-33

Versions of packages lxc recommends:
ii  debootstrap  1.0.41
ii  libcap2-bin  1:2.22-1

Versions of packages lxc suggests:
pn  lxctl  <none>

-- debconf information:
  lxc/directory: /home/lxc
  lxc/title:
  lxc/auto: true
  lxc/shutdown: /usr/bin/lxc-halt



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to