Package: lxc
Version: 0.8.0~rc1-8+deb7u1
Severity: normal

Dear Maintainer,
I execute the next command for create a container with lvm partition:

lxc-create -n vps-dns -t debian -B lvm --vgname mvg --fssize 2G --fstype ext4


But i have the error message:

root@srv-lxc01:~# lxc-create -n vps-dns -t debian -B lvm --vgname mvg --fssize 
2G --fstype ext4
  Logical volume "vps-dns" created
mke2fs 1.42.5 (29-Jul-2012)
Étiquette de système de fichiers=
Type de système d'exploitation : Linux
Taille de bloc=4096 (log=2)
Taille de fragment=4096 (log=2)
« Stride » = 0 blocs, « Stripe width » = 0 blocs
131072 i-noeuds, 524288 blocs
26214 blocs (5.00%) réservés pour le super utilisateur
Premier bloc de données=0
Nombre maximum de blocs du système de fichiers=536870912
16 groupes de blocs
32768 blocs par groupe, 32768 fragments par groupe
8192 i-noeuds par groupe
Superblocs de secours stockés sur les blocs : 
        32768, 98304, 163840, 229376, 294912

Allocation des tables de groupe : complété                        
Écriture des tables d'i-noeuds : complété                        
Création du journal (16384 blocs) : complété
Écriture des superblocs et de l'information de comptabilité du système de
fichiers : complété

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)

Get:1 http://ftp.debian.org wheezy InRelease [207 kB]
Get:2 http://ftp.debian.org wheezy/main amd64 Packages/DiffIndex [7876 B]
Hit http://ftp.debian.org wheezy/contrib amd64 Packages/DiffIndex
Get:3 http://ftp.debian.org wheezy/non-free amd64 Packages/DiffIndex [7819 B]
Hit http://ftp.debian.org wheezy/contrib Translation-en/DiffIndex
Get:4 http://ftp.debian.org wheezy/main Translation-en/DiffIndex [7876 B]
Hit http://ftp.debian.org wheezy/non-free Translation-en/DiffIndex
Get:5 http://ftp.debian.org wheezy/main amd64 2012-09-12-0212.36.pdiff [5858 B]
Get:6 http://ftp.debian.org wheezy/non-free amd64 2012-09-12-0212.36.pdiff [239 
B]
Get:7 http://ftp.debian.org wheezy/main amd64 2012-09-12-0212.36.pdiff [5858 B]
Get:8 http://ftp.debian.org wheezy/main 2012-09-12-1412.36.pdiff [58 B]
Get:9 http://ftp.debian.org wheezy/non-free amd64 2012-09-12-0212.36.pdiff [239 
B]                                                                            
Get:10 http://ftp.debian.org wheezy/main 2012-09-12-1412.36.pdiff [58 B]        
                                                                              
Get:11 http://ftp.debian.org wheezy/main amd64 2012-09-12-1412.36.pdiff [4010 
B]                                                                              
Get:12 http://ftp.debian.org wheezy/non-free amd64 2012-09-14-0212.22.pdiff 
[1222 B]                                                                        
  
Get:13 http://ftp.debian.org wheezy/main amd64 2012-09-12-1412.36.pdiff [4010 
B]                                                                              
Get:14 http://ftp.debian.org wheezy/main 2012-09-13-0211.56.pdiff [282 B]       
                                                                              
Get:15 http://ftp.debian.org wheezy/non-free amd64 2012-09-14-0212.22.pdiff 
[1222 B]                                                                        
  
Get:16 http://ftp.debian.org wheezy/main 2012-09-13-0211.56.pdiff [282 B]       
                                                                              
Get:17 http://ftp.debian.org wheezy/main amd64 2012-09-13-0211.56.pdiff [14.1 
kB]                                                                             
Get:18 http://ftp.debian.org wheezy/main amd64 2012-09-13-0211.56.pdiff [14.1 
kB]                                                                             
Get:19 http://ftp.debian.org wheezy/main 2012-09-14-0212.22.pdiff [33 B]        
                                                                              
Get:20 http://ftp.debian.org wheezy/main 2012-09-14-0212.22.pdiff [33 B]        
                                                                              
Get:21 http://ftp.debian.org wheezy/main amd64 2012-09-13-1413.00.pdiff [275 B]
Get:22 http://ftp.debian.org wheezy/main amd64 2012-09-13-1413.00.pdiff [275 B]
Get:23 http://ftp.debian.org wheezy/main 2012-09-15-0212.41.pdiff [321 B]
Get:24 http://ftp.debian.org wheezy/main 2012-09-15-0212.41.pdiff [321 B]
Get:25 http://ftp.debian.org wheezy/main amd64 2012-09-14-0212.22.pdiff [4621 B]
Get:26 http://ftp.debian.org wheezy/main amd64 2012-09-14-0212.22.pdiff [4621 B]
Get:27 http://ftp.debian.org wheezy/main amd64 2012-09-14-1412.25.pdiff [1988 B]
Get:28 http://ftp.debian.org wheezy/main amd64 2012-09-14-1412.25.pdiff [1988 B]
Get:29 http://ftp.debian.org wheezy/main amd64 2012-09-15-0212.41.pdiff [26.0 
kB]
Get:30 http://ftp.debian.org wheezy/main amd64 2012-09-15-0212.41.pdiff [26.0 
kB]
Get:31 http://ftp.debian.org wheezy/main amd64 2012-09-15-1412.30.pdiff [1756 B]
Get:32 http://ftp.debian.org wheezy/main amd64 2012-09-15-1412.30.pdiff [1756 B]
Fetched 292 kB in 29s (9867 B/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.
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Copying local cache to 
/var/lib/lxc/vps-dns/rootfs.../usr/share/lxc/templates/lxc-debian: ligne101: 
/var/lib/lxc/vps-dns/rootfs/etc/apt/sources.list.d/debian.list: Aucun fichier 
ou dossier de ce type
/usr/share/lxc/templates/lxc-debian: ligne183: 
/var/lib/lxc/vps-dns/rootfs/etc/fstab: Aucun fichier ou dossier de ce type
mount: mount point /var/lib/lxc/vps-dns/rootfs/dev/pts does not exist
mount: mount point /var/lib/lxc/vps-dns/rootfs/proc does not exist
mount: mount point /var/lib/lxc/vps-dns/rootfs/sys does not exist
mount: mount point /var/lib/lxc/vps-dns/rootfs/var/cache/apt/archives does not 
exist
/usr/share/lxc/templates/lxc-debian: ligne49: 
/var/lib/lxc/vps-dns/rootfs/etc/dpkg/dpkg.cfg.d/lxc-debconf: Aucun fichier ou 
dossier de ce type
/usr/share/lxc/templates/lxc-debian: ligne55: 
/var/lib/lxc/vps-dns/rootfs/usr/sbin/policy-rc.d: Aucun fichier ou dossier de 
ce type
chmod: impossible d'accéder à 
« /var/lib/lxc/vps-dns/rootfs/usr/sbin/policy-rc.d »: Aucun fichier ou dossier 
de ce type
chroot: failed to run command `/usr/bin/env': No such file or directory
chroot: failed to run command `/usr/bin/env': No such file or directory
chroot: failed to run command `/usr/bin/env': No such file or directory
umount: /var/lib/lxc/vps-dns/rootfs/var/cache/apt/archives: not found
chroot: failed to run command `/usr/bin/env': No such file or directory
chroot: failed to run command `/usr/bin/env': No such file or directory
chroot: failed to run command `/usr/bin/env': No such file or directory
chroot: failed to run command `/usr/bin/env': No such file or directory
chroot: failed to run command `/usr/bin/env': No such file or directory
chroot: failed to run command `/usr/bin/env': No such file or directory
chroot: failed to run command `/usr/bin/env': No such file or directory
chroot: failed to run command `/usr/bin/env': No such file or directory
umount: /var/lib/lxc/vps-dns/rootfs/dev/pts: not found
umount: /var/lib/lxc/vps-dns/rootfs/proc: not found
umount: /var/lib/lxc/vps-dns/rootfs/sys: not found
'debian' template installed
Unmounting LVM
'vps-dns' created

And if i start the container:

root@srv-lxc01:~# lxc-start -n vps-dns
lxc-start: No such file or directory - failed to mount a new instance of 
'/dev/pts'
lxc-start: failed to setup the new pts instance
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn 'vps-dns'

also, i see:

tree -L 4 /var/lib/lxc
/var/lib/lxc
└── vps-dns
    ├── config
    └── rootfs
        ├── lost+found
        └── wheezy_amd64
            ├── bin
            ├── boot
            ├── dev
            ├── etc
            ├── home
            ├── lib
            ├── lib64
            ├── media
            ├── mnt
            ├── opt
            ├── proc
            ├── root
            ├── run
            ├── sbin
            ├── selinux
            ├── srv
            ├── sys
            ├── tmp
            ├── usr
            └── var

I think that the directory "wheezy_amd64" in /var/lib/lxc/vps-dns/rootfs is 
incorrect (it's superfluous ?).


Thanking you in advance,

nb: Excuse me for my english, and this report formulaire,it's my first report.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (979, 'testing'), (977, 'testing'), (969, 'stable-updates'), 
(968, 'stable'), (966, 'stable'), (98, 'unstable'), (97, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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.46
ii  libc6                  2.13-35
ii  libcap2                1:2.22-1
ii  multiarch-support      2.13-35

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

Versions of packages lxc suggests:
ii  lxctl  0.3.1+debian-2

-- debconf information:
  lxc/shutdown: /usr/bin/lxc-halt
* lxc/directory: /var/lib/lxc
  lxc/title:
  lxc/auto: true


-- 
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