My kernel was stuck on 4.4. I had to manually update /boot/grub/grub.cfg
with 'sudo grub-mkconfig -o /boot/grub/grub.cfg' to get the 4.15 kernel
to be available in grub to boot from. After that, and booting from 4.15
kernel, I can get bash into focal lxd container. Marking invalid.

** Changed in: lxc (Ubuntu)
       Status: New => Invalid

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

Title:
  can't launch focal container on bionic (TIOCGPTPEER)

Status in lxc package in Ubuntu:
  Invalid

Bug description:
  I cannot get a bash shell into a focal container on my bionic host.
  stdout shows TIOCGPTPEER unavailable message.
  `lxc ls` shows it is running, and I can ping it's IP address.

  $ lxc exec focal-NOTREAL -- bash
  Error: TIOCGPTPEER required but not available
  $ uname -a
  Linux timbre 4.4.0-164-generic #192-Ubuntu SMP Fri Sep 13 12:02:50 UTC 2019 
x86_64 x86_64 x86_64 GNU/Linux
  $ uname -a
  Linux timbre 4.4.0-164-generic #192-Ubuntu SMP Fri Sep 13 12:02:50 UTC 2019 
x86_64 x86_64 x86_64 GNU/Linux
  $ lxc config show focal-NOTREAL
  architecture: x86_64
  config:
    image.architecture: amd64
    image.description: ubuntu 20.04 LTS amd64 (release) (20201014)
    image.label: release
    image.os: ubuntu
    image.release: focal
    image.serial: "20201014"
    image.type: squashfs
    image.version: "20.04"
    volatile.base_image: 
e81943d409153d0962e3855b7d9e6c60640571529f47b16eec2da5b4f2ad77ff
    volatile.eth0.host_name: veth0ad5a93b
    volatile.eth0.hwaddr: 00:16:3e:72:ed:8d
    volatile.idmap.base: "0"
    volatile.idmap.current: 
'[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000000000},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
    volatile.idmap.next: 
'[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000000000},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
    volatile.last_state.idmap: 
'[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000000000},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
    volatile.last_state.power: RUNNING
  devices: {}
  ephemeral: false
  profiles:
  - default
  stateful: false
  description: ""

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