Skip to content

Instantly share code, notes, and snippets.

@nelsnelson
Created March 17, 2014 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nelsnelson/9601987 to your computer and use it in GitHub Desktop.
Save nelsnelson/9601987 to your computer and use it in GitHub Desktop.
Log output of lxc commands
$ cat /tmp/lxc.log
lxc-create 1392051349.564 WARN lxc_log - lxc_log_init called with log already initialized
lxc-create 1392051349.588 INFO lxc_create_ui - container test created
lxc-start 1392051366.650 INFO lxc_start_ui - using rcfile /var/lib/lxc/test/config
lxc-start 1392051366.650 WARN lxc_log - lxc_log_init called with log already initialized
lxc-start 1392051366.652 DEBUG lxc_cgroup - cgroup_init
lxc-start 1392051366.652 INFO lxc_cgroup - Initialized cgroup driver cgroupfs
lxc-start 1392051366.652 INFO lxc_lsm - LSM security driver SELinux
lxc-start 1392051366.653 DEBUG lxc_start - sigchild handler set
lxc-start 1392051366.653 DEBUG lxc_console - no console peer
lxc-start 1392051366.653 INFO lxc_start - 'test' is initialized
lxc-start 1392051366.655 INFO lxc_monitor - using monitor sock name lxc/ad055575fe28ddd5//var/lib/lxc
lxc-start 1392051366.657 DEBUG lxc_start - Not dropping cap_sys_boot or watching utmp
lxc-start 1392051366.657 INFO lxc_cgroup - cgroup driver cgroupfs initing for test
lxc-start 1392051366.688 INFO lxc_conf - 'test' hostname has been setup
lxc-start 1392051366.688 INFO lxc_conf - network has been setup
lxc-start 1392051366.689 DEBUG lxc_conf - mounted '/var/lib/lxc/test/rootfs' on '/usr/lib/lxc/rootfs'
lxc-start 1392051366.689 DEBUG lxc_conf - Set exec command to /sbin/init
lxc-start 1392051366.689 INFO lxc_conf - Autodev not required.
lxc-start 1392051366.689 DEBUG lxc_conf - remounting /dev on /usr/lib/lxc/rootfs/dev to respect bind or remount options
lxc-start 1392051366.689 DEBUG lxc_conf - mounted '/dev' on '/usr/lib/lxc/rootfs/dev', type 'none'
lxc-start 1392051366.689 DEBUG lxc_conf - remounting /lib on /usr/lib/lxc/rootfs/lib to respect bind or remount options
lxc-start 1392051366.689 DEBUG lxc_conf - mounted '/lib' on '/usr/lib/lxc/rootfs/lib', type 'none'
lxc-start 1392051366.689 DEBUG lxc_conf - remounting /bin on /usr/lib/lxc/rootfs/bin to respect bind or remount options
lxc-start 1392051366.689 DEBUG lxc_conf - mounted '/bin' on '/usr/lib/lxc/rootfs/bin', type 'none'
lxc-start 1392051366.689 DEBUG lxc_conf - remounting /usr on /usr/lib/lxc/rootfs/usr to respect bind or remount options
lxc-start 1392051366.689 DEBUG lxc_conf - mounted '/usr' on '/usr/lib/lxc/rootfs/usr', type 'none'
lxc-start 1392051366.689 DEBUG lxc_conf - remounting /sbin on /usr/lib/lxc/rootfs/sbin to respect bind or remount options
lxc-start 1392051366.689 DEBUG lxc_conf - mounted '/sbin' on '/usr/lib/lxc/rootfs/sbin', type 'none'
lxc-start 1392051366.689 DEBUG lxc_conf - remounting /usr/share/lxc/templates/lxc-minimal on /usr/lib/lxc/rootfs/sbin/init to respect bind or remount options
lxc-start 1392051366.689 DEBUG lxc_conf - mounted '/usr/share/lxc/templates/lxc-minimal' on '/usr/lib/lxc/rootfs/sbin/init', type 'none'
lxc-start 1392051366.689 DEBUG lxc_conf - mounted 'proc' on '/usr/lib/lxc/rootfs/proc', type 'proc'
lxc-start 1392051366.689 DEBUG lxc_conf - mounted 'sysfs' on '/usr/lib/lxc/rootfs/sys', type 'sysfs'
lxc-start 1392051366.689 DEBUG lxc_conf - remounting /etc/init.d on /usr/lib/lxc/rootfs/etc/init.d to respect bind or remount options
lxc-start 1392051366.689 DEBUG lxc_conf - mounted '/etc/init.d' on '/usr/lib/lxc/rootfs/etc/init.d', type 'none'
lxc-start 1392051366.690 DEBUG lxc_conf - remounting /lib64 on /usr/lib/lxc/rootfs/lib64 to respect bind or remount options
lxc-start 1392051366.690 DEBUG lxc_conf - mounted '/lib64' on '/usr/lib/lxc/rootfs/lib64', type 'none'
lxc-start 1392051366.690 INFO lxc_conf - mount points have been setup
lxc-start 1392051366.690 INFO lxc_conf - console has been setup
lxc-start 1392051366.690 INFO lxc_conf - 0 tty(s) has been setup
lxc-start 1392051366.690 INFO lxc_conf - I am 1, /proc/self points to '1'
lxc-start 1392051366.690 DEBUG lxc_conf - created '/usr/lib/lxc/rootfs/lxc_putold' directory
lxc-start 1392051366.690 DEBUG lxc_conf - mountpoint for old rootfs is '/usr/lib/lxc/rootfs/lxc_putold'
lxc-start 1392051366.690 DEBUG lxc_conf - pivot_root syscall to '/usr/lib/lxc/rootfs' successful
lxc-start 1392051366.690 DEBUG lxc_conf - umounted '/lxc_putold/dev/pts'
lxc-start 1392051366.690 DEBUG lxc_conf - umounted '/lxc_putold/dev/mqueue'
lxc-start 1392051366.690 DEBUG lxc_conf - umounted '/lxc_putold/run/lock'
lxc-start 1392051366.690 DEBUG lxc_conf - umounted '/lxc_putold/run/shm'
lxc-start 1392051366.690 DEBUG lxc_conf - umounted '/lxc_putold/sys/fs/selinux'
lxc-start 1392051366.690 DEBUG lxc_conf - umounted '/lxc_putold/sys/fs/cgroup'
lxc-start 1392051366.690 DEBUG lxc_conf - umounted '/lxc_putold/proc'
lxc-start 1392051366.690 DEBUG lxc_conf - umounted '/lxc_putold/var/lib/nfs/rpc_pipefs'
lxc-start 1392051366.690 DEBUG lxc_conf - umounted '/lxc_putold/dev'
lxc-start 1392051366.690 DEBUG lxc_conf - umounted '/lxc_putold/run'
lxc-start 1392051366.690 DEBUG lxc_conf - umounted '/lxc_putold/sys'
lxc-start 1392051366.690 DEBUG lxc_conf - umounted '/lxc_putold'
lxc-start 1392051366.690 INFO lxc_conf - created new pts instance
lxc-start 1392051366.690 DEBUG lxc_conf - drop capability 'sys_module' (16)
lxc-start 1392051366.690 DEBUG lxc_conf - drop capability 'mac_admin' (33)
lxc-start 1392051366.690 DEBUG lxc_conf - drop capability 'mac_override' (32)
lxc-start 1392051366.690 DEBUG lxc_conf - drop capability 'sys_time' (25)
lxc-start 1392051366.690 DEBUG lxc_conf - capabilities have been setup
lxc-start 1392051366.690 NOTICE lxc_conf - 'test' is setup.
lxc-start 1392051366.690 WARN lxc_start - inherited fd 4
lxc-start 1392051366.690 WARN lxc_start - inherited fd 6
lxc-start 1392051366.690 WARN lxc_start - inherited fd 7
lxc-start 1392051366.690 WARN lxc_start - inherited fd 8
lxc-start 1392051366.690 NOTICE lxc_start - exec'ing '/sbin/init'
lxc-start 1392051366.696 NOTICE lxc_start - '/sbin/init' started with pid '28097'
lxc-start 1392051366.696 WARN lxc_start - invalid pid for SIGCHLD
lxc-start 1392051366.696 DEBUG lxc_commands - peer has disconnected
lxc-start 1392051366.696 DEBUG lxc_commands - 'test' is in 'RUNNING' state
lxc-start 1392051366.696 DEBUG lxc_commands - peer has disconnected
lxc-start 1392051366.756 DEBUG lxc_start - container init process exited
lxc-start 1392051366.756 INFO lxc_conf - running to reset 0 nic names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment