[lxc-users] Mounted /proc entries empty
Ben Green
ben at bristolwireless.net
Tue Sep 24 19:49:46 UTC 2019
Hi all,
first time writing to this list for me, I checked a few months back
posts to see if this issue had come up recently.
I've been trying to get some elements of LXC to work on Debian 10
'Buster'. One issue is outstanding.
From inside containers the /proc entries that mounted onto it contain
nothing. They look like this when mounted:
/dev/sda9 on /proc/cpuinfo type ext3 (rw,relatime)
/dev/sda9 on /proc/diskstats type ext3 (rw,relatime)
/dev/sda9 on /proc/meminfo type ext3 (rw,relatime)
/dev/sda9 on /proc/stat type ext3 (rw,relatime)
/dev/sda9 on /proc/swaps type ext3 (rw,relatime)
/dev/sda9 on /proc/uptime type ext3 (rw,relatime)
I've tried Ubuntu containers, Debian containers and both unprivileged
and privileged. Here's how one stats:
root at bambooz:~# stat /proc/cpuinfo
File: /proc/cpuinfo
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: 809h/2057d Inode: 16640192 Links: 1
Access: (0444/-r--r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2019-09-24 10:12:46.000000000 +0000
Modify: 2019-09-10 12:27:13.000000000 +0000
Change: 2019-09-10 12:27:13.000000000 +0000
Birth: -
That's all I've got. Not seeing anything unusual in the way it boots
up. I've attached example DEBUG logs for one of the unprivileged
guests I've tried. Has anyone any clues about what's happening here?
Cheers,
Ben
-------------- next part --------------
lxc-start ex386-jessie 20190924165957.223 INFO utils - utils.c:get_rundir:275 - XDG_RUNTIME_DIR isn't set in the environment
lxc-start ex386-jessie 20190924165957.223 INFO confile - confile.c:set_config_idmaps:1605 - Read uid map: type u nsid 0 hostid 1258512 range 65536
lxc-start ex386-jessie 20190924165957.223 INFO confile - confile.c:set_config_idmaps:1605 - Read uid map: type g nsid 0 hostid 1258512 range 65536
lxc-start ex386-jessie 20190924165957.224 INFO lxccontainer - lxccontainer.c:do_lxcapi_start:961 - Set process title to [lxc monitor] /home/lxcadmin/.local/share/lxc ex386-jessie
lxc-start ex386-jessie 20190924165957.225 INFO lsm - lsm/lsm.c:lsm_init:50 - LSM security driver AppArmor
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:parse_config_v2:759 - Processing "reject_force_umount # comment this to allow umount -f; not recommended"
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:do_resolve_add_rule:505 - Set seccomp rule to reject force umounts
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:parse_config_v2:937 - Added native rule for arch 0 for reject_force_umount action 0(kill)
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:do_resolve_add_rule:505 - Set seccomp rule to reject force umounts
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:parse_config_v2:946 - Added compat rule for arch 1073741827 for reject_force_umount action 0(kill)
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:do_resolve_add_rule:505 - Set seccomp rule to reject force umounts
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:parse_config_v2:956 - Added compat rule for arch 1073741886 for reject_force_umount action 0(kill)
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:do_resolve_add_rule:505 - Set seccomp rule to reject force umounts
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:parse_config_v2:966 - Added native rule for arch -1073741762 for reject_force_umount action 0(kill)
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:parse_config_v2:759 - Processing "[all]"
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:parse_config_v2:759 - Processing "kexec_load errno 1"
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:parse_config_v2:937 - Added native rule for arch 0 for kexec_load action 327681(errno)
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:parse_config_v2:946 - Added compat rule for arch 1073741827 for kexec_load action 327681(errno)
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:parse_config_v2:956 - Added compat rule for arch 1073741886 for kexec_load action 327681(errno)
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:parse_config_v2:966 - Added native rule for arch -1073741762 for kexec_load action 327681(errno)
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:parse_config_v2:759 - Processing "open_by_handle_at errno 1"
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:parse_config_v2:937 - Added native rule for arch 0 for open_by_handle_at action 327681(errno)
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:parse_config_v2:946 - Added compat rule for arch 1073741827 for open_by_handle_at action 327681(errno)
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:parse_config_v2:956 - Added compat rule for arch 1073741886 for open_by_handle_at action 327681(errno)
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:parse_config_v2:966 - Added native rule for arch -1073741762 for open_by_handle_at action 327681(errno)
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:parse_config_v2:759 - Processing "init_module errno 1"
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:parse_config_v2:937 - Added native rule for arch 0 for init_module action 327681(errno)
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:parse_config_v2:946 - Added compat rule for arch 1073741827 for init_module action 327681(errno)
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:parse_config_v2:956 - Added compat rule for arch 1073741886 for init_module action 327681(errno)
lxc-start ex386-jessie 20190924165957.225 INFO seccomp - seccomp.c:parse_config_v2:966 - Added native rule for arch -1073741762 for init_module action 327681(errno)
lxc-start ex386-jessie 20190924165957.226 INFO seccomp - seccomp.c:parse_config_v2:759 - Processing "finit_module errno 1"
lxc-start ex386-jessie 20190924165957.226 INFO seccomp - seccomp.c:parse_config_v2:937 - Added native rule for arch 0 for finit_module action 327681(errno)
lxc-start ex386-jessie 20190924165957.226 INFO seccomp - seccomp.c:parse_config_v2:946 - Added compat rule for arch 1073741827 for finit_module action 327681(errno)
lxc-start ex386-jessie 20190924165957.226 INFO seccomp - seccomp.c:parse_config_v2:956 - Added compat rule for arch 1073741886 for finit_module action 327681(errno)
lxc-start ex386-jessie 20190924165957.226 INFO seccomp - seccomp.c:parse_config_v2:966 - Added native rule for arch -1073741762 for finit_module action 327681(errno)
lxc-start ex386-jessie 20190924165957.226 INFO seccomp - seccomp.c:parse_config_v2:759 - Processing "delete_module errno 1"
lxc-start ex386-jessie 20190924165957.226 INFO seccomp - seccomp.c:parse_config_v2:937 - Added native rule for arch 0 for delete_module action 327681(errno)
lxc-start ex386-jessie 20190924165957.226 INFO seccomp - seccomp.c:parse_config_v2:946 - Added compat rule for arch 1073741827 for delete_module action 327681(errno)
lxc-start ex386-jessie 20190924165957.226 INFO seccomp - seccomp.c:parse_config_v2:956 - Added compat rule for arch 1073741886 for delete_module action 327681(errno)
lxc-start ex386-jessie 20190924165957.226 INFO seccomp - seccomp.c:parse_config_v2:966 - Added native rule for arch -1073741762 for delete_module action 327681(errno)
lxc-start ex386-jessie 20190924165957.226 INFO seccomp - seccomp.c:parse_config_v2:970 - Merging compat seccomp contexts into main context
lxc-start ex386-jessie 20190924165957.226 INFO utils - utils.c:get_rundir:275 - XDG_RUNTIME_DIR isn't set in the environment
lxc-start ex386-jessie 20190924165957.226 DEBUG terminal - terminal.c:lxc_terminal_peer_default:707 - No such device - The process does not have a controlling terminal
lxc-start ex386-jessie 20190924165957.226 DEBUG conf - conf.c:chown_mapped_root:3190 - trying to chown "/dev/pts/3" to 202
lxc-start ex386-jessie 20190924165957.282 INFO start - start.c:lxc_init:904 - Container "ex386-jessie" is initialized
lxc-start ex386-jessie 20190924165957.283 DEBUG cgfsng - cgroups/cgfsng.c:cg_legacy_handle_cpuset_hierarchy:620 - "cgroup.clone_children" was already set to "1"
lxc-start ex386-jessie 20190924165957.283 INFO start - start.c:lxc_spawn:1700 - Cloned CLONE_NEWUSER
lxc-start ex386-jessie 20190924165957.283 INFO start - start.c:lxc_spawn:1700 - Cloned CLONE_NEWNS
lxc-start ex386-jessie 20190924165957.283 INFO start - start.c:lxc_spawn:1700 - Cloned CLONE_NEWPID
lxc-start ex386-jessie 20190924165957.283 INFO start - start.c:lxc_spawn:1700 - Cloned CLONE_NEWUTS
lxc-start ex386-jessie 20190924165957.283 INFO start - start.c:lxc_spawn:1700 - Cloned CLONE_NEWIPC
lxc-start ex386-jessie 20190924165957.283 DEBUG start - start.c:lxc_try_preserve_namespaces:196 - Preserved user namespace via fd 14
lxc-start ex386-jessie 20190924165957.283 DEBUG start - start.c:lxc_try_preserve_namespaces:196 - Preserved mnt namespace via fd 15
lxc-start ex386-jessie 20190924165957.283 DEBUG start - start.c:lxc_try_preserve_namespaces:196 - Preserved pid namespace via fd 16
lxc-start ex386-jessie 20190924165957.283 DEBUG start - start.c:lxc_try_preserve_namespaces:196 - Preserved uts namespace via fd 17
lxc-start ex386-jessie 20190924165957.283 DEBUG start - start.c:lxc_try_preserve_namespaces:196 - Preserved ipc namespace via fd 18
lxc-start ex386-jessie 20190924165957.284 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2860 - The binary "/usr/bin/newuidmap" does have the setuid bit set
lxc-start ex386-jessie 20190924165957.284 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2860 - The binary "/usr/bin/newgidmap" does have the setuid bit set
lxc-start ex386-jessie 20190924165957.284 DEBUG conf - conf.c:lxc_map_ids:2952 - Functional newuidmap and newgidmap binary found
lxc-start ex386-jessie 20190924165957.290 INFO start - start.c:do_start:1148 - Unshared CLONE_NEWNET
lxc-start ex386-jessie 20190924165957.290 DEBUG cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2232 - Set controller "memory.limit_in_bytes" set to "2G"
lxc-start ex386-jessie 20190924165957.290 DEBUG cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2232 - Set controller "cpuset.cpus" set to "0-3"
lxc-start ex386-jessie 20190924165957.290 DEBUG cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2232 - Set controller "cpu.shares" set to "64"
lxc-start ex386-jessie 20190924165957.290 INFO cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2237 - Limits for the legacy cgroup hierarchies have been setup
lxc-start ex386-jessie 20190924165957.291 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2860 - The binary "/usr/bin/newuidmap" does have the setuid bit set
lxc-start ex386-jessie 20190924165957.291 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2860 - The binary "/usr/bin/newgidmap" does have the setuid bit set
lxc-start ex386-jessie 20190924165957.291 DEBUG conf - conf.c:lxc_map_ids:2952 - Functional newuidmap and newgidmap binary found
lxc-start ex386-jessie 20190924165957.298 DEBUG start - start.c:lxc_spawn:1754 - Preserved net namespace via fd 10
lxc-start ex386-jessie 20190924165957.298 WARN start - start.c:lxc_spawn:1758 - Operation not permitted - Failed to allocate new network namespace id
lxc-start ex386-jessie 20190924165957.298 INFO network - network.c:lxc_create_network_unpriv_exec:2150 - Execing lxc-user-nic create /home/lxcadmin/.local/share/lxc ex386-jessie 349 veth br0 eth0
lxc-start ex386-jessie 20190924165957.430 NOTICE utils - utils.c:lxc_switch_uid_gid:1378 - Switched to gid 0
lxc-start ex386-jessie 20190924165957.430 NOTICE utils - utils.c:lxc_switch_uid_gid:1387 - Switched to uid 0
lxc-start ex386-jessie 20190924165957.430 NOTICE utils - utils.c:lxc_setgroups:1400 - Dropped additional groups
lxc-start ex386-jessie 20190924165957.430 INFO start - start.c:do_start:1254 - Unshared CLONE_NEWCGROUP
lxc-start ex386-jessie 20190924165957.431 DEBUG storage - storage/storage.c:storage_query:253 - Detected rootfs type "dir"
lxc-start ex386-jessie 20190924165957.431 DEBUG conf - conf.c:lxc_mount_rootfs:1332 - Mounted rootfs "/home/lxcadmin/.local/share/lxc/ex386-jessie/rootfs" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs" with options "(null)"
lxc-start ex386-jessie 20190924165957.431 INFO conf - conf.c:setup_utsname:791 - Set hostname to "ex386-jessie"
lxc-start ex386-jessie 20190924165957.431 DEBUG network - network.c:setup_hw_addr:2767 - Mac address "50:73:62:63:67:61" on "eth0" has been setup
lxc-start ex386-jessie 20190924165957.489 DEBUG network - network.c:lxc_setup_netdev_in_child_namespaces:3032 - Network device "eth0" has been setup
lxc-start ex386-jessie 20190924165957.489 INFO network - network.c:lxc_setup_network_in_child_namespaces:3053 - network has been setup
lxc-start ex386-jessie 20190924165957.489 INFO conf - conf.c:mount_autodev:1118 - Preparing "/dev"
lxc-start ex386-jessie 20190924165957.489 INFO conf - conf.c:mount_autodev:1165 - Prepared "/dev"
lxc-start ex386-jessie 20190924165957.490 INFO conf - conf.c:run_script_argv:356 - Executing script "/usr/share/lxcfs/lxc.mount.hook" for container "ex386-jessie", config section "lxc"
lxc-start ex386-jessie 20190924165957.516 INFO conf - conf.c:lxc_fill_autodev:1209 - Populating "/dev"
lxc-start ex386-jessie 20190924165957.516 DEBUG conf - conf.c:lxc_fill_autodev:1282 - Bind mounted host device node "/dev/full" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/full"
lxc-start ex386-jessie 20190924165957.516 DEBUG conf - conf.c:lxc_fill_autodev:1282 - Bind mounted host device node "/dev/null" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/null"
lxc-start ex386-jessie 20190924165957.516 DEBUG conf - conf.c:lxc_fill_autodev:1282 - Bind mounted host device node "/dev/random" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/random"
lxc-start ex386-jessie 20190924165957.516 DEBUG conf - conf.c:lxc_fill_autodev:1282 - Bind mounted host device node "/dev/tty" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/tty"
lxc-start ex386-jessie 20190924165957.516 DEBUG conf - conf.c:lxc_fill_autodev:1282 - Bind mounted host device node "/dev/urandom" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/urandom"
lxc-start ex386-jessie 20190924165957.516 DEBUG conf - conf.c:lxc_fill_autodev:1282 - Bind mounted host device node "/dev/zero" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/zero"
lxc-start ex386-jessie 20190924165957.516 INFO conf - conf.c:lxc_fill_autodev:1286 - Populated "/dev"
lxc-start ex386-jessie 20190924165957.516 INFO conf - conf.c:mount_entry:2014 - No such file or directory - Failed to mount "/sys/fs/fuse/connections" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/fs/fuse/connections" (optional)
lxc-start ex386-jessie 20190924165957.516 DEBUG conf - conf.c:mount_entry:2102 - Mounted "none" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/tmp" with filesystem type "tmpfs"
lxc-start ex386-jessie 20190924165957.516 INFO conf - conf.c:mount_file_entries:2333 - Finished setting up mounts
lxc-start ex386-jessie 20190924165957.516 DEBUG conf - conf.c:lxc_setup_ttydir_console:1796 - Created directory for console and tty devices at "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/lxc"
lxc-start ex386-jessie 20190924165957.517 DEBUG conf - conf.c:lxc_setup_ttydir_console:1841 - Mounted "/dev/pts/3" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/lxc/console"
lxc-start ex386-jessie 20190924165957.517 DEBUG conf - conf.c:lxc_setup_ttydir_console:1849 - Mounted "/dev/pts/3" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/lxc/console"
lxc-start ex386-jessie 20190924165957.517 DEBUG conf - conf.c:lxc_setup_ttydir_console:1851 - Console has been setup under "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/lxc/console" and mounted to "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/console"
lxc-start ex386-jessie 20190924165957.517 INFO utils - utils.c:lxc_mount_proc_if_needed:1231 - I am 1, /proc/self points to "1"
lxc-start ex386-jessie 20190924165957.541 WARN conf - conf.c:lxc_setup_devpts:1616 - Invalid argument - Failed to unmount old devpts instance
lxc-start ex386-jessie 20190924165957.541 DEBUG conf - conf.c:lxc_setup_devpts:1653 - Mount new devpts instance with options "gid=5,newinstance,ptmxmode=0666,mode=0620,max=1024"
lxc-start ex386-jessie 20190924165957.541 DEBUG conf - conf.c:lxc_setup_devpts:1672 - Created dummy "/dev/ptmx" file as bind mount target
lxc-start ex386-jessie 20190924165957.541 DEBUG conf - conf.c:lxc_setup_devpts:1677 - Bind mounted "/dev/pts/ptmx" to "/dev/ptmx"
lxc-start ex386-jessie 20190924165957.542 DEBUG conf - conf.c:lxc_allocate_ttys:989 - Created tty "/dev/pts/0" with master fd 11 and slave fd 14
lxc-start ex386-jessie 20190924165957.542 DEBUG conf - conf.c:lxc_allocate_ttys:989 - Created tty "/dev/pts/1" with master fd 15 and slave fd 16
lxc-start ex386-jessie 20190924165957.542 DEBUG conf - conf.c:lxc_allocate_ttys:989 - Created tty "/dev/pts/2" with master fd 17 and slave fd 18
lxc-start ex386-jessie 20190924165957.542 DEBUG conf - conf.c:lxc_allocate_ttys:989 - Created tty "/dev/pts/3" with master fd 19 and slave fd 20
lxc-start ex386-jessie 20190924165957.542 INFO conf - conf.c:lxc_allocate_ttys:1005 - Finished creating 4 tty devices
lxc-start ex386-jessie 20190924165957.542 DEBUG conf - conf.c:lxc_setup_ttys:913 - Bind mounted "/dev/pts/0" onto "/dev/lxc/tty1"
lxc-start ex386-jessie 20190924165957.542 DEBUG conf - conf.c:lxc_setup_ttys:913 - Bind mounted "/dev/pts/1" onto "/dev/lxc/tty2"
lxc-start ex386-jessie 20190924165957.542 DEBUG conf - conf.c:lxc_setup_ttys:913 - Bind mounted "/dev/pts/2" onto "/dev/lxc/tty3"
lxc-start ex386-jessie 20190924165957.542 DEBUG conf - conf.c:lxc_setup_ttys:913 - Bind mounted "/dev/pts/3" onto "/dev/lxc/tty4"
lxc-start ex386-jessie 20190924165957.542 INFO conf - conf.c:lxc_setup_ttys:949 - Finished setting up 4 /dev/tty<N> device(s)
lxc-start ex386-jessie 20190924165957.542 INFO conf - conf.c:setup_personality:1716 - Set personality to "0x0"
lxc-start ex386-jessie 20190924165957.542 DEBUG conf - conf.c:setup_caps:2526 - Dropped mac_admin (33) capability
lxc-start ex386-jessie 20190924165957.542 DEBUG conf - conf.c:setup_caps:2526 - Dropped mac_override (32) capability
lxc-start ex386-jessie 20190924165957.542 DEBUG conf - conf.c:setup_caps:2526 - Dropped sys_time (25) capability
lxc-start ex386-jessie 20190924165957.542 DEBUG conf - conf.c:setup_caps:2526 - Dropped sys_module (16) capability
lxc-start ex386-jessie 20190924165957.542 DEBUG conf - conf.c:setup_caps:2526 - Dropped sys_rawio (17) capability
lxc-start ex386-jessie 20190924165957.542 DEBUG conf - conf.c:setup_caps:2529 - Capabilities have been setup
lxc-start ex386-jessie 20190924165957.542 NOTICE conf - conf.c:lxc_setup:3716 - The container "ex386-jessie" is set up
lxc-start ex386-jessie 20190924165957.542 INFO lsm - lsm/lsm.c:lsm_process_label_set_at:178 - Set AppArmor label to "unconfined"
lxc-start ex386-jessie 20190924165957.542 INFO apparmor - lsm/apparmor.c:apparmor_process_label_set:1101 - Changed AppArmor profile to unconfined
lxc-start ex386-jessie 20190924165957.543 WARN cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2224 - Failed to set "devices.deny" to "a"
lxc-start ex386-jessie 20190924165957.543 WARN cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2224 - Failed to set "devices.allow" to "c *:* m"
lxc-start ex386-jessie 20190924165957.543 WARN cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2224 - Failed to set "devices.allow" to "b *:* m"
lxc-start ex386-jessie 20190924165957.543 WARN cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2224 - Failed to set "devices.allow" to "c 1:3 rwm"
lxc-start ex386-jessie 20190924165957.543 WARN cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2224 - Failed to set "devices.allow" to "c 1:5 rwm"
lxc-start ex386-jessie 20190924165957.543 WARN cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2224 - Failed to set "devices.allow" to "c 1:7 rwm"
lxc-start ex386-jessie 20190924165957.543 WARN cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2224 - Failed to set "devices.allow" to "c 5:0 rwm"
lxc-start ex386-jessie 20190924165957.543 WARN cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2224 - Failed to set "devices.allow" to "c 5:1 rwm"
lxc-start ex386-jessie 20190924165957.543 WARN cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2224 - Failed to set "devices.allow" to "c 5:2 rwm"
lxc-start ex386-jessie 20190924165957.543 WARN cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2224 - Failed to set "devices.allow" to "c 1:8 rwm"
lxc-start ex386-jessie 20190924165957.543 WARN cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2224 - Failed to set "devices.allow" to "c 1:9 rwm"
lxc-start ex386-jessie 20190924165957.543 WARN cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2224 - Failed to set "devices.allow" to "c 136:* rwm"
lxc-start ex386-jessie 20190924165957.543 WARN cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2224 - Failed to set "devices.allow" to "c 10:229 rwm"
lxc-start ex386-jessie 20190924165957.543 INFO cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2237 - Limits for the legacy cgroup hierarchies have been setup
lxc-start ex386-jessie 20190924165957.543 DEBUG start - start.c:lxc_spawn:1829 - Preserved cgroup namespace via fd 19
lxc-start ex386-jessie 20190924165957.543 NOTICE start - start.c:start:2037 - Exec'ing "/sbin/init"
lxc-start ex386-jessie 20190924165957.544 NOTICE start - start.c:post_start:2048 - Started "/sbin/init" with pid "349"
lxc-start ex386-jessie 20190924165957.544 INFO utils - utils.c:get_rundir:275 - XDG_RUNTIME_DIR isn't set in the environment
lxc-start ex386-jessie 20190924165957.544 DEBUG lxccontainer - lxccontainer.c:wait_on_daemonized_start:830 - First child 340 exited
lxc-start ex386-jessie 20190924165957.544 NOTICE start - start.c:signal_handler:430 - Received 17 from pid 342 instead of container init 349
lxc-start ex386-jessie 20190924175443.592 DEBUG start - start.c:signal_handler:447 - Container init process 349 exited
lxc-start ex386-jessie 20190924175443.592 DEBUG start - start.c:__lxc_start:1994 - Unknown exit status for container "ex386-jessie" init 9
lxc-start ex386-jessie 20190924175443.592 INFO utils - utils.c:get_rundir:275 - XDG_RUNTIME_DIR isn't set in the environment
lxc-start ex386-jessie 20190924175443.592 INFO error - error.c:lxc_error_set_and_log:54 - Child <349> ended on signal (9)
lxc-start ex386-jessie 20190924175443.592 DEBUG network - network.c:lxc_delete_network:3180 - Deleted network devices
lxc-start ex386-jessie 20190924175443.592 INFO utils - utils.c:get_rundir:275 - XDG_RUNTIME_DIR isn't set in the environment
lxc-start ex386-jessie 20190924175443.592 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2860 - The binary "/usr/bin/newuidmap" does have the setuid bit set
lxc-start ex386-jessie 20190924175443.592 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2860 - The binary "/usr/bin/newgidmap" does have the setuid bit set
lxc-start ex386-jessie 20190924175443.592 DEBUG conf - conf.c:lxc_map_ids:2952 - Functional newuidmap and newgidmap binary found
lxc-start ex386-jessie 20190924175443.600 INFO utils - utils.c:get_rundir:275 - XDG_RUNTIME_DIR isn't set in the environment
lxc-start ex386-jessie 20190924175443.600 INFO conf - conf.c:run_script_argv:356 - Executing script "/usr/share/lxcfs/lxc.reboot.hook" for container "ex386-jessie", config section "lxc"
-------------- next part --------------
lxcadmin at oyster:~$ lxc-start ex386-jessie -F
INIT: version 2.88 booting
Using makefile-style concurrent boot in runlevel S.
Cleaning up temporary files... /tmp.
mount: permission denied
Setting the system clock.
hwclock: Cannot access the Hardware Clock via any known method.
hwclock: Use the --debug option to see the details of our search for an access method.
Unable to set System Clock to: Tue Sep 24 17:56:05 UTC 2019 ... (warning).
Activating swap...done.
mount: permission denied
mount: permission denied
mount: /dev/pts not mounted or bad option
In some cases useful info is found in syslog - try
dmesg | tail or so.
Activating lvm and md swap...done.
Checking file systems...fsck from util-linux 2.25.2
done.
Cleaning up temporary files... /tmp.
Cleaning up temporary files....
Setting kernel variables ...done.
Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix.
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
dmesg: read kernel buffer failed: Operation not permitted
Starting enhanced syslogd: rsyslogd.
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: cron.
Starting system message bus: dbus.
Starting MTA: exim4.
Starting puppet agent.
Starting OpenBSD Secure Shell server: sshd.
INIT: no more processes left in this runlevel
More information about the lxc-users
mailing list