[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

LXC status on Wheezy



HI everyone,


I am trying to setup a LXC on wheezy, and I having a really hard time to make them work. Apprently there is a problem with 'live-debconfig' not present in wheezy, I even tryed with the sid which is supposed to have 'live-debconfig':

# dpkg -l lxc
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                        Version                    Architecture               Description
+++-===========================================-==========================-==========================-============================================================================================
ii  lxc                                         0.8.0~rc1-8+deb7u1         amd64                      Linux Containers userspace tools



has anyone manage to actually start a debian LXC?

Here are the logs for sid preseed file:
# sudo lxc-create -n myfirstcontainer -t debian -- --preseed-file /tmp/pressed.cfg
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)

Hit http://ftp.debian.org sid InRelease
Hit http://ftp.debian.org sid/main amd64 Packages/DiffIndex
Hit http://ftp.debian.org sid/contrib amd64 Packages/DiffIndex
Hit http://ftp.debian.org sid/non-free amd64 Packages/DiffIndex
Hit http://ftp.debian.org sid/contrib Translation-en/DiffIndex
Hit http://ftp.debian.org sid/main Translation-en/DiffIndex
Hit http://ftp.debian.org sid/non-free Translation-en/DiffIndex
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Get:1 http://packages.vitry.exploit.anticorp sid InRelease [236 kB]
Get:2 http://packages.vitry.exploit.anticorp sid/main amd64 Packages [6255 kB]
Get:3 http://packages.vitry.exploit.anticorp sid/non-free amd64 Packages [86.4 kB]
Get:4 http://packages.vitry.exploit.anticorp sid/contrib amd64 Packages [45.4 kB]
Get:5 http://packages.vitry.exploit.anticorp sid/contrib Translation-en [37.1 kB]
Get:6 http://packages.vitry.exploit.anticorp sid/main Translation-en [4116 kB]
Get:7 http://packages.vitry.exploit.anticorp sid/non-free Translation-en [71.3 kB]
Fetched 10.8 MB in 5s (1964 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Use of uninitialized value in numeric ge (>=) at /usr/share/perl5/Debconf/Priority.pm line 24, <GEN1> line 5.
Use of uninitialized value in numeric ge (>=) at /usr/share/perl5/Debconf/Priority.pm line 24, <GEN1> line 8.
Current default time zone: 'Etc/UTC'
Local time is now:      Fri Feb 22 11:18:53 UTC 2013.
Universal Time is now:  Fri Feb 22 11:18:53 UTC 2013.

Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  debconf-utils live-debconfig-doc
The following NEW packages will be installed:
  debconf-utils live-debconfig live-debconfig-doc
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 101 kB of archives.
After this operation, 431 kB of additional disk space will be used.
Get:1 http://packages.vitry.exploit.anticorp/debian/ sid/main debconf-utils all 1.5.49 [55.8 kB]
Get:2 http://packages.vitry.exploit.anticorp/debian/ sid/main live-debconfig all 4.0~a18-1 [16.2 kB]
Get:3 http://packages.vitry.exploit.anticorp/debian/ sid/main live-debconfig-doc all 4.0~a18-1 [28.6 kB]
Fetched 101 kB in 0s (130 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package debconf-utils.
(Reading database ... 9429 files and directories currently installed.)
Unpacking debconf-utils (from .../debconf-utils_1.5.49_all.deb) ...
Selecting previously unselected package live-debconfig.
Unpacking live-debconfig (from .../live-debconfig_4.0~a18-1_all.deb) ...
Selecting previously unselected package live-debconfig-doc.
Unpacking live-debconfig-doc (from .../live-debconfig-doc_4.0~a18-1_all.deb) ...
Setting up debconf-utils (1.5.49) ...
Setting up live-debconfig (4.0~a18-1) ...
Setting up live-debconfig-doc (4.0~a18-1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  console-setup console-setup-linux console-tools keyboard-configuration libconsole live-config-doc live-config-sysvinit live-tools sudo xkb-data
Suggested packages:
  kbd-compat pciutils wget debian-installer-launcher rsync uuid-runtime
The following NEW packages will be installed:
  console-setup console-setup-linux console-tools keyboard-configuration libconsole live-config live-config-doc live-config-sysvinit live-tools sudo xkb-data
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 3802 kB of archives.
After this operation, 13.2 MB of additional disk space will be used.
Get:1 http://packages.vitry.exploit.anticorp/debian/ sid/main libconsole amd64 1:0.2.3dbs-70 [155 kB]
Get:2 http://packages.vitry.exploit.anticorp/debian/ sid/main console-tools amd64 1:0.2.3dbs-70 [312 kB]
Get:3 http://packages.vitry.exploit.anticorp/debian/ sid/main keyboard-configuration all 1.92 [609 kB]
Get:4 http://packages.vitry.exploit.anticorp/debian/ sid/main console-setup-linux all 1.92 [990 kB]
Get:5 http://packages.vitry.exploit.anticorp/debian/ sid/main xkb-data all 2.5.1-3 [645 kB]
Get:6 http://packages.vitry.exploit.anticorp/debian/ sid/main console-setup all 1.92 [122 kB]
Get:7 http://packages.vitry.exploit.anticorp/debian/ sid/main live-config-sysvinit all 3.0.21-1 [15.6 kB]
Get:8 http://packages.vitry.exploit.anticorp/debian/ sid/main live-config all 3.0.21-1 [26.8 kB]
Get:9 http://packages.vitry.exploit.anticorp/debian/ sid/main live-config-doc all 3.0.21-1 [50.6 kB]
Get:10 http://packages.vitry.exploit.anticorp/debian/ sid/main live-tools all 3.0.18-1 [27.6 kB]
Get:11 http://packages.vitry.exploit.anticorp/debian/ sid/main sudo amd64 1.8.5p2-1 [849 kB]
Fetched 3802 kB in 2s (1350 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libconsole.
(Reading database ... 9539 files and directories currently installed.)
Unpacking libconsole (from .../libconsole_1%3a0.2.3dbs-70_amd64.deb) ...
Selecting previously unselected package console-tools.
Unpacking console-tools (from .../console-tools_1%3a0.2.3dbs-70_amd64.deb) ...
Selecting previously unselected package keyboard-configuration.
Unpacking keyboard-configuration (from .../keyboard-configuration_1.92_all.deb) ...
Selecting previously unselected package console-setup-linux.
Unpacking console-setup-linux (from .../console-setup-linux_1.92_all.deb) ...
Selecting previously unselected package xkb-data.
Unpacking xkb-data (from .../xkb-data_2.5.1-3_all.deb) ...
Selecting previously unselected package console-setup.
Unpacking console-setup (from .../console-setup_1.92_all.deb) ...
Selecting previously unselected package live-config-sysvinit.
Unpacking live-config-sysvinit (from .../live-config-sysvinit_3.0.21-1_all.deb) ...
Selecting previously unselected package live-config.
Unpacking live-config (from .../live-config_3.0.21-1_all.deb) ...
Selecting previously unselected package live-config-doc.
Unpacking live-config-doc (from .../live-config-doc_3.0.21-1_all.deb) ...
Selecting previously unselected package live-tools.
Unpacking live-tools (from .../live-tools_3.0.18-1_all.deb) ...
Selecting previously unselected package sudo.
Unpacking sudo (from .../sudo_1.8.5p2-1_amd64.deb) ...
Setting up libconsole (1:0.2.3dbs-70) ...
Setting up console-tools (1:0.2.3dbs-70) ...
All runlevel operations denied by policy
invoke-rc.d: policy-rc.d denied execution of start.
Setting up keyboard-configuration (1.92) ...
debconf: unable to initialize frontend:
debconf: (Can't locate Debconf/FrontEnd/.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/per
l/5.14 /usr/local/lib/site_perl .) at (eval 26) line 2.)
debconf: falling back to frontend: Noninteractive
Use of uninitialized value in numeric ge (>=) at /usr/share/perl5/Debconf/Priority.pm line 24, <GEN1> line 25.
Use of uninitialized value in numeric ge (>=) at /usr/share/perl5/Debconf/Priority.pm line 24, <GEN1> line 37.
Use of uninitialized value in numeric ge (>=) at /usr/share/perl5/Debconf/Priority.pm line 24, <GEN1> line 49.
Use of uninitialized value in numeric ge (>=) at /usr/share/perl5/Debconf/Priority.pm line 24, <GEN1> line 50.
Setting up console-setup-linux (1.92) ...
Setting up xkb-data (2.5.1-3) ...
Setting up console-setup (1.92) ...
debconf: unable to initialize frontend:
debconf: (Can't locate Debconf/FrontEnd/.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/per
l/5.14 /usr/local/lib/site_perl .) at (eval 26) line 2.)
debconf: falling back to frontend: Noninteractive
Use of uninitialized value in numeric ge (>=) at /usr/share/perl5/Debconf/Priority.pm line 24, <GEN1> line 13.
Use of uninitialized value in numeric ge (>=) at /usr/share/perl5/Debconf/Priority.pm line 24, <GEN1> line 15.
Use of uninitialized value in numeric ge (>=) at /usr/share/perl5/Debconf/Priority.pm line 24, <GEN1> line 22.
Use of uninitialized value in numeric ge (>=) at /usr/share/perl5/Debconf/Priority.pm line 24, <GEN1> line 28.
Setting up live-config-sysvinit (3.0.21-1) ...
update-rc.d: warning:  start runlevel arguments (none) do not match live Default-Start values (S)
Setting up live-config (3.0.21-1) ...
Setting up live-config-doc (3.0.21-1) ...
Setting up live-tools (3.0.18-1) ...
Setting up sudo (1.8.5p2-1) ...
Usage: live-debconfig
Usage: live-debconfig --debconfig|--debconfig=SCRIPT1,SCRIPT2,SCRIPT3
Usage: live-debconfig --nodebconfig|--nodebconfig=SCRIPT1,SCRIPT2,SCRIPT3
Usage: live-debconfig --debug
debconf: unable to initialize frontend:
debconf: (Can't locate Debconf/FrontEnd/.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/per
l/5.14 /usr/local/lib/site_perl .) at (eval 26) line 2.)
debconf: falling back to frontend: Noninteractive
Use of uninitialized value in numeric ge (>=) at /usr/share/perl5/Debconf/Priority.pm line 24, <GEN1> line 4.
debconf: unable to initialize frontend:
debconf: (Can't locate Debconf/FrontEnd/.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/per
l/5.14 /usr/local/lib/site_perl .) at (eval 26) line 2.)
debconf: falling back to frontend: Noninteractive
Shadow passwords are now on.
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
'debian' template installed
'myfirstcontainer' created



-- 
Cordialement,
Jeremy MAURO


Jeremy MAURO (jmauro@antidot.net) - Ingénieur Systémes et Réseaux
Antidot - Solutions de recherche d'information
29 avenue Jean Monnet, 13410 LAMBESC (FRANCE)
Tel: (+33) 4 42 63 67 90 / Fax: (+33) 4 42 28 61 03 

Reply to: