[lxc-users] Unable to launch a LXC container
Muneeb Ahmad
muneeb.gandapur at gmail.com
Thu Apr 21 10:37:18 UTC 2016
I'm not getting this lxc.mount.hook problem anymore. Maybe because I
restart the lxcfs. There are a little different errors this time and fewer
ones. It has something like 'Error loading the seccomp policy'. And there
are some permissions related errors above.
The log look like this now, I'm highlighting the errors part:
Name: t7
Architecture: armv7l
Created: 2016/04/21 10:15 UTC
Status: Stopped
Type: persistent
Profiles: default
Log:
lxc 20160421151526.802 INFO lxc_confile -
confile.c:config_idmap:1498 - read uid map: type u nsid 0 hostid 231072
range 65536
lxc 20160421151526.803 INFO lxc_confile -
confile.c:config_idmap:1498 - read uid map: type g nsid 0 hostid 231072
range 65536
lxc 20160421151846.029 INFO lxc_confile -
confile.c:config_idmap:1498 - read uid map: type u nsid 0 hostid 231072
range 65536
lxc 20160421151846.030 INFO lxc_confile -
confile.c:config_idmap:1498 - read uid map: type g nsid 0 hostid 231072
range 65536
lxc 20160421151846.191 INFO lxc_start -
start.c:lxc_check_inherited:251 - closed inherited fd 3
lxc 20160421151846.191 INFO lxc_start -
start.c:lxc_check_inherited:251 - closed inherited fd 8
lxc 20160421151846.208 INFO lxc_container -
lxccontainer.c:do_lxcapi_start:797 - Attempting to set proc title to [lxc
monitor] /var/lib/lxd/containers t7
lxc 20160421151846.211 INFO lxc_start -
start.c:lxc_check_inherited:251 - closed inherited fd 8
lxc 20160421151846.212 INFO lxc_lsm - lsm/lsm.c:lsm_init:48
- LSM security driver nop
lxc 20160421151846.215 INFO lxc_seccomp -
seccomp.c:parse_config_v2:342 - processing: .reject_force_umount # comment
this to allow umount -f; not recommended.
lxc 20160421151846.215 INFO lxc_seccomp -
seccomp.c:parse_config_v2:436 - Adding native rule for reject_force_umount
action 0
lxc 20160421151846.215 INFO lxc_seccomp -
seccomp.c:do_resolve_add_rule:216 - Setting seccomp rule to reject force
umounts
lxc 20160421151846.215 INFO lxc_seccomp -
seccomp.c:parse_config_v2:342 - processing: .[all].
lxc 20160421151846.216 INFO lxc_seccomp -
seccomp.c:parse_config_v2:342 - processing: .kexec_load errno 1.
lxc 20160421151846.216 INFO lxc_seccomp -
seccomp.c:parse_config_v2:436 - Adding native rule for kexec_load action
327681
lxc 20160421151846.216 INFO lxc_seccomp -
seccomp.c:parse_config_v2:342 - processing: .open_by_handle_at errno 1.
lxc 20160421151846.216 INFO lxc_seccomp -
seccomp.c:parse_config_v2:436 - Adding native rule for open_by_handle_at
action 327681
lxc 20160421151846.216 INFO lxc_seccomp -
seccomp.c:parse_config_v2:342 - processing: .init_module errno 1.
lxc 20160421151846.216 INFO lxc_seccomp -
seccomp.c:parse_config_v2:436 - Adding native rule for init_module action
327681
lxc 20160421151846.216 INFO lxc_seccomp -
seccomp.c:parse_config_v2:342 - processing: .finit_module errno 1.
lxc 20160421151846.216 INFO lxc_seccomp -
seccomp.c:parse_config_v2:436 - Adding native rule for finit_module action
327681
lxc 20160421151846.217 INFO lxc_seccomp -
seccomp.c:parse_config_v2:342 - processing: .delete_module errno 1.
lxc 20160421151846.217 INFO lxc_seccomp -
seccomp.c:parse_config_v2:436 - Adding native rule for delete_module action
327681
lxc 20160421151846.217 INFO lxc_conf -
conf.c:run_script_argv:367 - Executing script '/usr/bin/lxd callhook
/var/lib/lxd 18 start' for container 't7', config section 'lxc'
lxc 20160421151846.217 INFO lxc_start -
start.c:lxc_check_inherited:251 - closed inherited fd 3
lxc 20160421151846.218 INFO lxc_start -
start.c:lxc_check_inherited:251 - closed inherited fd 8
lxc 20160421151846.246 INFO lxc_monitor -
monitor.c:lxc_monitor_sock_name:178 - using monitor sock name
lxc/d78a9d7e97b4b375//var/lib/lxd/containers
lxc 20160421151846.605 DEBUG lxc_start -
start.c:setup_signal_fd:289 - sigchild handler set
lxc 20160421151846.609 DEBUG lxc_console -
console.c:lxc_console_peer_default:473 - no console peer
lxc 20160421151846.610 INFO lxc_start -
start.c:lxc_init:488 - 't7' is initialized
lxc 20160421151846.613 DEBUG lxc_start -
start.c:__lxc_start:1302 - Not dropping cap_sys_boot or watching utmp
lxc 20160421151846.613 INFO lxc_start -
start.c:resolve_clone_flags:999 - Cloning a new user namespace
lxc 20160421151846.644 DEBUG lxc_conf -
conf.c:instantiate_veth:2613 - instantiated veth 'vethGRAE0B/vethCQVHU6',
index is '13'
lxc 20160421151846.644 INFO lxc_cgroup -
cgroup.c:cgroup_init:68 - cgroup driver cgroupfs-ng initing for t7
lxc 20160421151846.837 DEBUG lxc_conf -
conf.c:lxc_assign_network:3047 - move 'eth0' to '2913'
lxc 20160421151846.884 NOTICE lxc_start -
start.c:do_start:763 - switching to gid/uid 0/0 in new user namespace
lxc 20160421151846.886 DEBUG lxc_conf -
conf.c:setup_rootfs:1215 - mounted '/var/lib/lxd/containers/t7/rootfs' on
'/usr/lib/arm-linux-gnueabihf/lxc'
lxc 20160421151846.886 INFO lxc_conf -
conf.c:setup_utsname:843 - 't7' hostname has been setup
lxc 20160421151846.931 DEBUG lxc_conf -
conf.c:setup_hw_addr:2144 - mac address '00:16:3e:06:a4:8d' on 'eth0' has
been setup
lxc 20160421151846.932 DEBUG lxc_conf -
conf.c:setup_netdev:2371 - 'eth0' has been setup
lxc 20160421151846.932 INFO lxc_conf -
conf.c:setup_network:2392 - network has been setup
lxc 20160421151846.933 INFO lxc_conf -
conf.c:mount_autodev:1072 - Mounting container /dev
lxc 20160421151846.933 INFO lxc_conf -
conf.c:mount_autodev:1095 - Mounted tmpfs onto
/usr/lib/arm-linux-gnueabihf/lxc/dev
lxc 20160421151846.933 INFO lxc_conf -
conf.c:mount_autodev:1113 - Mounted container /dev
lxc 20160421151846.935 DEBUG lxc_conf -
conf.c:mount_entry:1657 - remounting /proc/sys/fs/binfmt_misc on
/usr/lib/arm-linux-gnueabihf/lxc/proc/sys/fs/binfmt_misc to respect bind or
remount options
lxc 20160421151846.935 DEBUG lxc_conf -
conf.c:mount_entry:1672 - (at remount) flags for /proc/sys/fs/binfmt_misc
was 4096, required extra flags are 0
lxc 20160421151846.935 DEBUG lxc_conf -
conf.c:mount_entry:1681 - mountflags already was 20480, skipping remount
lxc 20160421151846.936 DEBUG lxc_conf -
conf.c:mount_entry:1707 - mounted '/proc/sys/fs/binfmt_misc' on
'/usr/lib/arm-linux-gnueabihf/lxc/proc/sys/fs/binfmt_misc', type 'none'
lxc 20160421151846.936 ERROR lxc_utils - utils.c:mkdir_p:253
- Permission denied - failed to create directory
'/usr/lib/arm-linux-gnueabihf/lxc/sys/firmware/efi/'
lxc 20160421151846.936 WARN lxc_conf -
conf.c:mount_entry_create_dir_file:1755 - Failed to create mount target
'/usr/lib/arm-linux-gnueabihf/lxc/sys/firmware/efi/efivars'
lxc 20160421151846.936 DEBUG lxc_conf -
conf.c:mount_entry:1657 - remounting /sys/fs/fuse/connections on
/usr/lib/arm-linux-gnueabihf/lxc/sys/fs/fuse/connections to respect bind or
remount options
lxc 20160421151846.936 DEBUG lxc_conf -
conf.c:mount_entry:1672 - (at remount) flags for /sys/fs/fuse/connections
was 4096, required extra flags are 0
lxc 20160421151846.936 DEBUG lxc_conf -
conf.c:mount_entry:1681 - mountflags already was 20480, skipping remount
lxc 20160421151846.937 DEBUG lxc_conf -
conf.c:mount_entry:1707 - mounted '/sys/fs/fuse/connections' on
'/usr/lib/arm-linux-gnueabihf/lxc/sys/fs/fuse/connections', type 'none'
lxc 20160421151846.937 ERROR lxc_utils - utils.c:mkdir_p:253
- Permission denied - failed to create directory
'/usr/lib/arm-linux-gnueabihf/lxc/sys/fs/pstore'
lxc 20160421151846.937 WARN lxc_conf -
conf.c:mount_entry_create_dir_file:1755 - Failed to create mount target
'/usr/lib/arm-linux-gnueabihf/lxc/sys/fs/pstore'
lxc 20160421151846.937 DEBUG lxc_conf -
conf.c:mount_entry:1657 - remounting /sys/kernel/debug on
/usr/lib/arm-linux-gnueabihf/lxc/sys/kernel/debug to respect bind or
remount options
lxc 20160421151846.937 DEBUG lxc_conf -
conf.c:mount_entry:1672 - (at remount) flags for /sys/kernel/debug was 4096,
required extra flags are 0
lxc 20160421151846.937 DEBUG lxc_conf -
conf.c:mount_entry:1681 - mountflags already was 20480, skipping remount
lxc 20160421151846.938 DEBUG lxc_conf -
conf.c:mount_entry:1707 - mounted '/sys/kernel/debug' on
'/usr/lib/arm-linux-gnueabihf/lxc/sys/kernel/debug', type 'none'
lxc 20160421151846.938 ERROR lxc_utils - utils.c:mkdir_p:253
- Permission denied - failed to create directory
'/usr/lib/arm-linux-gnueabihf/lxc/sys/kernel/security'
lxc 20160421151846.938 WARN lxc_conf -
conf.c:mount_entry_create_dir_file:1755 - Failed to create mount target
'/usr/lib/arm-linux-gnueabihf/lxc/sys/kernel/security'
lxc 20160421151846.938 DEBUG lxc_conf -
conf.c:mount_entry:1657 - remounting /dev/mqueue on
/usr/lib/arm-linux-gnueabihf/lxc/dev/mqueue to respect bind or remount
options
lxc 20160421151846.938 DEBUG lxc_conf -
conf.c:mount_entry:1672 - (at remount) flags for /dev/mqueue was 4096,
required extra flags are 0
lxc 20160421151846.938 DEBUG lxc_conf -
conf.c:mount_entry:1681 - mountflags already was 20480, skipping remount
lxc 20160421151846.938 DEBUG lxc_conf -
conf.c:mount_entry:1707 - mounted '/dev/mqueue' on
'/usr/lib/arm-linux-gnueabihf/lxc/dev/mqueue', type 'none'
lxc 20160421151846.939 DEBUG lxc_conf -
conf.c:mount_entry:1657 - remounting /var/lib/lxd/devlxd on
/usr/lib/arm-linux-gnueabihf/lxc/dev/lxd to respect bind or remount options
lxc 20160421151846.939 DEBUG lxc_conf -
conf.c:mount_entry:1672 - (at remount) flags for /var/lib/lxd/devlxd was
1024, required extra flags are 0
lxc 20160421151846.939 DEBUG lxc_conf -
conf.c:mount_entry:1681 - mountflags already was 4096, skipping remount
lxc 20160421151846.939 DEBUG lxc_conf -
conf.c:mount_entry:1707 - mounted '/var/lib/lxd/devlxd' on
'/usr/lib/arm-linux-gnueabihf/lxc/dev/lxd', type 'none'
lxc 20160421151846.939 DEBUG lxc_conf -
conf.c:mount_entry:1657 - remounting /var/lib/lxd/shmounts/t7 on
/usr/lib/arm-linux-gnueabihf/lxc/dev/.lxd-mounts to respect bind or remount
options
lxc 20160421151846.939 DEBUG lxc_conf -
conf.c:mount_entry:1672 - (at remount) flags for /var/lib/lxd/shmounts/t7
was 1024, required extra flags are 0
lxc 20160421151846.940 DEBUG lxc_conf -
conf.c:mount_entry:1681 - mountflags already was 4096, skipping remount
lxc 20160421151846.940 DEBUG lxc_conf -
conf.c:mount_entry:1707 - mounted '/var/lib/lxd/shmounts/t7' on
'/usr/lib/arm-linux-gnueabihf/lxc/dev/.lxd-mounts', type 'none'
lxc 20160421151846.940 INFO lxc_conf -
conf.c:mount_file_entries:1926 - mount points have been setup
lxc 20160421151846.941 INFO lxc_conf -
conf.c:run_script_argv:367 - Executing script
'/usr/share/lxcfs/lxc.mount.hook' for container 't7', config section 'lxc'
lxc 20160421151847.131 INFO lxc_conf -
conf.c:fill_autodev:1141 - Creating initial consoles under container /dev
lxc 20160421151847.131 INFO lxc_conf -
conf.c:fill_autodev:1152 - Populating container /dev
lxc 20160421151847.132 INFO lxc_conf -
conf.c:fill_autodev:1189 - Populated container /dev
lxc 20160421151847.133 INFO lxc_conf -
conf.c:setup_dev_console:1437 - console has been setup
lxc 20160421151847.133 INFO lxc_utils -
utils.c:mount_proc_if_needed:1726 - I am 1, /proc/self points to '1'
lxc 20160421101847.170 DEBUG lxc_conf -
conf.c:setup_rootfs_pivot_root:1050 - pivot_root syscall to
'/usr/lib/arm-linux-gnueabihf/lxc' successful
lxc 20160421101847.172 INFO lxc_conf - conf.c:setup_tty:995
- 0 tty(s) has been setup
lxc 20160421101847.172 INFO lxc_conf -
conf.c:setup_personality:1393 - set personality to '0x8'
lxc 20160421101847.172 DEBUG lxc_conf -
conf.c:setup_caps:2055 - drop capability 'mac_admin' (33)
lxc 20160421101847.172 DEBUG lxc_conf -
conf.c:setup_caps:2055 - drop capability 'mac_override' (32)
lxc 20160421101847.172 DEBUG lxc_conf -
conf.c:setup_caps:2055 - drop capability 'sys_time' (25)
lxc 20160421101847.172 DEBUG lxc_conf -
conf.c:setup_caps:2055 - drop capability 'sys_module' (16)
lxc 20160421101847.172 DEBUG lxc_conf -
conf.c:setup_caps:2055 - drop capability 'sys_rawio' (17)
lxc 20160421101847.172 DEBUG lxc_conf -
conf.c:setup_caps:2064 - capabilities have been setup
lxc 20160421101847.172 NOTICE lxc_conf -
conf.c:lxc_setup:3838 - 't7' is setup.
lxc 20160421101847.173 ERROR lxc_seccomp -
seccomp.c:lxc_seccomp_load:615 - Error loading the seccomp policy
lxc 20160421151847.174 ERROR lxc_sync -
sync.c:__sync_wait:52 - An error occurred in another process (expected
sequence number 4)
lxc 20160421151847.174 ERROR lxc_start -
start.c:__lxc_start:1329 - failed to spawn 't7'
lxc 20160421151847.174 INFO lxc_conf -
conf.c:run_script_argv:367 - Executing script
'/usr/share/lxcfs/lxc.reboot.hook' for container 't7', config section 'lxc'
lxc 20160421151847.688 INFO lxc_conf -
conf.c:run_script_argv:367 - Executing script '/usr/bin/lxd callhook
/var/lib/lxd 18 stop' for container 't7', config section 'lxc'
lxc 20160421151847.814 WARN lxc_commands -
commands.c:lxc_cmd_rsp_recv:172 - command get_cgroup failed to receive
response
lxc 20160421151914.895 INFO lxc_confile -
confile.c:config_idmap:1498 - read uid map: type u nsid 0 hostid 231072
range 65536
lxc 20160421151914.896 INFO lxc_confile -
confile.c:config_idmap:1498 - read uid map: type g nsid 0 hostid 231072
range 65536
lxc 20160421151914.952 INFO lxc_confile -
confile.c:config_idmap:1498 - read uid map: type u nsid 0 hostid 231072
range 65536
lxc 20160421151914.953 INFO lxc_confile -
confile.c:config_idmap:1498 - read uid map: type g nsid 0 hostid 231072
range 65536
lxc 20160421152853.688 INFO lxc_confile -
confile.c:config_idmap:1498 - read uid map: type u nsid 0 hostid 231072
range 65536
lxc 20160421152853.688 INFO lxc_confile -
confile.c:config_idmap:1498 - read uid map: type g nsid 0 hostid 231072
range 65536
lxc 20160421152853.742 INFO lxc_confile -
confile.c:config_idmap:1498 - read uid map: type u nsid 0 hostid 231072
range 65536
lxc 20160421152853.742 INFO lxc_confile -
confile.c:config_idmap:1498 - read uid map: type g nsid 0 hostid 231072
range 65536
On Thu, Apr 21, 2016 at 2:16 AM, Serge Hallyn <serge.hallyn at ubuntu.com>
wrote:
> Hi,
>
> edit that script to do 'set -x', so that we can see what the script
> is doing in the container debug log.
>
> Quoting Muneeb Ahmad (muneeb.gandapur at gmail.com):
> > lxcfs=2.0.0
> > lxc=2.0.0.rc9
> > And the contents of lxc.mount.hook are;
> >
> > #!/bin/sh -e
> >
> >
> > # We're dealing with mount entries, so expand any symlink
> >
> > LXC_ROOTFS_MOUNT=$(readlink -f *${LXC_ROOTFS_MOUNT}*)
> >
> >
> > # /proc files
> >
> > if [ -d /var/lib/lxcfs/proc/ ]; then
> >
> > for entry in /var/lib/lxcfs/proc/*; do
> >
> > [ -e *"${LXC_ROOTFS_MOUNT}/proc/$(basename $entry)"* ] ||
> continue
> >
> > mount -n --bind *$entry* *${LXC_ROOTFS_MOUNT}*/proc/$(basename
> > *$entry*)
> >
> > done
> >
> > fi
> >
> >
> >
> > # Allow nesting lxcfs
> >
> > if [ -d *${LXC_ROOTFS_MOUNT}*/var/lib/lxcfs/ ]; then
> >
> > mount -n --bind /var/lib/lxcfs *${LXC_ROOTFS_MOUNT}*/var/lib/lxcfs/
> >
> > fi
> >
> >
> > # no need for lxcfs cgroups if we have cgroup namespaces
> >
> > [ -n *"$LXC_CGNS_AWARE"* ] && [ -f /proc/self/ns/cgroup ] && exit 0
> >
> >
> > # Don*'t mess with containers that don'*t have /sys/fs/cgroup configured
> >
> > # (lxc.mount.auto = cgroup:mixed)
> >
> > if *touch* *${LXC_ROOTFS_MOUNT}*/sys/fs/cgroup/lxcfs; then
> >
> > *rm* *${LXC_ROOTFS_MOUNT}*/sys/fs/cgroup/lxcfs
> >
> > else
> >
> > exit 0
> >
> > fi
> >
> >
> > # /sys/fs/cgroup files
> >
> > if [ -d *"${LXC_ROOTFS_MOUNT}/sys/fs/cgroup"* ]; then
> >
> > if [ -d /var/lib/lxcfs/cgroup ]; then
> >
> > # Cleanup existing mounts
> >
> > for entry in *${LXC_ROOTFS_MOUNT}*/sys/fs/cgroup/*; do
> >
> > DEST=$(basename *$entry*)
> >
> >
> > if [ *"${DEST}"* = *"cgmanager"* ]; then
> >
> > continue
> >
> > fi
> >
> >
> > if [ ! -d *"${LXC_ROOTFS_MOUNT}/sys/fs/cgroup/${DEST}"* ];
> then
> >
> > continue
> >
> > fi
> >
> >
> > while *grep* -q *"${LXC_ROOTFS_MOUNT}/sys/fs/cgroup/${DEST}"*
> > /proc/self/mountinfo; do
> >
> > *grep* *"${LXC_ROOTFS_MOUNT}/sys/fs/cgroup/${DEST}"*
> > /proc/self/mountinfo | cut -d*' '* -f5 | while read line; do
> >
> > [ -e *"${line}"* ] && umount -l *"${line}"* || true
> >
> > done
> >
> > done
> >
> >
> > *rm* -Rf *${LXC_ROOTFS_MOUNT}*/sys/fs/cgroup/*${DEST}*
> >
> > done
> >
> >
> > # Mount the new entries
> >
> > for entry in /var/lib/lxcfs/cgroup/*; do
> >
> > DEST=$(basename *$entry*)
> >
> > if [ *"$DEST"* = *"name=systemd"* ]; then
> >
> > DEST=*"systemd"*
> >
> > fi
> >
> >
> > if [ ! -d *${LXC_ROOTFS_MOUNT}*/sys/fs/cgroup/*${DEST}* ];
> then
> >
> > *mkdir* *${LXC_ROOTFS_MOUNT}*/sys/fs/cgroup/*${DEST}*
> >
> > fi
> >
> >
> > mount -n --bind *$entry* *${LXC_ROOTFS_MOUNT}*/sys/fs/cgroup/
> > *$DEST*
> >
> >
> > # make sure that cpu,cpuacct shows up as cpu and cpuacct
> >
> > # separately, else systemd is unhappy
> >
> > if *echo* *$DEST* | *grep* -q *","*; then
> >
> > arr=$(*echo* *$DEST* | tr *","* *"\n"*)
> >
> > for single in *$arr*
> >
> > do
> >
> > if [ ! -L
> *${LXC_ROOTFS_MOUNT}*/sys/fs/cgroup/*$single*
> > ]; then
> >
> > *ln* -s *$DEST*
> *${LXC_ROOTFS_MOUNT}*/sys/fs/cgroup/
> > *$single*
> >
> > fi
> >
> > done
> >
> > fi
> >
> > done
> >
> > fi
> >
> > fi
> >
> >
> > exit 0
> >
> >
> >
> > On Sat, Apr 16, 2016 at 12:33 AM, Serge Hallyn <serge.hallyn at ubuntu.com>
> > wrote:
> >
> > > /usr/share/lxcfs/lxc.mount.hook failed. Can you please who us its
> > > contents? What are your versions of lxc and lxcfs?
> > >
> > > Quoting Muneeb Ahmad (muneeb.gandapur at gmail.com):
> > > > I updated the kernel for user namespaces and everything is enabled
> when I
> > > > run "lxc-checkconfig". But I encountered the same error when I tried
> to
> > > run
> > > > a container. Container log shows different errors now:
> > > >
> > > > Name: ubuntu-test
> > > >
> > > > Architecture: armv7l
> > > >
> > > > Created: 2016/04/10 21:41 UTC
> > > >
> > > > Status: Stopped
> > > >
> > > > Type: persistent
> > > >
> > > > Profiles: default
> > > >
> > > >
> > > > Log:
> > > >
> > > >
> > > > lxc 20160410214156.082 INFO lxc_confile -
> > > > confile.c:config_idmap:1498 - read uid map: type u nsid 0 hostid
> 165536
> > > > range 65536
> > > >
> > > > lxc 20160410214156.082 INFO lxc_confile -
> > > > confile.c:config_idmap:1498 - read uid map: type g nsid 0 hostid
> 165536
> > > > range 65536
> > > >
> > > > lxc 20160410214401.643 INFO lxc_confile -
> > > > confile.c:config_idmap:1498 - read uid map: type u nsid 0 hostid
> 165536
> > > > range 65536
> > > >
> > > > lxc 20160410214401.643 INFO lxc_confile -
> > > > confile.c:config_idmap:1498 - read uid map: type g nsid 0 hostid
> 165536
> > > > range 65536
> > > >
> > > > lxc 20160410214401.815 INFO lxc_start -
> > > > start.c:lxc_check_inherited:251 - closed inherited fd 3
> > > >
> > > > lxc 20160410214401.816 INFO lxc_start -
> > > > start.c:lxc_check_inherited:251 - closed inherited fd 8
> > > >
> > > > lxc 20160410214401.833 INFO lxc_container -
> > > > lxccontainer.c:do_lxcapi_start:797 - Attempting to set proc title to
> [lxc
> > > > monitor] /var/lib/lxd/containers ubuntu-test
> > > >
> > > > lxc 20160410214401.836 INFO lxc_start -
> > > > start.c:lxc_check_inherited:251 - closed inherited fd 8
> > > >
> > > > lxc 20160410214401.837 INFO lxc_lsm -
> > > lsm/lsm.c:lsm_init:48
> > > > - LSM security driver nop
> > > >
> > > > lxc 20160410214401.840 INFO lxc_seccomp -
> > > > seccomp.c:parse_config_v2:342 - processing: .reject_force_umount #
> > > comment
> > > > this to allow umount -f; not recommended.
> > > >
> > > > lxc 20160410214401.840 INFO lxc_seccomp -
> > > > seccomp.c:parse_config_v2:436 - Adding native rule for
> > > reject_force_umount
> > > > action 0
> > > >
> > > > lxc 20160410214401.840 INFO lxc_seccomp -
> > > > seccomp.c:do_resolve_add_rule:216 - Setting seccomp rule to reject
> force
> > > > umounts
> > > >
> > > >
> > > > lxc 20160410214401.840 INFO lxc_seccomp -
> > > > seccomp.c:parse_config_v2:342 - processing: .[all].
> > > >
> > > > lxc 20160410214401.840 INFO lxc_seccomp -
> > > > seccomp.c:parse_config_v2:342 - processing: .kexec_load errno 1.
> > > >
> > > > lxc 20160410214401.841 INFO lxc_seccomp -
> > > > seccomp.c:parse_config_v2:436 - Adding native rule for kexec_load
> action
> > > > 327681
> > > >
> > > > lxc 20160410214401.841 INFO lxc_seccomp -
> > > > seccomp.c:parse_config_v2:342 - processing: .open_by_handle_at errno
> 1.
> > > >
> > > > lxc 20160410214401.841 INFO lxc_seccomp -
> > > > seccomp.c:parse_config_v2:436 - Adding native rule for
> open_by_handle_at
> > > > action 327681
> > > >
> > > > lxc 20160410214401.841 INFO lxc_seccomp -
> > > > seccomp.c:parse_config_v2:342 - processing: .init_module errno 1.
> > > >
> > > > lxc 20160410214401.841 INFO lxc_seccomp -
> > > > seccomp.c:parse_config_v2:436 - Adding native rule for init_module
> action
> > > > 327681
> > > >
> > > > lxc 20160410214401.841 INFO lxc_seccomp -
> > > > seccomp.c:parse_config_v2:342 - processing: .finit_module errno 1.
> > > >
> > > > lxc 20160410214401.841 INFO lxc_seccomp -
> > > > seccomp.c:parse_config_v2:436 - Adding native rule for finit_module
> > > action
> > > > 327681
> > > >
> > > > lxc 20160410214401.841 INFO lxc_seccomp -
> > > > seccomp.c:parse_config_v2:342 - processing: .delete_module errno 1.
> > > >
> > > > lxc 20160410214401.842 INFO lxc_seccomp -
> > > > seccomp.c:parse_config_v2:436 - Adding native rule for delete_module
> > > action
> > > > 327681
> > > >
> > > > lxc 20160410214401.841 INFO lxc_start -
> > > > start.c:lxc_check_inherited:251 - closed inherited fd 3
> > > >
> > > > lxc 20160410214401.842 INFO lxc_conf -
> > > > conf.c:run_script_argv:367 - Executing script '/usr/bin/lxd callhook
> > > > /var/lib/lxd 2 start' for container 'ubuntu-test', config section
> 'lxc'
> > > >
> > > > lxc 20160410214401.842 INFO lxc_start -
> > > > start.c:lxc_check_inherited:251 - closed inherited fd 8
> > > >
> > > > lxc 20160410214401.858 INFO lxc_monitor -
> > > > monitor.c:lxc_monitor_sock_name:178 - using monitor sock name
> > > > lxc/d78a9d7e97b4b375//var/lib/lxd/containers
> > > >
> > > > lxc 20160410214402.096 DEBUG lxc_start -
> > > > start.c:setup_signal_fd:289 - sigchild handler set
> > > >
> > > > lxc 20160410214402.099 DEBUG lxc_console -
> > > > console.c:lxc_console_peer_default:473 - no console peer
> > > >
> > > > lxc 20160410214402.099 INFO lxc_start -
> > > > start.c:lxc_init:488 - 'ubuntu-test' is initialized
> > > >
> > > > lxc 20160410214402.102 DEBUG lxc_start -
> > > > start.c:__lxc_start:1302 - Not dropping cap_sys_boot or watching utmp
> > > >
> > > > lxc 20160410214402.102 INFO lxc_start -
> > > > start.c:resolve_clone_flags:999 - Cloning a new user namespace
> > > >
> > > > lxc 20160410214402.112 DEBUG lxc_conf -
> > > > conf.c:instantiate_veth:2613 - instantiated veth
> 'vethAMHI20/vethM7FMG6',
> > > > index is '7'
> > > >
> > > > lxc 20160410214402.113 INFO lxc_cgroup -
> > > > cgroup.c:cgroup_init:68 - cgroup driver cgroupfs-ng initing for
> > > ubuntu-test
> > > >
> > > > lxc 20160410214402.129 INFO lxc_confile -
> > > > confile.c:config_idmap:1498 - read uid map: type u nsid 0 hostid
> 165536
> > > > range 65536
> > > >
> > > > lxc 20160410214402.129 INFO lxc_confile -
> > > > confile.c:config_idmap:1498 - read uid map: type g nsid 0 hostid
> 165536
> > > > range 65536
> > > >
> > > > lxc 20160410214402.206 DEBUG lxc_conf -
> > > > conf.c:lxc_assign_network:3047 - move 'eth0' to '1465'
> > > >
> > > > lxc 20160410214402.241 NOTICE lxc_start -
> > > > start.c:do_start:763 - switching to gid/uid 0/0 in new user namespace
> > > >
> > > > lxc 20160410214402.243 DEBUG lxc_conf -
> > > > conf.c:setup_rootfs:1215 - mounted
> > > > '/var/lib/lxd/containers/ubuntu-test/rootfs' on
> > > > '/usr/lib/arm-linux-gnueabihf/lxc'
> > > >
> > > > lxc 20160410214402.243 INFO lxc_conf -
> > > > conf.c:setup_utsname:843 - 'ubuntu-test' hostname has been setup
> > > >
> > > > lxc 20160410214402.276 DEBUG lxc_conf -
> > > > conf.c:setup_hw_addr:2144 - mac address '00:16:3e:f1:c3:05' on
> 'eth0' has
> > > > been setup
> > > >
> > > > lxc 20160410214402.277 DEBUG lxc_conf -
> > > > conf.c:setup_netdev:2371 - 'eth0' has been setup
> > > >
> > > > lxc 20160410214402.277 INFO lxc_conf -
> > > > conf.c:setup_network:2392 - network has been setup
> > > >
> > > > lxc 20160410214402.277 INFO lxc_conf -
> > > > conf.c:mount_autodev:1072 - Mounting container /dev
> > > >
> > > > lxc 20160410214402.278 INFO lxc_conf -
> > > > conf.c:mount_autodev:1095 - Mounted tmpfs onto
> > > > /usr/lib/arm-linux-gnueabihf/lxc/dev
> > > >
> > > > lxc 20160410214402.279 INFO lxc_conf -
> > > > conf.c:mount_autodev:1113 - Mounted container /dev
> > > >
> > > > lxc 20160410214402.280 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1657 - remounting /proc/sys/fs/binfmt_misc on
> > > > /usr/lib/arm-linux-gnueabihf/lxc/proc/sys/fs/binfmt_misc to respect
> bind
> > > or
> > > > remount options
> > > >
> > > > lxc 20160410214402.280 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1672 - (at remount) flags for
> /proc/sys/fs/binfmt_misc
> > > > was 4096, required extra flags are 0
> > > >
> > > > lxc 20160410214402.280 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1681 - mountflags already was 20480, skipping
> remount
> > > >
> > > > lxc 20160410214402.280 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1707 - mounted '/proc/sys/fs/binfmt_misc' on
> > > > '/usr/lib/arm-linux-gnueabihf/lxc/proc/sys/fs/binfmt_misc', type
> 'none'
> > > >
> > > > lxc 20160410214402.281 ERROR lxc_utils -
> > > utils.c:mkdir_p:253
> > > > - Permission denied - failed to create directory
> > > > '/usr/lib/arm-linux-gnueabihf/lxc/sys/firmware/efi/'
> > > >
> > > > lxc 20160410214402.281 WARN lxc_conf -
> > > > conf.c:mount_entry_create_dir_file:1755 - Failed to create mount
> target
> > > > '/usr/lib/arm-linux-gnueabihf/lxc/sys/firmware/efi/efivars'
> > > >
> > > > lxc 20160410214402.281 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1657 - remounting /sys/fs/fuse/connections on
> > > > /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/fuse/connections to respect
> bind
> > > or
> > > > remount options
> > > >
> > > > lxc 20160410214402.281 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1672 - (at remount) flags for
> /sys/fs/fuse/connections
> > > > was 4096, required extra flags are 0
> > > >
> > > > lxc 20160410214402.281 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1681 - mountflags already was 20480, skipping
> remount
> > > >
> > > > lxc 20160410214402.281 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1707 - mounted '/sys/fs/fuse/connections' on
> > > > '/usr/lib/arm-linux-gnueabihf/lxc/sys/fs/fuse/connections', type
> 'none'
> > > >
> > > > lxc 20160410214402.281 ERROR lxc_utils -
> > > utils.c:mkdir_p:253
> > > > - Permission denied - failed to create directory
> > > > '/usr/lib/arm-linux-gnueabihf/lxc/sys/fs/pstore'
> > > >
> > > > lxc 20160410214402.281 WARN lxc_conf -
> > > > conf.c:mount_entry_create_dir_file:1755 - Failed to create mount
> target
> > > > '/usr/lib/arm-linux-gnueabihf/lxc/sys/fs/pstore'
> > > >
> > > > lxc 20160410214402.282 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1657 - remounting /sys/kernel/debug on
> > > > /usr/lib/arm-linux-gnueabihf/lxc/sys/kernel/debug to respect bind or
> > > > remount options
> > > >
> > > > lxc 20160410214402.282 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1672 - (at remount) flags for /sys/kernel/debug
> was
> > > > 4096, required extra flags are 0
> > > >
> > > > lxc 20160410214402.282 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1681 - mountflags already was 20480, skipping
> remount
> > > >
> > > > lxc 20160410214402.282 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1707 - mounted '/sys/kernel/debug' on
> > > > '/usr/lib/arm-linux-gnueabihf/lxc/sys/kernel/debug', type 'none'
> > > >
> > > > lxc 20160410214402.282 ERROR lxc_utils -
> > > utils.c:mkdir_p:253
> > > > - Permission denied - failed to create directory
> > > > '/usr/lib/arm-linux-gnueabihf/lxc/sys/kernel/security'
> > > >
> > > > lxc 20160410214402.282 WARN lxc_conf -
> > > > conf.c:mount_entry_create_dir_file:1755 - Failed to create mount
> target
> > > > '/usr/lib/arm-linux-gnueabihf/lxc/sys/kernel/security'
> > > >
> > > > lxc 20160410214402.283 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1657 - remounting /dev/mqueue on
> > > > /usr/lib/arm-linux-gnueabihf/lxc/dev/mqueue to respect bind or
> remount
> > > > options
> > > >
> > > > lxc 20160410214402.283 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1672 - (at remount) flags for /dev/mqueue was
> 4096,
> > > > required extra flags are 0
> > > >
> > > > lxc 20160410214402.283 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1681 - mountflags already was 20480, skipping
> remount
> > > >
> > > > lxc 20160410214402.283 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1707 - mounted '/dev/mqueue' on
> > > > '/usr/lib/arm-linux-gnueabihf/lxc/dev/mqueue', type 'none'
> > > >
> > > > lxc 20160410214402.283 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1657 - remounting /var/lib/lxd/devlxd on
> > > > /usr/lib/arm-linux-gnueabihf/lxc/dev/lxd to respect bind or remount
> > > options
> > > >
> > > > lxc 20160410214402.283 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1672 - (at remount) flags for /var/lib/lxd/devlxd
> was
> > > > 1024, required extra flags are 0
> > > >
> > > > lxc 20160410214402.283 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1681 - mountflags already was 4096, skipping
> remount
> > > >
> > > > lxc 20160410214402.283 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1707 - mounted '/var/lib/lxd/devlxd' on
> > > > '/usr/lib/arm-linux-gnueabihf/lxc/dev/lxd', type 'none'
> > > >
> > > > lxc 20160410214402.284 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1657 - remounting
> /var/lib/lxd/shmounts/ubuntu-test on
> > > > /usr/lib/arm-linux-gnueabihf/lxc/dev/.lxd-mounts to respect bind or
> > > remount
> > > > options
> > > >
> > > > lxc 20160410214402.284 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1672 - (at remount) flags for
> > > > /var/lib/lxd/shmounts/ubuntu-test was 1024, required extra flags are
> 0
> > > >
> > > > lxc 20160410214402.284 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1681 - mountflags already was 4096, skipping
> remount
> > > >
> > > > lxc 20160410214402.284 DEBUG lxc_conf -
> > > > conf.c:mount_entry:1707 - mounted
> '/var/lib/lxd/shmounts/ubuntu-test' on
> > > > '/usr/lib/arm-linux-gnueabihf/lxc/dev/.lxd-mounts', type 'none'
> > > >
> > > > lxc 20160410214402.284 INFO lxc_conf -
> > > > conf.c:mount_file_entries:1926 - mount points have been setup
> > > >
> > > > lxc 20160410214402.285 INFO lxc_cgfsng -
> > > > cgfsng.c:do_secondstage_mounts_if_needed:1292 - Remounted
> > > > /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/cgroup/systemd read-only
> > > >
> > > > lxc 20160410214402.285 INFO lxc_cgfsng -
> > > > cgfsng.c:do_secondstage_mounts_if_needed:1298 - Mounting
> > > > /sys/fs/cgroup/systemd//lxc/ubuntu-test onto
> > > >
> /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/cgroup/systemd//lxc/ubuntu-test
> > > >
> > > > lxc 20160410214402.285 INFO lxc_cgfsng -
> > > > cgfsng.c:do_secondstage_mounts_if_needed:1306 - Completed second
> stage
> > > > cgroup automounts for
> > > >
> /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/cgroup/systemd//lxc/ubuntu-test
> > > >
> > > > lxc 20160410214402.286 INFO lxc_cgfsng -
> > > > cgfsng.c:do_secondstage_mounts_if_needed:1292 - Remounted
> > > > /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/cgroup/freezer read-only
> > > >
> > > > lxc 20160410214402.286 INFO lxc_cgfsng -
> > > > cgfsng.c:do_secondstage_mounts_if_needed:1298 - Mounting
> > > > /sys/fs/cgroup/freezer//lxc/ubuntu-test onto
> > > >
> /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/cgroup/freezer//lxc/ubuntu-test
> > > >
> > > > lxc 20160410214402.286 INFO lxc_cgfsng -
> > > > cgfsng.c:do_secondstage_mounts_if_needed:1306 - Completed second
> stage
> > > > cgroup automounts for
> > > >
> /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/cgroup/freezer//lxc/ubuntu-test
> > > >
> > > > lxc 20160410214402.287 INFO lxc_cgfsng -
> > > > cgfsng.c:do_secondstage_mounts_if_needed:1292 - Remounted
> > > > /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/cgroup/blkio read-only
> > > >
> > > > lxc 20160410214402.287 INFO lxc_cgfsng -
> > > > cgfsng.c:do_secondstage_mounts_if_needed:1298 - Mounting
> > > > /sys/fs/cgroup/blkio//lxc/ubuntu-test onto
> > > > /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/cgroup/blkio//lxc/ubuntu-test
> > > >
> > > > lxc 20160410214402.287 INFO lxc_cgfsng -
> > > > cgfsng.c:do_secondstage_mounts_if_needed:1306 - Completed second
> stage
> > > > cgroup automounts for
> > > > /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/cgroup/blkio//lxc/ubuntu-test
> > > >
> > > > lxc 20160410214402.287 INFO lxc_cgfsng -
> > > > cgfsng.c:do_secondstage_mounts_if_needed:1292 - Remounted
> > > > /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/cgroup/cpu read-only
> > > >
> > > > lxc 20160410214402.287 INFO lxc_cgfsng -
> > > > cgfsng.c:do_secondstage_mounts_if_needed:1298 - Mounting
> > > > /sys/fs/cgroup/cpu//lxc/ubuntu-test onto
> > > > /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/cgroup/cpu//lxc/ubuntu-test
> > > >
> > > > lxc 20160410214402.288 INFO lxc_cgfsng -
> > > > cgfsng.c:do_secondstage_mounts_if_needed:1306 - Completed second
> stage
> > > > cgroup automounts for
> > > > /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/cgroup/cpu//lxc/ubuntu-test
> > > >
> > > > lxc 20160410214402.288 INFO lxc_cgfsng -
> > > > cgfsng.c:do_secondstage_mounts_if_needed:1292 - Remounted
> > > > /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/cgroup/net_cls read-only
> > > >
> > > > lxc 20160410214402.288 INFO lxc_cgfsng -
> > > > cgfsng.c:do_secondstage_mounts_if_needed:1298 - Mounting
> > > > /sys/fs/cgroup/net_cls//lxc/ubuntu-test onto
> > > >
> /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/cgroup/net_cls//lxc/ubuntu-test
> > > >
> > > > lxc 20160410214402.288 INFO lxc_cgfsng -
> > > > cgfsng.c:do_secondstage_mounts_if_needed:1306 - Completed second
> stage
> > > > cgroup automounts for
> > > >
> /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/cgroup/net_cls//lxc/ubuntu-test
> > > >
> > > > lxc 20160410214402.289 INFO lxc_cgfsng -
> > > > cgfsng.c:do_secondstage_mounts_if_needed:1292 - Remounted
> > > > /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/cgroup/devices read-only
> > > >
> > > > lxc 20160410214402.289 INFO lxc_cgfsng -
> > > > cgfsng.c:do_secondstage_mounts_if_needed:1298 - Mounting
> > > > /sys/fs/cgroup/devices//lxc/ubuntu-test onto
> > > >
> /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/cgroup/devices//lxc/ubuntu-test
> > > >
> > > > lxc 20160410214402.289 INFO lxc_cgfsng -
> > > > cgfsng.c:do_secondstage_mounts_if_needed:1306 - Completed second
> stage
> > > > cgroup automounts for
> > > >
> /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/cgroup/devices//lxc/ubuntu-test
> > > >
> > > > lxc 20160410214402.289 INFO lxc_cgfsng -
> > > > cgfsng.c:do_secondstage_mounts_if_needed:1292 - Remounted
> > > > /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/cgroup/cpuset read-only
> > > >
> > > > lxc 20160410214402.289 INFO lxc_cgfsng -
> > > > cgfsng.c:do_secondstage_mounts_if_needed:1298 - Mounting
> > > > /sys/fs/cgroup/cpuset//lxc/ubuntu-test onto
> > > >
> /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/cgroup/cpuset//lxc/ubuntu-test
> > > >
> > > > lxc 20160410214402.289 INFO lxc_cgfsng -
> > > > cgfsng.c:do_secondstage_mounts_if_needed:1306 - Completed second
> stage
> > > > cgroup automounts for
> > > >
> /usr/lib/arm-linux-gnueabihf/lxc/sys/fs/cgroup/cpuset//lxc/ubuntu-test
> > > >
> > > > lxc 20160410214402.289 INFO lxc_conf -
> > > > conf.c:run_script_argv:367 - Executing script
> > > > '/usr/share/lxcfs/lxc.mount.hook' for container 'ubuntu-test', config
> > > > section 'lxc'
> > > >
> > > > lxc 20160410214402.495 ERROR lxc_conf -
> > > > conf.c:run_buffer:347 - Script exited with status 1
> > > >
> > > > lxc 20160410214402.495 ERROR lxc_conf -
> > > > conf.c:lxc_setup:3751 - failed to run mount hooks for container
> > > > 'ubuntu-test'.
> > > >
> > > > lxc 20160410214402.495 ERROR lxc_start -
> > > > start.c:do_start:819 - failed to setup the container
> > > >
> > > > lxc 20160410214402.495 ERROR lxc_sync -
> > > > sync.c:__sync_wait:52 - An error occurred in another process
> (expected
> > > > sequence number 2)
> > > >
> > > > lxc 20160410214402.495 WARN lxc_conf -
> > > > conf.c:lxc_delete_network:2908 - failed to remove interface 7 'eth0'
> > > >
> > > > lxc 20160410214402.497 ERROR lxc_start -
> > > > start.c:__lxc_start:1329 - failed to spawn 'ubuntu-test'
> > > >
> > > > lxc 20160410214402.606 INFO lxc_conf -
> > > > conf.c:run_script_argv:367 - Executing script '/usr/bin/lxd callhook
> > > > /var/lib/lxd 2 stop' for container 'ubuntu-test', config section
> 'lxc'
> > > >
> > > > lxc 20160410214402.793 WARN lxc_commands -
> > > > commands.c:lxc_cmd_rsp_recv:172 - command get_cgroup failed to
> receive
> > > > response
> > > >
> > > > lxc 20160410214402.793 WARN lxc_commands -
> > > > commands.c:lxc_cmd_rsp_recv:172 - command get_cgroup failed to
> receive
> > > > response
> > > >
> > > > lxc 20160410214402.831 INFO lxc_confile -
> > > > confile.c:config_idmap:1498 - read uid map: type u nsid 0 hostid
> 165536
> > > > range 65536
> > > >
> > > > lxc 20160410214402.832 INFO lxc_confile -
> > > > confile.c:config_idmap:1498 - read uid map: type g nsid 0 hostid
> 165536
> > > > range 65536
> > > >
> > > > lxc 20160410214513.301 INFO lxc_confile -
> > > > confile.c:config_idmap:1498 - read uid map: type u nsid 0 hostid
> 165536
> > > > range 65536
> > > >
> > > > lxc 20160410214513.301 INFO lxc_confile -
> > > > confile.c:config_idmap:1498 - read uid map: type g nsid 0 hostid
> 165536
> > > > range 65536
> > > >
> > > > lxc 20160410214513.362 INFO lxc_confile -
> > > > confile.c:config_idmap:1498 - read uid map: type u nsid 0 hostid
> 165536
> > > > range 65536
> > > >
> > > > lxc 20160410214513.363 INFO lxc_confile -
> > > > confile.c:config_idmap:1498 - read uid map: type g nsid 0 hostid
> 165536
> > > > range 65536
> > > >
> > > > lxc 20160410214826.048 INFO lxc_confile -
> > > > confile.c:config_idmap:1498 - read uid map: type u nsid 0 hostid
> 165536
> > > > range 65536
> > > >
> > > > lxc 20160410214826.048 INFO lxc_confile -
> > > > confile.c:config_idmap:1498 - read uid map: type g nsid 0 hostid
> 165536
> > > > range 65536
> > > >
> > > > lxc 20160410214826.117 INFO lxc_confile -
> > > > confile.c:config_idmap:1498 - read uid map: type u nsid 0 hostid
> 165536
> > > > range 65536
> > > >
> > > > lxc 20160410214826.117 INFO lxc_confile -
> > > > confile.c:config_idmap:1498 - read uid map: type g nsid 0 hostid
> 165536
> > > > range 65536
> > > >
> > > >
> > > > Please someone help me out.
> > > > regards
> > > >
> > > > On Sat, Apr 9, 2016 at 9:25 PM, Serge Hallyn <
> serge.hallyn at ubuntu.com>
> > > > wrote:
> > > >
> > > > > Ok, fwiw rpi2 should work with Ubuntu as well iiuc.
> > > > >
> > > > > Quoting Muneeb Ahmad (muneeb.gandapur at gmail.com):
> > > > > > I'm using Raspberry pi 2 actually. And I'll take a look at debian
> > > and see
> > > > > > if their kernel have the userns_allow_unpriv option.
> > > > > >
> > > > > > On Sat, Apr 9, 2016 at 9:00 AM, Serge Hallyn <
> > > serge.hallyn at ubuntu.com>
> > > > > > wrote:
> > > > > >
> > > > > > > Quoting Muneeb Ahmad (muneeb.gandapur at gmail.com):
> > > > > > > > It's not in there.
> > > > > > > > Do you have any Raspberry pi OS recommendations for me? I'm
> > > > > > >
> > > > > > > This is a rpi , not 2 or 3, so ubuntu isn't an option? But
> > > > > > > debian is, right? And their kernel should have the
> > > userns_allow_unpriv
> > > > > > > or whatever sysctl, which would let you do it.
> > > > > > >
> > > > > > > > interested in running lxc containers and openstack(nova
> only)?
> > > > > > > >
> > > > > > > > Thanks. On Sat, Apr 09, 2016 at 2:51 AM, Serge Hallyn <
> > > > > > > > serge.hallyn at ubuntu.com [serge.hallyn at ubuntu.com] > wrote:
> > > > > > > > Quoting Muneeb Ahmad (muneeb.gandapur at gmail.com):
> > > > > > > > > Thanks for the answer. Is there a work around for this? Or
> > > should I
> > > > > > > > > just go for some other OS?
> > > > > > > >
> > > > > > > > Sorry I don't know the recommended way to build/use a custom
> > > kernel
> > > > > > > > in mint.
> > > > > > > >
> > > > > > > > Actually, check /proc/sys/kernel/*user*. Is there something
> like
> > > > > > > > unpriv_userns_allow? You may be able to just echo 1 > that.
> > > > > > > >
> > > > > > > > -serge
> > > > > > > > _______________________________________________
> > > > > > > > lxc-users mailing list
> > > > > > > > lxc-users at lists.linuxcontainers.org
> > > > > > > > http://lists.linuxcontainers.org/listinfo/lxc-users
> > > > > > >
> > > > > > > > _______________________________________________
> > > > > > > > lxc-users mailing list
> > > > > > > > lxc-users at lists.linuxcontainers.org
> > > > > > > > http://lists.linuxcontainers.org/listinfo/lxc-users
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > lxc-users mailing list
> > > > > > > lxc-users at lists.linuxcontainers.org
> > > > > > > http://lists.linuxcontainers.org/listinfo/lxc-users
> > > > > > >
> > > > >
> > > > > > _______________________________________________
> > > > > > lxc-users mailing list
> > > > > > lxc-users at lists.linuxcontainers.org
> > > > > > http://lists.linuxcontainers.org/listinfo/lxc-users
> > > > >
> > > > > _______________________________________________
> > > > > lxc-users mailing list
> > > > > lxc-users at lists.linuxcontainers.org
> > > > > http://lists.linuxcontainers.org/listinfo/lxc-users
> > > > >
> > >
> > > > _______________________________________________
> > > > lxc-users mailing list
> > > > lxc-users at lists.linuxcontainers.org
> > > > http://lists.linuxcontainers.org/listinfo/lxc-users
> > >
> > > _______________________________________________
> > > lxc-users mailing list
> > > lxc-users at lists.linuxcontainers.org
> > > http://lists.linuxcontainers.org/listinfo/lxc-users
> > >
>
> > _______________________________________________
> > lxc-users mailing list
> > lxc-users at lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-users
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160421/20462fe7/attachment-0001.html>
More information about the lxc-users
mailing list