Public bug reported:

reeflying@panda:~$ sudo lxc-create -t ubuntu -n test --  -u ubuntu -p ubuntu -r 
trusty -d
[sudo] password for freeflying:
+ '[' -n '' ']'
+ '[' armhf = i686 ']'
+ '[' armhf = i386 -a armhf = amd64 ']'
+ '[' armhf = armhf -o armhf = armel -o armhf = arm64 ']'
+ '[' armhf '!=' armhf -a armhf '!=' armel -a armhf '!=' arm64 ']'
+ '[' armhf = arm64 ']'
+ '[' armhf = powerpc -a armhf '!=' powerpc ']'
+ which debootstrap
+ '[' -z ubuntu ']'
++ id -u
+ '[' 0 '!=' 0 ']'
+ config=ubuntu/config
+ '[' -z /var/lib/lxc/test/rootfs ']'
+ install_ubuntu /var/lib/lxc/test/rootfs trusty 0
+ rootfs=/var/lib/lxc/test/rootfs
+ release=trusty
+ flushcache=0
+ cache=/var/cache/lxc/trusty
+ mkdir -p /var/lock/subsys/
+ flock -x 9
+ '[' 0 -ne 0 ']'
+ '[' 0 -eq 1 ']'
+ echo 'Checking cache download in /var/cache/lxc/trusty/rootfs-armhf ... '
Checking cache download in /var/cache/lxc/trusty/rootfs-armhf ...
+ '[' '!' -e /var/cache/lxc/trusty/rootfs-armhf ']'
+ echo 'Copy /var/cache/lxc/trusty/rootfs-armhf to /var/lib/lxc/test/rootfs ... 
'
Copy /var/cache/lxc/trusty/rootfs-armhf to /var/lib/lxc/test/rootfs ...
+ copy_ubuntu /var/cache/lxc/trusty armhf /var/lib/lxc/test/rootfs
+ cache=/var/cache/lxc/trusty
+ arch=armhf
+ rootfs=/var/lib/lxc/test/rootfs
+ echo 'Copying rootfs to /var/lib/lxc/test/rootfs ...'
Copying rootfs to /var/lib/lxc/test/rootfs ...
+ mkdir -p /var/lib/lxc/test/rootfs
+ rsync -Ha /var/cache/lxc/trusty/rootfs-armhf/ /var/lib/lxc/test/rootfs/
+ return 0
+ '[' 0 -ne 0 ']'
+ return 0
+ return 0
+ '[' 0 -ne 0 ']'
+ configure_ubuntu /var/lib/lxc/test/rootfs test trusty ubuntu ubuntu
+ rootfs=/var/lib/lxc/test/rootfs
+ hostname=test
+ release=trusty
+ user=ubuntu
+ password=ubuntu
+ cat
+ cat
+ cat
+ '[' '!' -f /var/lib/lxc/test/rootfs/etc/init/container-detect.conf ']'
+ '[' -z '' ']'
+ chroot /var/lib/lxc/test/rootfs useradd --create-home -s /bin/bash ubuntu
+ echo ubuntu:ubuntu
+ chroot /var/lib/lxc/test/rootfs chpasswd
+ '[' -z en_US.UTF-8 ']'
+ echo en_US.UTF-8
+ grep -E -q '^C(\..+)*$'
+ chroot /var/lib/lxc/test/rootfs locale-gen en_US.UTF-8
Generating locales...
  en_US.UTF-8... up-to-date
Generation complete.
+ chroot /var/lib/lxc/test/rootfs update-locale LANG=en_US.UTF-8
+ '[' -x /var/lib/lxc/test/rootfs/var/lib/dpkg/info/openssh-server.postinst ']'
+ cat
+ chmod +x /var/lib/lxc/test/rootfs/usr/sbin/policy-rc.d
+ rm -f /var/lib/lxc/test/rootfs/etc/ssh/ssh_host_dsa_key 
/var/lib/lxc/test/rootfs/etc/ssh/ssh_host_dsa_key.pub 
/var/lib/lxc/test/rootfs/etc/ssh/ssh_host_ecdsa_key 
/var/lib/lxc/test/rootfs/etc/ssh/ssh_host_ecdsa_key.pub 
/var/lib/lxc/test/rootfs/etc/ssh/ssh_host_ed25519_key 
/var/lib/lxc/test/rootfs/etc/ssh/ssh_host_ed25519_key.pub 
/var/lib/lxc/test/rootfs/etc/ssh/ssh_host_rsa_key 
/var/lib/lxc/test/rootfs/etc/ssh/ssh_host_rsa_key.pub
+ mv /var/lib/lxc/test/rootfs/etc/init/ssh.conf 
/var/lib/lxc/test/rootfs/etc/init/ssh.conf.disabled
+ DPKG_MAINTSCRIPT_PACKAGE=openssh
+ DPKG_MAINTSCRIPT_NAME=postinst
+ chroot /var/lib/lxc/test/rootfs /var/lib/dpkg/info/openssh-server.postinst 
configure
Creating SSH2 RSA key; this may take some time ...
Creating SSH2 DSA key; this may take some time ...
Creating SSH2 ECDSA key; this may take some time ...
Creating SSH2 ED25519 key; this may take some time ...
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match ssh 
Default-Stop values (none)
invoke-rc.d: policy-rc.d denied execution of start.
+ mv /var/lib/lxc/test/rootfs/etc/init/ssh.conf.disabled 
/var/lib/lxc/test/rootfs/etc/init/ssh.conf
++ hostname
+ sed -i s/root@panda/root@test/g 
/var/lib/lxc/test/rootfs/etc/ssh/ssh_host_dsa_key.pub 
/var/lib/lxc/test/rootfs/etc/ssh/ssh_host_ecdsa_key.pub 
/var/lib/lxc/test/rootfs/etc/ssh/ssh_host_ed25519_key.pub 
/var/lib/lxc/test/rootfs/etc/ssh/ssh_host_rsa_key.pub
+ rm -f /var/lib/lxc/test/rootfs/usr/sbin/policy-rc.d
+ return 0
+ '[' 0 -ne 0 ']'
+ copy_configuration ubuntu /var/lib/lxc/test/rootfs test armhf trusty
+ path=ubuntu
+ rootfs=/var/lib/lxc/test/rootfs
+ name=test
+ arch=armhf
+ release=trusty
+ '[' armhf = i386 ']'
++ grep -e '^lxc\.network\.type[ \t]*=[ \t]*veth' ubuntu/config
++ wc -l
grep: ubuntu/config: No such file or directory
+ nics=0
+ '[' 0 -eq 1 ']'
+ touch ubuntu/fstab
touch: cannot touch ‘ubuntu/fstab’: No such file or directory
lxc_container: container creation template for test failed
lxc_container: Error creating container test

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: lxc-templates 1.0.3-0ubuntu3
ProcVersionSignature: Ubuntu 3.5.0-236.52-omap4 3.5.7.25
Uname: Linux 3.5.0-236-omap4 armv7l
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: armhf
Date: Sat Jan  1 21:07:18 2000
InstallationDate: Installed on 2013-12-23 (-5104 days ago)
InstallationMedia: Ubuntu-Server 13.10 "Saucy Salamander" - Release armhf+omap4 
(20131016)
SourcePackage: lxc
UpgradeStatus: Upgraded to trusty on 2013-12-27 (-5108 days ago)
defaults.conf:
 lxc.network.type = veth
 lxc.network.link = lxcbr0
 lxc.network.flags = up
 lxc.network.hwaddr = 00:16:3e:xx:xx:xx

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apparmor apport-bug armhf trusty

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1324763

Title:
  failed to create container on arm with ubuntu template

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1324763/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to