[lxc-users] Unprivileged Systemd-based Containers
Christian Brauner
christianvanbrauner at gmail.com
Mon Jan 26 13:18:18 UTC 2015
Hello Dirk,
right, totally missed that. I tried it with the line
lxc.include = lxc.include = /usr/local/share/lxcfs/00-lxcfs.conf
(after creating and making 00-lxcfs.conf executable obviously) in my .config.
And got:
lxc-start 1422277724.347 INFO lxc_conf - conf.c:run_script_argv:344 - Executing script '@LXCFSSHAREDIR@/lxc.mount.hook' for container 'jessie', config section 'lxc'
lxc-start 1422277724.352 ERROR lxc_conf - conf.c:run_buffer:324 - Script exited with status 127
lxc-start 1422277724.352 ERROR lxc_conf - conf.c:lxc_setup:3772 - failed to run mount hooks for container 'jessie'.
lxc-start 1422277724.352 ERROR lxc_start - start.c:do_start:699 - failed to setup the container
lxc-start 1422277724.352 ERROR lxc_sync - sync.c:__sync_wait:51 - invalid sequence number 1. expected 2
lxc-start 1422277724.417 ERROR lxc_start - start.c:__lxc_start:1099 - failed to spawn 'jessie'
lxc-start 1422277724.420 ERROR lxc_start_ui - lxc_start.c:main:344 - The container failed to start.
lxc-start 1422277724.420 ERROR lxc_start_ui - lxc_start.c:main:348 - Additional information can be obtained by setting the --logfile and --logpriority options.
Not including
lxc.include = lxc.include = /usr/local/share/lxcfs/00-lxcfs.conf
in my .config gives even with LXC 1.1 (lxc-1.1.0.rc2.1.gab35147-1) gives:
Failed to mount cgroup at /sys/fs/cgroup/systemd: Operation not permitted
Best,
Christian
More information about the lxc-users
mailing list