[Bug 1294284] Re: LXC Ubuntu containers do not start in Ubuntu 14.04

Juho Lehto keeperb5 at outlook.com
Wed Mar 19 13:56:41 UTC 2014


I created new container with the command you suggested, same results as
original Ubuntu container I created.

Here's trace output.

      lxc-start 1395236983.307 INFO     lxc_start_ui - using rcfile /var/lib/lxc/ubuntu/config
      lxc-start 1395236983.309 WARN     lxc_log - lxc_log_init called with log already initialized
      lxc-start 1395236983.309 INFO     lxc_lsm - LSM security driver AppArmor
      lxc-start 1395236983.311 DEBUG    lxc_conf - allocated pty '/dev/pts/1' (5/6)
      lxc-start 1395236983.311 DEBUG    lxc_conf - allocated pty '/dev/pts/2' (7/8)
      lxc-start 1395236983.312 DEBUG    lxc_conf - allocated pty '/dev/pts/3' (9/10)
      lxc-start 1395236983.312 DEBUG    lxc_conf - allocated pty '/dev/pts/5' (11/12)
      lxc-start 1395236983.312 INFO     lxc_conf - tty's configured
      lxc-start 1395236983.312 DEBUG    lxc_start - sigchild handler set
      lxc-start 1395236983.312 DEBUG    lxc_console - opening /dev/tty for console peer
      lxc-start 1395236983.312 DEBUG    lxc_console - using '/dev/tty' as console
      lxc-start 1395236983.312 DEBUG    lxc_console - 4057 got SIGWINCH fd 17
      lxc-start 1395236983.312 DEBUG    lxc_console - set winsz dstfd:14 cols:237 rows:63
      lxc-start 1395236983.312 INFO     lxc_start - 'ubuntu' is initialized
      lxc-start 1395236983.325 DEBUG    lxc_start - Not dropping cap_sys_boot or watching utmp
      lxc-start 1395236983.331 DEBUG    lxc_conf - instanciated veth 'veth8TFYFI/veth7V6YKY', index is '24'
      lxc-start 1395236983.331 INFO     lxc_cgroup - cgroup driver cgroupfs initing for ubuntu
      lxc-start 1395236983.332 ERROR    lxc_cgfs - Device or resource busy - failed to set memory.use_hierarchy to 1; continuing
      lxc-start 1395236983.332 ERROR    lxc_cgfs - Device or resource busy - failed to set memory.use_hierarchy to 1; continuing
      lxc-start 1395236983.341 DEBUG    lxc_cgfs - cgroup 'devices.deny' set to 'a'
      lxc-start 1395236983.342 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c *:* m'
      lxc-start 1395236983.342 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'b *:* m'
      lxc-start 1395236983.342 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 1:3 rwm'
      lxc-start 1395236983.342 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 1:5 rwm'
      lxc-start 1395236983.342 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 5:0 rwm'
      lxc-start 1395236983.342 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 5:1 rwm'
      lxc-start 1395236983.342 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 1:8 rwm'
      lxc-start 1395236983.342 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 1:9 rwm'
      lxc-start 1395236983.342 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 5:2 rwm'
      lxc-start 1395236983.342 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 136:* rwm'
      lxc-start 1395236983.342 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 254:0 rm'
      lxc-start 1395236983.342 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 10:229 rwm'
      lxc-start 1395236983.342 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 10:200 rwm'
      lxc-start 1395236983.342 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 1:7 rwm'
      lxc-start 1395236983.342 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 10:228 rwm'
      lxc-start 1395236983.342 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 10:232 rwm'
      lxc-start 1395236983.342 INFO     lxc_cgfs - cgroup has been setup
      lxc-start 1395236983.370 DEBUG    lxc_conf - move '(null)' to '4065'
      lxc-start 1395236983.371 INFO     lxc_conf - 'ubuntu' hostname has been setup
      lxc-start 1395236983.402 DEBUG    lxc_conf - mac address '00:16:3e:47:4f:b4' on 'eth0' has been setup
      lxc-start 1395236983.403 DEBUG    lxc_conf - 'eth0' has been setup
      lxc-start 1395236983.403 INFO     lxc_conf - network has been setup
      lxc-start 1395236983.417 DEBUG    lxc_conf - mounted '/var/lib/lxc/ubuntu/rootfs' on '/usr/lib/x86_64-linux-gnu/lxc'
      lxc-start 1395236983.417 DEBUG    lxc_conf - Set exec command to /sbin/init
      lxc-start 1395236983.418 INFO     lxc_conf - Autodev not required.
      lxc-start 1395236983.418 INFO     lxc_conf - mount points have been setup
      lxc-start 1395236983.419 DEBUG    lxc_conf - mounted 'proc' on '/usr/lib/x86_64-linux-gnu/lxc/proc', type 'proc'
      lxc-start 1395236983.419 DEBUG    lxc_conf - mounted 'sysfs' on '/usr/lib/x86_64-linux-gnu/lxc/sys', type 'sysfs'
      lxc-start 1395236983.419 DEBUG    lxc_conf - remounting /sys/fs/fuse/connections on /usr/lib/x86_64-linux-gnu/lxc/sys/fs/fuse/connections to respect bind or remount options
      lxc-start 1395236983.419 DEBUG    lxc_conf - mounted '/sys/fs/fuse/connections' on '/usr/lib/x86_64-linux-gnu/lxc/sys/fs/fuse/connections', type 'none'
      lxc-start 1395236983.419 DEBUG    lxc_conf - remounting /sys/kernel/debug on /usr/lib/x86_64-linux-gnu/lxc/sys/kernel/debug to respect bind or remount options
      lxc-start 1395236983.419 DEBUG    lxc_conf - mounted '/sys/kernel/debug' on '/usr/lib/x86_64-linux-gnu/lxc/sys/kernel/debug', type 'none'
      lxc-start 1395236983.419 DEBUG    lxc_conf - remounting /sys/kernel/security on /usr/lib/x86_64-linux-gnu/lxc/sys/kernel/security to respect bind or remount options
      lxc-start 1395236983.420 DEBUG    lxc_conf - mounted '/sys/kernel/security' on '/usr/lib/x86_64-linux-gnu/lxc/sys/kernel/security', type 'none'
      lxc-start 1395236983.420 DEBUG    lxc_conf - remounting /sys/fs/pstore on /usr/lib/x86_64-linux-gnu/lxc/sys/fs/pstore to respect bind or remount options
      lxc-start 1395236983.420 DEBUG    lxc_conf - mounted '/sys/fs/pstore' on '/usr/lib/x86_64-linux-gnu/lxc/sys/fs/pstore', type 'none'
      lxc-start 1395236983.420 INFO     lxc_conf - mount points have been setup
      lxc-start 1395236983.420 INFO     lxc_conf - created /usr/lib/x86_64-linux-gnu/lxc/dev/lxc
      lxc-start 1395236983.437 INFO     lxc_conf - console has been setup on lxc/console
      lxc-start 1395236983.439 INFO     lxc_conf - 4 tty(s) has been setup
      lxc-start 1395236983.439 INFO     lxc_conf - I am 1, /proc/self points to '1'
      lxc-start 1395236983.440 DEBUG    lxc_conf - created '/usr/lib/x86_64-linux-gnu/lxc/lxc_putold' directory
      lxc-start 1395236983.440 DEBUG    lxc_conf - mountpoint for old rootfs is '/usr/lib/x86_64-linux-gnu/lxc/lxc_putold'
      lxc-start 1395236983.440 DEBUG    lxc_conf - pivot_root syscall to '/usr/lib/x86_64-linux-gnu/lxc' successful
      lxc-start 1395236983.457 DEBUG    lxc_conf - umounted '/lxc_putold/dev/pts'
      lxc-start 1395236983.485 DEBUG    lxc_conf - umounted '/lxc_putold/run/lock'
      lxc-start 1395236983.509 DEBUG    lxc_conf - umounted '/lxc_putold/run/shm'
      lxc-start 1395236983.557 DEBUG    lxc_conf - umounted '/lxc_putold/run/user'
      lxc-start 1395236983.589 DEBUG    lxc_conf - umounted '/lxc_putold/sys/fs/cgroup/systemd'
      lxc-start 1395236983.609 DEBUG    lxc_conf - umounted '/lxc_putold/sys/fs/fuse/connections'
      lxc-start 1395236983.637 DEBUG    lxc_conf - umounted '/lxc_putold/sys/kernel/debug'
      lxc-start 1395236983.653 DEBUG    lxc_conf - umounted '/lxc_putold/sys/kernel/security'
      lxc-start 1395236983.661 DEBUG    lxc_conf - umounted '/lxc_putold/sys/fs/pstore'
      lxc-start 1395236983.669 DEBUG    lxc_conf - umounted '/lxc_putold/proc'
      lxc-start 1395236983.677 DEBUG    lxc_conf - umounted '/lxc_putold/home'
      lxc-start 1395236983.685 DEBUG    lxc_conf - umounted '/lxc_putold/boot'
      lxc-start 1395236983.693 DEBUG    lxc_conf - umounted '/lxc_putold/srv'
      lxc-start 1395236983.701 DEBUG    lxc_conf - umounted '/lxc_putold/var/tmp'
      lxc-start 1395236983.709 DEBUG    lxc_conf - umounted '/lxc_putold/tmp'
      lxc-start 1395236983.717 DEBUG    lxc_conf - umounted '/lxc_putold/dev'
      lxc-start 1395236983.725 DEBUG    lxc_conf - umounted '/lxc_putold/run'
      lxc-start 1395236983.733 DEBUG    lxc_conf - umounted '/lxc_putold/sys/fs/cgroup'
      lxc-start 1395236983.741 DEBUG    lxc_conf - umounted '/lxc_putold/var'
      lxc-start 1395236983.749 DEBUG    lxc_conf - umounted '/lxc_putold/sys'
      lxc-start 1395236983.757 DEBUG    lxc_conf - umounted '/lxc_putold'
      lxc-start 1395236983.758 INFO     lxc_conf - created new pts instance
      lxc-start 1395236983.758 INFO     lxc_conf - set personality to '0x0'
      lxc-start 1395236983.758 DEBUG    lxc_conf - drop capability 'sys_module' (16)
      lxc-start 1395236983.758 DEBUG    lxc_conf - drop capability 'mac_admin' (33)
      lxc-start 1395236983.758 DEBUG    lxc_conf - drop capability 'mac_override' (32)
      lxc-start 1395236983.758 DEBUG    lxc_conf - drop capability 'sys_time' (25)
      lxc-start 1395236983.758 DEBUG    lxc_conf - capabilities have been setup
      lxc-start 1395236983.758 NOTICE   lxc_conf - 'ubuntu' is setup.
      lxc-start 1395236983.758 DEBUG    lxc_cgfs - cgroup 'devices.deny' set to 'a'
      lxc-start 1395236983.759 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c *:* m'
      lxc-start 1395236983.759 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'b *:* m'
      lxc-start 1395236983.759 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 1:3 rwm'
      lxc-start 1395236983.759 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 1:5 rwm'
      lxc-start 1395236983.759 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 5:0 rwm'
      lxc-start 1395236983.760 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 5:1 rwm'
      lxc-start 1395236983.760 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 1:8 rwm'
      lxc-start 1395236983.760 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 1:9 rwm'
      lxc-start 1395236983.760 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 5:2 rwm'
      lxc-start 1395236983.760 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 136:* rwm'
      lxc-start 1395236983.761 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 254:0 rm'
      lxc-start 1395236983.761 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 10:229 rwm'
      lxc-start 1395236983.761 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 10:200 rwm'
      lxc-start 1395236983.761 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 1:7 rwm'
      lxc-start 1395236983.761 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 10:228 rwm'
      lxc-start 1395236983.762 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 10:232 rwm'
      lxc-start 1395236983.762 INFO     lxc_cgfs - cgroup has been setup
      lxc-start 1395236983.762 INFO     lxc_apparmor - changed apparmor profile to lxc-container-default
      lxc-start 1395236983.762 WARN     lxc_start - inherited fd 4
      lxc-start 1395236983.762 WARN     lxc_start - inherited fd 5
      lxc-start 1395236983.762 WARN     lxc_start - inherited fd 6
      lxc-start 1395236983.762 WARN     lxc_start - inherited fd 7
      lxc-start 1395236983.762 WARN     lxc_start - inherited fd 8
      lxc-start 1395236983.763 WARN     lxc_start - inherited fd 9
      lxc-start 1395236983.763 WARN     lxc_start - inherited fd 10
      lxc-start 1395236983.763 WARN     lxc_start - inherited fd 11
      lxc-start 1395236983.763 WARN     lxc_start - inherited fd 12
      lxc-start 1395236983.763 WARN     lxc_start - inherited fd 14
      lxc-start 1395236983.763 WARN     lxc_start - inherited fd 15
      lxc-start 1395236983.763 WARN     lxc_start - inherited fd 16
      lxc-start 1395236983.763 WARN     lxc_start - inherited fd 17
      lxc-start 1395236983.763 WARN     lxc_start - inherited fd 18
      lxc-start 1395236983.763 NOTICE   lxc_start - exec'ing '/sbin/init'
      lxc-start 1395236983.773 NOTICE   lxc_start - '/sbin/init' started with pid '4065'
      lxc-start 1395236983.774 WARN     lxc_start - invalid pid for SIGCHLD
      lxc-start 1395237024.459 DEBUG    lxc_commands - peer has disconnected
      lxc-start 1395237024.460 DEBUG    lxc_commands - peer has disconnected
      lxc-start 1395237024.460 DEBUG    lxc_commands - peer has disconnected
      lxc-start 1395237024.461 DEBUG    lxc_commands - peer has disconnected
      lxc-start 1395237024.462 DEBUG    lxc_commands - peer has disconnected
      lxc-start 1395237024.462 DEBUG    lxc_commands - peer has disconnected
      lxc-start 1395237024.473 DEBUG    lxc_commands - peer has disconnected
      lxc-start 1395237024.474 DEBUG    lxc_commands - peer has disconnected
      lxc-start 1395237084.553 DEBUG    lxc_start - container init process exited
      lxc-start 1395237084.554 DEBUG    lxc_start - unknown exit status for init: 9
      lxc-start 1395237084.554 INFO     lxc_conf - running to reset 0 nic names
      lxc-start 1395237084.554 INFO     lxc_error - child <4065> ended on signal (9)
      lxc-start 1395237084.554 WARN     lxc_conf - failed to remove interface '(null)'

The system is cheap Atom D425 server from Kimsufi. I am using generic
kernel and standard packages from official Ubuntu repositories. Of
course I have meddled with various configs (who hasn't?), but nothing
comes to mind that would prevent Ubuntu containers from starting while
Debian containers still work fine.

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

Title:
  LXC Ubuntu containers do not start in Ubuntu 14.04

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



More information about the Ubuntu-server-bugs mailing list