Public bug reported:

I did run:

 lxc-create -t ubuntu -n ubu18.04 -- template-options -r bionic

which fails in the end:

(...)
Download complete
Copy /var/cache/lxc/bionic/rootfs-amd64 to /var/lib/lxc/ubu18.04/rootfs ... 
Copying rootfs to /var/lib/lxc/ubu18.04/rootfs ...
Generating locales (this might take a while)...
  de_DE.UTF-8... done
Generation complete.
mv: Aufruf von stat für '/var/lib/lxc/ubu18.04/rootfs/etc/init/ssh.conf' nicht 
möglich: Datei oder Verzeichnis nicht gefunden
lxc-create: lxccontainer.c: create_run_template: 1295 container creation 
template for ubu18.04 failed
lxc-create: tools/lxc_create.c: main: 318 Error creating container ubu18.04

I've seen that when creating a xenial container this is the point where
new sshd keys get created.

  dpkg -l 'lxc*'
||/ Name           Version                
+++-==============-======================-
ii  lxc            2.0.8-0ubuntu1~16.04.2 
ii  lxc-common     2.0.8-0ubuntu1~16.04.2 
ii  lxc-templates  2.0.8-0ubuntu1~16.04.2 
ii  lxc1           2.0.8-0ubuntu1~16.04.2 
ii  lxcfs          2.0.8-0ubuntu1~16.04.2 
un  lxcguest       <keine>                
un  lxctl          <keine>  


  lsb_release -rd
Description:    Ubuntu 16.04.4 LTS
Release:        16.04

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

** Attachment added: "log of failing lxc-create"
   
https://bugs.launchpad.net/bugs/1760848/+attachment/5099757/+files/lxc-create.log

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

Title:
  lxc-create can't create bionic container on xenial

Status in lxc package in Ubuntu:
  New

Bug description:
  
  I did run:

   lxc-create -t ubuntu -n ubu18.04 -- template-options -r bionic

  which fails in the end:

  (...)
  Download complete
  Copy /var/cache/lxc/bionic/rootfs-amd64 to /var/lib/lxc/ubu18.04/rootfs ... 
  Copying rootfs to /var/lib/lxc/ubu18.04/rootfs ...
  Generating locales (this might take a while)...
    de_DE.UTF-8... done
  Generation complete.
  mv: Aufruf von stat für '/var/lib/lxc/ubu18.04/rootfs/etc/init/ssh.conf' 
nicht möglich: Datei oder Verzeichnis nicht gefunden
  lxc-create: lxccontainer.c: create_run_template: 1295 container creation 
template for ubu18.04 failed
  lxc-create: tools/lxc_create.c: main: 318 Error creating container ubu18.04

  I've seen that when creating a xenial container this is the point
  where new sshd keys get created.

    dpkg -l 'lxc*'
  ||/ Name           Version                
  +++-==============-======================-
  ii  lxc            2.0.8-0ubuntu1~16.04.2 
  ii  lxc-common     2.0.8-0ubuntu1~16.04.2 
  ii  lxc-templates  2.0.8-0ubuntu1~16.04.2 
  ii  lxc1           2.0.8-0ubuntu1~16.04.2 
  ii  lxcfs          2.0.8-0ubuntu1~16.04.2 
  un  lxcguest       <keine>                
  un  lxctl          <keine>  

  
    lsb_release -rd
  Description:  Ubuntu 16.04.4 LTS
  Release:      16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1760848/+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