Package: lxc
Version: 0.7.5-10
Severity: normal
Tags: sid

Hi, Sorry for the cruel bug title,

lxc-debconf is not usable to create a new container rootfs in 0.7.5-10 - at
least not when installing on Squeeze.

1) cosmetic - does not show usage when called without parameters
root@thinkpad:/var/lib/lxc# /usr/lib/lxc/templates/lxc-debconf
'path' parameter is required
root@thinkpad:/var/lib/lxc# /usr/lib/lxc/templates/lxc-debconf --help
Usage: lxc-debconf --apt-recommends=<true,false>|--debconf-frontend=<debconf-
frontend>|--debconf-priority=<debconf-priority>|-d|--distribution=<distribution
>|--preseed-file=<preseed-file>|-h|--help -p|--path=<path> --clean

2) cannot determine _INCLUDE
root@thinkpad:/var/lib/lxc# /usr/lib/lxc/templates/lxc-debconf -p
/var/lib/lxc/squeeze
Checking cache download in /var/cache/lxc//_i386...
Downloading minimal system...
E: unrecognized or invalid option --include=
Failed to download the rootfs, aborting.
Failed to download base system
failed to install system

A look into the skript showed, that the _MODE is determined via the script's
name - but is not called lxc-debian anymore, but lxc-debconf.
I temporarily fixed this with creating a link but:

3) still not able to create, cannot determine suite
root@thinkpad:/var/lib/lxc# ln -s lxc-debconf /usr/lib/lxc/templates/lxc-debian
root@thinkpad:/var/lib/lxc# /usr/lib/lxc/templates/lxc-debian -p
/var/lib/lxc/squeeze
Checking cache download in /var/cache/lxc/debian/_i386...
Downloading minimal system...
I: usage: [OPTION]... <suite> <target> [<mirror> [<script>]]
I: Try `debootstrap --help' for more information.
E: You must specify a suite and a target.
Failed to download the rootfs, aborting.
Failed to download base system
failed to install system

4) Is it possible to keep the upstream lxc-debian (and mark it as a fallback in
README)? From other bug conversation, I've noted that you won't like to waste
time to fix things for stable. That's not good news for stable users, but
somehow understandable - retaining lxc-debian from upstream should be
suffucient for all stable users. You can still go on and develop lxc-debconf.

5) I know, that best progress in hot development phases is done, when no one
else interferes. But is it possible to share the debian package code via git? I
guess you use one interally...

Thanks for your wok bringen lxc forward in debian.

Reards
Marcus



-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-486
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lxc depends on:
ii  debconf [debconf-2.0]         1.5.36.1   Debian configuration management sy
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib
ii  libcap2                       1:2.19-3   support for getting/setting POSIX.

Versions of packages lxc recommends:
ii  debootstrap              1.0.26+squeeze1 Bootstrap a basic Debian system
ii  libcap2-bin              1:2.19-3        basic utility programs for using c

Versions of packages lxc suggests:
pn  lxctl                         <none>     (no description available)

-- debconf information:
  lxc/shutdown: stop
  lxc/directory: /var/lib/lxc
  lxc/title:
  lxc/auto: true



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to