[lxc-users] error Error calling 'lxd forkstart

Serge Hallyn serge.hallyn at ubuntu.com
Fri Aug 21 20:13:17 UTC 2015


Quoting marcelo fortino (marcelo.fortino at gmail.com):
> so sudo apt-get update and sudo apt-get install -f doesn't fix the problem.
> 
> I did:
> sudo service cgmanager start
> start: Job is already running: cgmanager
> 
> sudo status cgmanager
> cgmanager start/running, process 18014
> 
> lxc info --show-log documentation //the last part of log
> 
>  lxc 1440179476.210 INFO     lxc_seccomp -
> seccomp.c:parse_config_v2:318 - processing: .delete_module errno 1.
>             lxc 1440179476.210 INFO     lxc_seccomp -
> seccomp.c:parse_config_v2:410 - Adding native rule for delete_module
> action 327681
>             lxc 1440179476.210 INFO     lxc_seccomp -
> seccomp.c:parse_config_v2:413 - Adding compat rule for delete_module
> action 327681
>             lxc 1440179476.210 INFO     lxc_seccomp -
> seccomp.c:parse_config_v2:420 - Merging in the compat seccomp ctx into
> the main one
>             lxc 1440179476.210 DEBUG    lxc_start -
> start.c:setup_signal_fd:262 - sigchild handler set
>             lxc 1440179476.210 DEBUG    lxc_console -
> console.c:lxc_console_peer_default:536 - no console peer
>             lxc 1440179476.210 INFO     lxc_start -
> start.c:lxc_init:454 - 'documentation' is initialized
>             lxc 1440179476.211 INFO     lxc_start -
> start.c:lxc_check_inherited:224 - closed inherited fd 3
>             lxc 1440179476.211 DEBUG    lxc_start -
> start.c:__lxc_start:1145 - Not dropping cap_sys_boot or watching utmp
>             lxc 1440179476.214 INFO     lxc_start -
> start.c:resolve_clone_flags:854 - Cloning a new user namespace
>             lxc 1440179476.217 DEBUG    lxc_conf -
> conf.c:instantiate_veth:2697 - instantiated veth
> 'vethS8TLS3/vethO8D5OE', index is '10'
>             lxc 1440179476.217 INFO     lxc_cgroup -
> cgroup.c:cgroup_init:65 - cgroup driver cgmanager initing for
> documentation
>             lxc 1440179476.220 INFO     lxc_monitor -
> monitor.c:lxc_monitor_sock_name:178 - using monitor sock name
> lxc/d78a9d7e97b4b375//var/lib/lxd/containers
>             lxc 1440179476.299 DEBUG    lxc_conf -
> conf.c:lxc_assign_network:3114 - move '(null)' to '13852'
>             lxc 1440179476.304 NOTICE   lxc_start -
> start.c:do_start:670 - switching to gid/uid 0 in new user namespace
>             lxc 1440179476.305 DEBUG    lxc_conf -
> conf.c:setup_rootfs:1284 - mounted
> '/var/lib/lxd/containers/documentation/rootfs' on
> '/usr/lib/x86_64-linux-gnu/lxc'
>             lxc 1440179476.305 INFO     lxc_conf -
> conf.c:setup_utsname:919 - 'documentation' hostname has been setup
>             lxc 1440179476.327 DEBUG    lxc_conf -
> conf.c:setup_hw_addr:2244 - mac address 'xx:xx:xx:xx:xx:xx' on 'eth0'
> has been setup
>             lxc 1440179476.327 DEBUG    lxc_conf -
> conf.c:setup_netdev:2471 - 'eth0' has been setup
>             lxc 1440179476.327 INFO     lxc_conf -
> conf.c:setup_network:2492 - network has been setup
>             lxc 1440179476.327 INFO     lxc_conf -
> conf.c:mount_autodev:1148 - Mounting /dev under
> /usr/lib/x86_64-linux-gnu/lxc
>             lxc 1440179476.327 INFO     lxc_conf -
> conf.c:mount_autodev:1169 - Mounted tmpfs onto
> /usr/lib/x86_64-linux-gnu/lxc/dev
>             lxc 1440179476.327 INFO     lxc_conf -
> conf.c:mount_autodev:1187 - Mounted /dev under
> /usr/lib/x86_64-linux-gnu/lxc
>             lxc 1440179476.327 ERROR    lxc_conf -
> conf.c:lxc_mount_auto_mounts:819 - Operation not permitted - error
> mounting sysfs on /usr/lib/x86_64-linux-gnu/lxc/sys flags 14
>             lxc 1440179476.327 ERROR    lxc_conf -
> conf.c:lxc_setup:3791 - failed to setup the automatic mounts for
> 'documentation'
>             lxc 1440179476.327 ERROR    lxc_start -
> start.c:do_start:702 - failed to setup the container
>             lxc 1440179476.327 ERROR    lxc_sync -
> sync.c:__sync_wait:51 - invalid sequence number 1. expected 2
>             lxc 1440179476.327 WARN     lxc_conf -
> conf.c:lxc_delete_network:2990 - failed to remove interface '(null)'
>             lxc 1440179476.355 ERROR    lxc_start -
> start.c:__lxc_start:1172 - failed to spawn 'documentation'
>             lxc 1440179476.355 WARN     lxc_commands -
> commands.c:lxc_cmd_rsp_recv:172 - command get_init_pid failed to
> receive response
>             lxc 1440179476.356 WARN     lxc_cgmanager -
> cgmanager.c:cgm_get:993 - do_cgm_get exited with error
> 
> 
> Any clues?

yeah I think you're running on a 3.16 kernel that's missing a patch
from stable.   I don't know whether the fixed version of that kernel
is available yet or not.


More information about the lxc-users mailing list