Public bug reported:

Example run:

    > sudo lxc-create -n debian-9-armhf -t debian -- --arch=armhf --release=sid
    debootstrap is /usr/sbin/debootstrap
    Checking cache download in /var/cache/lxc/debian/rootfs-sid-armhf ...
    Downloading debian minimal ...
    I: Retrieving InRelease
    I: Checking Release signature
    I: Valid Release signature (key id 126C0D24BD8A2942CC7DF8AC7638D0442B90D010)
    I: Retrieving Packages
    I: Validating Packages
    I: Resolving dependencies of required packages...
    I: Resolving dependencies of base packages...
    I: Found additional required dependencies: libaudit1 libaudit-common 
libbz2-1.0 libcap-ng0 libdb5.3 libdebconfclient0 libgcrypt20 libgpg-error0 
liblz4-1 libncursesw5 libsemanage1 libsemanage-common libsystemd0 libudev1 
libustr-1.0-1
    I: Found additional base dependencies: adduser debian-archive-keyring 
dmsetup gpgv iproute2 libapparmor1 libapt-pkg5.0 libbsd0 libcap2 libc-l10n 
libcryptsetup4 libdevmapper1.02.1 libdns-export162 libedit2 libelf1 
libgssapi-krb5-2 libidn11 libip4tc0 libisc-export160 libk5crypto3 libkeyutils1 
libkmod2 libkrb5-3 libkrb5support0 libmnl0 libncurses5 libprocps6 libseccomp2 
libssl1.0.2 libstdc++6 libwrap0 openssh-client openssh-sftp-server procps 
systemd systemd-sysv ucf
    I: Checking component main on http://httpredir.debian.org/debian...
    I: Retrieving libacl1 2.2.52-3+b1
    I: Validating libacl1 2.2.52-3+b1
    I: Retrieving adduser 3.115
    I: Validating adduser 3.115
    [...]
    I: Retrieving liblzma5 5.2.2-1.2+b1
    I: Validating liblzma5 5.2.2-1.2+b1
    I: Retrieving zlib1g 1:1.2.8.dfsg-5
    I: Validating zlib1g 1:1.2.8.dfsg-5
    I: Chosen extractor for .deb packages: dpkg-deb
    I: Extracting libacl1...
    I: Extracting libattr1...
    [...]
    I: Extracting liblzma5...
    I: Extracting zlib1g...
    W: Failure trying to run: chroot /var/cache/lxc/debian/partial-sid-armhf 
mount -t proc proc /proc
    W: See /var/cache/lxc/debian/partial-sid-armhf/debootstrap/debootstrap.log 
for details
    Failed to download the rootfs, aborting.
    Failed to download 'debian base'
    failed to install debian
    lxc-create: lxccontainer.c: create_run_template: 1297 container creation 
template for debian-9-armhf failed
    lxc-create: tools/lxc_create.c: main: 318 Error creating container 
debian-9-armhf
    > sudo stat 
/var/cache/lxc/debian/partial-sid-armhf/debootstrap/debootstrap.log
    stat: cannot stat 
'/var/cache/lxc/debian/partial-sid-armhf/debootstrap/debootstrap.log': No such 
file or directory

Either the log file should be created (preferred) or the message should
be adjusted to not mention it.

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: lxc 2.0.7-0ubuntu1~16.10.2
ProcVersionSignature: Ubuntu 4.8.0-41.44-generic 4.8.17
Uname: Linux 4.8.0-41-generic x86_64
NonfreeKernelModules: zfs zunicode icp zcommon znvpair zavl
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Mar 11 06:26:15 2017
InstallationDate: Installed on 2015-12-12 (454 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
PackageArchitecture: all
SourcePackage: lxc
UpgradeStatus: Upgraded to yakkety on 2016-10-17 (144 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: amd64 apparmor apport-bug yakkety

** Description changed:

  Example run:
  
-     > sudo lxc-create -n debian-9-armhf -t debian -- --arch=armhf 
--release=sid
-     debootstrap is /usr/sbin/debootstrap
-     Checking cache download in /var/cache/lxc/debian/rootfs-sid-armhf ... 
-     Downloading debian minimal ...
-     I: Retrieving InRelease 
-     I: Checking Release signature
-     I: Valid Release signature (key id 
126C0D24BD8A2942CC7DF8AC7638D0442B90D010)
-     I: Retrieving Packages 
-     I: Validating Packages 
-     I: Resolving dependencies of required packages...
-     I: Resolving dependencies of base packages...
-     I: Found additional required dependencies: libaudit1 libaudit-common 
libbz2-1.0 libcap-ng0 libdb5.3 libdebconfclient0 libgcrypt20 libgpg-error0 
liblz4-1 libncursesw5 libsemanage1 libsemanage-common libsystemd0 libudev1 
libustr-1.0-1 
-     I: Found additional base dependencies: adduser debian-archive-keyring 
dmsetup gpgv iproute2 libapparmor1 libapt-pkg5.0 libbsd0 libcap2 libc-l10n 
libcryptsetup4 libdevmapper1.02.1 libdns-export162 libedit2 libelf1 
libgssapi-krb5-2 libidn11 libip4tc0 libisc-export160 libk5crypto3 libkeyutils1 
libkmod2 libkrb5-3 libkrb5support0 libmnl0 libncurses5 libprocps6 libseccomp2 
libssl1.0.2 libstdc++6 libwrap0 openssh-client openssh-sftp-server procps 
systemd systemd-sysv ucf 
-     I: Checking component main on http://httpredir.debian.org/debian...
-     I: Retrieving libacl1 2.2.52-3+b1
-     I: Validating libacl1 2.2.52-3+b1
-     I: Retrieving adduser 3.115
-     I: Validating adduser 3.115
-     [...]
-     I: Retrieving liblzma5 5.2.2-1.2+b1
-     I: Validating liblzma5 5.2.2-1.2+b1
-     I: Retrieving zlib1g 1:1.2.8.dfsg-5
-     I: Validating zlib1g 1:1.2.8.dfsg-5
-     I: Chosen extractor for .deb packages: dpkg-deb
-     I: Extracting libacl1...
-     I: Extracting libattr1...
-     [...]
-     I: Extracting liblzma5...
-     I: Extracting zlib1g...
-     W: Failure trying to run: chroot /var/cache/lxc/debian/partial-sid-armhf 
mount -t proc proc /proc
-     W: See 
/var/cache/lxc/debian/partial-sid-armhf/debootstrap/debootstrap.log for details
-     Failed to download the rootfs, aborting.
-     Failed to download 'debian base'
-     failed to install debian
-     lxc-create: lxccontainer.c: create_run_template: 1297 container creation 
template for debian-9-armhf failed
-     lxc-create: tools/lxc_create.c: main: 318 Error creating container 
debian-9-armhf
-     > sudo stat 
/var/cache/lxc/debian/partial-sid-armhf/debootstrap/debootstrap.log
-     stat: cannot stat 
'/var/cache/lxc/debian/partial-sid-armhf/debootstrap/debootstrap.log': No such 
file or directory
+     > sudo lxc-create -n debian-9-armhf -t debian -- --arch=armhf 
--release=sid
+     debootstrap is /usr/sbin/debootstrap
+     Checking cache download in /var/cache/lxc/debian/rootfs-sid-armhf ...
+     Downloading debian minimal ...
+     I: Retrieving InRelease
+     I: Checking Release signature
+     I: Valid Release signature (key id 
126C0D24BD8A2942CC7DF8AC7638D0442B90D010)
+     I: Retrieving Packages
+     I: Validating Packages
+     I: Resolving dependencies of required packages...
+     I: Resolving dependencies of base packages...
+     I: Found additional required dependencies: libaudit1 libaudit-common 
libbz2-1.0 libcap-ng0 libdb5.3 libdebconfclient0 libgcrypt20 libgpg-error0 
liblz4-1 libncursesw5 libsemanage1 libsemanage-common libsystemd0 libudev1 
libustr-1.0-1
+     I: Found additional base dependencies: adduser debian-archive-keyring 
dmsetup gpgv iproute2 libapparmor1 libapt-pkg5.0 libbsd0 libcap2 libc-l10n 
libcryptsetup4 libdevmapper1.02.1 libdns-export162 libedit2 libelf1 
libgssapi-krb5-2 libidn11 libip4tc0 libisc-export160 libk5crypto3 libkeyutils1 
libkmod2 libkrb5-3 libkrb5support0 libmnl0 libncurses5 libprocps6 libseccomp2 
libssl1.0.2 libstdc++6 libwrap0 openssh-client openssh-sftp-server procps 
systemd systemd-sysv ucf
+     I: Checking component main on http://httpredir.debian.org/debian...
+     I: Retrieving libacl1 2.2.52-3+b1
+     I: Validating libacl1 2.2.52-3+b1
+     I: Retrieving adduser 3.115
+     I: Validating adduser 3.115
+     [...]
+     I: Retrieving liblzma5 5.2.2-1.2+b1
+     I: Validating liblzma5 5.2.2-1.2+b1
+     I: Retrieving zlib1g 1:1.2.8.dfsg-5
+     I: Validating zlib1g 1:1.2.8.dfsg-5
+     I: Chosen extractor for .deb packages: dpkg-deb
+     I: Extracting libacl1...
+     I: Extracting libattr1...
+     [...]
+     I: Extracting liblzma5...
+     I: Extracting zlib1g...
+     W: Failure trying to run: chroot /var/cache/lxc/debian/partial-sid-armhf 
mount -t proc proc /proc
+     W: See 
/var/cache/lxc/debian/partial-sid-armhf/debootstrap/debootstrap.log for details
+     Failed to download the rootfs, aborting.
+     Failed to download 'debian base'
+     failed to install debian
+     lxc-create: lxccontainer.c: create_run_template: 1297 container creation 
template for debian-9-armhf failed
+     lxc-create: tools/lxc_create.c: main: 318 Error creating container 
debian-9-armhf
+     > sudo stat 
/var/cache/lxc/debian/partial-sid-armhf/debootstrap/debootstrap.log
+     stat: cannot stat 
'/var/cache/lxc/debian/partial-sid-armhf/debootstrap/debootstrap.log': No such 
file or directory
+ 
+ Either the log file should be created (preferred) or the message should
+ be adjusted to not mention it.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: lxc 2.0.7-0ubuntu1~16.10.2
  ProcVersionSignature: Ubuntu 4.8.0-41.44-generic 4.8.17
  Uname: Linux 4.8.0-41-generic x86_64
  NonfreeKernelModules: zfs zunicode icp zcommon znvpair zavl
  ApportVersion: 2.20.3-0ubuntu8.2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Mar 11 06:26:15 2017
  InstallationDate: Installed on 2015-12-12 (454 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  PackageArchitecture: all
  SourcePackage: lxc
  UpgradeStatus: Upgraded to yakkety on 2016-10-17 (144 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
+  lxc.network.type = veth
+  lxc.network.link = lxcbr0
+  lxc.network.flags = up
+  lxc.network.hwaddr = 00:16:3e:xx:xx:xx

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1671990

Title:
  failing lxc-create doesn't create log file mentioned in error message

Status in lxc package in Ubuntu:
  New

Bug description:
  Example run:

      > sudo lxc-create -n debian-9-armhf -t debian -- --arch=armhf 
--release=sid
      debootstrap is /usr/sbin/debootstrap
      Checking cache download in /var/cache/lxc/debian/rootfs-sid-armhf ...
      Downloading debian minimal ...
      I: Retrieving InRelease
      I: Checking Release signature
      I: Valid Release signature (key id 
126C0D24BD8A2942CC7DF8AC7638D0442B90D010)
      I: Retrieving Packages
      I: Validating Packages
      I: Resolving dependencies of required packages...
      I: Resolving dependencies of base packages...
      I: Found additional required dependencies: libaudit1 libaudit-common 
libbz2-1.0 libcap-ng0 libdb5.3 libdebconfclient0 libgcrypt20 libgpg-error0 
liblz4-1 libncursesw5 libsemanage1 libsemanage-common libsystemd0 libudev1 
libustr-1.0-1
      I: Found additional base dependencies: adduser debian-archive-keyring 
dmsetup gpgv iproute2 libapparmor1 libapt-pkg5.0 libbsd0 libcap2 libc-l10n 
libcryptsetup4 libdevmapper1.02.1 libdns-export162 libedit2 libelf1 
libgssapi-krb5-2 libidn11 libip4tc0 libisc-export160 libk5crypto3 libkeyutils1 
libkmod2 libkrb5-3 libkrb5support0 libmnl0 libncurses5 libprocps6 libseccomp2 
libssl1.0.2 libstdc++6 libwrap0 openssh-client openssh-sftp-server procps 
systemd systemd-sysv ucf
      I: Checking component main on http://httpredir.debian.org/debian...
      I: Retrieving libacl1 2.2.52-3+b1
      I: Validating libacl1 2.2.52-3+b1
      I: Retrieving adduser 3.115
      I: Validating adduser 3.115
      [...]
      I: Retrieving liblzma5 5.2.2-1.2+b1
      I: Validating liblzma5 5.2.2-1.2+b1
      I: Retrieving zlib1g 1:1.2.8.dfsg-5
      I: Validating zlib1g 1:1.2.8.dfsg-5
      I: Chosen extractor for .deb packages: dpkg-deb
      I: Extracting libacl1...
      I: Extracting libattr1...
      [...]
      I: Extracting liblzma5...
      I: Extracting zlib1g...
      W: Failure trying to run: chroot /var/cache/lxc/debian/partial-sid-armhf 
mount -t proc proc /proc
      W: See 
/var/cache/lxc/debian/partial-sid-armhf/debootstrap/debootstrap.log for details
      Failed to download the rootfs, aborting.
      Failed to download 'debian base'
      failed to install debian
      lxc-create: lxccontainer.c: create_run_template: 1297 container creation 
template for debian-9-armhf failed
      lxc-create: tools/lxc_create.c: main: 318 Error creating container 
debian-9-armhf
      > sudo stat 
/var/cache/lxc/debian/partial-sid-armhf/debootstrap/debootstrap.log
      stat: cannot stat 
'/var/cache/lxc/debian/partial-sid-armhf/debootstrap/debootstrap.log': No such 
file or directory

  Either the log file should be created (preferred) or the message
  should be adjusted to not mention it.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: lxc 2.0.7-0ubuntu1~16.10.2
  ProcVersionSignature: Ubuntu 4.8.0-41.44-generic 4.8.17
  Uname: Linux 4.8.0-41-generic x86_64
  NonfreeKernelModules: zfs zunicode icp zcommon znvpair zavl
  ApportVersion: 2.20.3-0ubuntu8.2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Mar 11 06:26:15 2017
  InstallationDate: Installed on 2015-12-12 (454 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  PackageArchitecture: all
  SourcePackage: lxc
  UpgradeStatus: Upgraded to yakkety on 2016-10-17 (144 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

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to