Hi folks,

I tried the fedora template, but it seems the generated
image (Fedora 19 or 20) doesn't start. lxc-start returns
immediately without any message on stderr. Attached is the
debug log file for Fedora 20.

lxc is rc2 of this morning. Host is Debian (sid) with kernel
3.13.3. Creating and booting a Debian container worked without
problems.

Please mail if I can help to track this down.

Regards
Harri

      lxc-start 1392475606.398 INFO     lxc_start_ui - using rcfile /var/lib/lxc/fed20/config
      lxc-start 1392475606.398 WARN     lxc_log - lxc_log_init called with log already initialized
      lxc-start 1392475606.399 DEBUG    lxc_conf - allocated pty '/dev/pts/5' (5/6)
      lxc-start 1392475606.399 DEBUG    lxc_conf - allocated pty '/dev/pts/7' (7/8)
      lxc-start 1392475606.399 DEBUG    lxc_conf - allocated pty '/dev/pts/8' (9/10)
      lxc-start 1392475606.399 DEBUG    lxc_conf - allocated pty '/dev/pts/9' (11/12)
      lxc-start 1392475606.399 INFO     lxc_conf - tty's configured
      lxc-start 1392475606.399 DEBUG    lxc_start - sigchild handler set
      lxc-start 1392475606.399 DEBUG    lxc_console - opening /dev/tty for console peer
      lxc-start 1392475606.399 DEBUG    lxc_console - using '/dev/tty' as console
      lxc-start 1392475606.399 DEBUG    lxc_console - 23891 got SIGWINCH fd 17
      lxc-start 1392475606.399 DEBUG    lxc_console - set winsz dstfd:14 cols:179 rows:59
      lxc-start 1392475606.399 INFO     lxc_start - 'fed20' is initialized
      lxc-start 1392475606.413 DEBUG    lxc_start - Not dropping cap_sys_boot or watching utmp
      lxc-start 1392475606.413 INFO     lxc_cgroup - cgroup driver cgroupfs initing for fed20
      lxc-start 1392475606.415 DEBUG    lxc_cgfs - cgroup 'devices.deny' set to 'a'
      lxc-start 1392475606.415 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c *:* m'
      lxc-start 1392475606.415 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'b *:* m'
      lxc-start 1392475606.415 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 1:3 rwm	# /dev/null'
      lxc-start 1392475606.415 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 1:5 rwm	# /dev/zero'
      lxc-start 1392475606.415 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 1:7 rwm	# /dev/full'
      lxc-start 1392475606.415 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 5:0 rwm	# /dev/tty'
      lxc-start 1392475606.415 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 1:8 rwm	# /dev/random'
      lxc-start 1392475606.415 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 1:9 rwm	# /dev/urandom'
      lxc-start 1392475606.415 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 136:* rwm	# /dev/tty[1-4] ptys and lxc console'
      lxc-start 1392475606.415 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 5:2 rwm	# /dev/ptmx pty master'
      lxc-start 1392475606.415 INFO     lxc_cgfs - cgroup has been setup
      lxc-start 1392475606.415 INFO     lxc_conf - 'fed20.afaics.de' hostname has been setup
      lxc-start 1392475606.415 INFO     lxc_conf - network has been setup
      lxc-start 1392475606.418 DEBUG    lxc_conf - mounted '/var/lib/lxc/fed20/rootfs' on '/usr/lib/x86_64-linux-gnu/lxc'
      lxc-start 1392475606.418 INFO     lxc_conf - Mounting /dev under /usr/lib/x86_64-linux-gnu/lxc
      lxc-start 1392475606.418 DEBUG    lxc_conf - entering mount_check_fs for /dev
      lxc-start 1392475606.418 DEBUG    lxc_conf - mount_check_fs returning 1 last devtmpfs
      lxc-start 1392475606.418 DEBUG    lxc_conf - Bind mounting /dev/.lxc/fed20.4d9dd45989523cdf to /usr/lib/x86_64-linux-gnu/lxc/dev
      lxc-start 1392475606.418 INFO     lxc_conf - Mounted /dev under /usr/lib/x86_64-linux-gnu/lxc
      lxc-start 1392475606.418 INFO     lxc_conf - Creating initial consoles under /usr/lib/x86_64-linux-gnu/lxc/dev
      lxc-start 1392475606.418 INFO     lxc_conf - Populating /dev under /usr/lib/x86_64-linux-gnu/lxc
      lxc-start 1392475606.418 INFO     lxc_conf - Populated /dev under /usr/lib/x86_64-linux-gnu/lxc
      lxc-start 1392475606.418 INFO     lxc_conf - created /usr/lib/x86_64-linux-gnu/lxc/dev/lxc
      lxc-start 1392475606.418 INFO     lxc_conf - console has been setup on lxc/console
      lxc-start 1392475606.418 INFO     lxc_conf - 4 tty(s) has been setup
      lxc-start 1392475606.418 INFO     lxc_conf - I am 1, /proc/self points to ''
      lxc-start 1392475606.418 INFO     lxc_conf - Mounted /proc in container for security transition
      lxc-start 1392475606.418 DEBUG    lxc_conf - created '/usr/lib/x86_64-linux-gnu/lxc/lxc_putold' directory
      lxc-start 1392475606.418 DEBUG    lxc_conf - mountpoint for old rootfs is '/usr/lib/x86_64-linux-gnu/lxc/lxc_putold'
      lxc-start 1392475606.419 DEBUG    lxc_conf - pivot_root syscall to '/usr/lib/x86_64-linux-gnu/lxc' successful
      lxc-start 1392475606.429 DEBUG    lxc_conf - umounted '/lxc_putold/dev/pts'
      lxc-start 1392475606.445 DEBUG    lxc_conf - umounted '/lxc_putold/run/lock'
      lxc-start 1392475606.456 DEBUG    lxc_conf - umounted '/lxc_putold/run/shm'
      lxc-start 1392475606.469 DEBUG    lxc_conf - umounted '/lxc_putold/run/rpc_pipefs'
      lxc-start 1392475606.497 DEBUG    lxc_conf - umounted '/lxc_putold/sys/fs/pstore'
      lxc-start 1392475606.513 DEBUG    lxc_conf - umounted '/lxc_putold/sys/fs/fuse/connections'
      lxc-start 1392475606.529 DEBUG    lxc_conf - umounted '/lxc_putold/proc/sys/fs/binfmt_misc'
      lxc-start 1392475606.541 DEBUG    lxc_conf - umounted '/lxc_putold/proc/fs/nfsd'
      lxc-start 1392475606.553 DEBUG    lxc_conf - umounted '/lxc_putold/home'
      lxc-start 1392475606.565 DEBUG    lxc_conf - umounted '/lxc_putold/export'
      lxc-start 1392475606.581 DEBUG    lxc_conf - umounted '/lxc_putold/cgroup'
      lxc-start 1392475606.597 DEBUG    lxc_conf - umounted '/lxc_putold/misc'
      lxc-start 1392475606.609 DEBUG    lxc_conf - umounted '/lxc_putold/net'
      lxc-start 1392475606.620 DEBUG    lxc_conf - umounted '/lxc_putold/dev'
      lxc-start 1392475606.637 DEBUG    lxc_conf - umounted '/lxc_putold/run'
      lxc-start 1392475606.649 DEBUG    lxc_conf - umounted '/lxc_putold/sys'
      lxc-start 1392475606.665 DEBUG    lxc_conf - umounted '/lxc_putold/proc'
      lxc-start 1392475606.681 DEBUG    lxc_conf - umounted '/lxc_putold'
      lxc-start 1392475606.681 DEBUG    lxc_conf - drop capability 'mac_admin' (33)
      lxc-start 1392475606.681 DEBUG    lxc_conf - drop capability 'mac_override' (32)
      lxc-start 1392475606.681 DEBUG    lxc_conf - drop capability 'setfcap' (31)
      lxc-start 1392475606.681 DEBUG    lxc_conf - drop capability 'sys_module' (16)
      lxc-start 1392475606.681 DEBUG    lxc_conf - drop capability 'sys_nice' (23)
      lxc-start 1392475606.681 DEBUG    lxc_conf - drop capability 'sys_pacct' (20)
      lxc-start 1392475606.681 DEBUG    lxc_conf - drop capability 'sys_rawio' (17)
      lxc-start 1392475606.681 DEBUG    lxc_conf - drop capability 'sys_time' (25)
      lxc-start 1392475606.681 DEBUG    lxc_conf - capabilities have been setup
      lxc-start 1392475606.681 NOTICE   lxc_conf - 'fed20' is setup.
      lxc-start 1392475606.682 DEBUG    lxc_cgfs - cgroup 'devices.deny' set to 'a'
      lxc-start 1392475606.682 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c *:* m'
      lxc-start 1392475606.682 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'b *:* m'
      lxc-start 1392475606.682 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 1:3 rwm	# /dev/null'
      lxc-start 1392475606.682 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 1:5 rwm	# /dev/zero'
      lxc-start 1392475606.682 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 1:7 rwm	# /dev/full'
      lxc-start 1392475606.682 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 5:0 rwm	# /dev/tty'
      lxc-start 1392475606.682 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 1:8 rwm	# /dev/random'
      lxc-start 1392475606.682 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 1:9 rwm	# /dev/urandom'
      lxc-start 1392475606.682 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 136:* rwm	# /dev/tty[1-4] ptys and lxc console'
      lxc-start 1392475606.682 DEBUG    lxc_cgfs - cgroup 'devices.allow' set to 'c 5:2 rwm	# /dev/ptmx pty master'
      lxc-start 1392475606.682 INFO     lxc_cgfs - cgroup has been setup
      lxc-start 1392475606.689 WARN     lxc_start - failed to open directory: No such file or directory
      lxc-start 1392475606.737 NOTICE   lxc_start - '/sbin/init' started with pid '23893'
      lxc-start 1392475606.737 WARN     lxc_start - invalid pid for SIGCHLD
      lxc-start 1392475606.737 INFO     lxc_conf - running to reset 0 nic names
      lxc-start 1392475606.737 INFO     lxc_error - child <23893> ended on error (255)

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to