[lxc-devel] error when trying to mount proc into lxc privileged container

Yinon yinonby.hpe at yahoo.com
Tue Aug 16 06:54:37 UTC 2016


Hey,
I have an ununtu 4.2.0-16-generic wily 15.10.I had a privileged container, and now I want to add proc mount to it.I added this:lxc.mount.auto = proc

But I keep getting this error:
      lxc-start 1471017966.046 ERROR    lxc_conf - conf.c:mount_autodev:1175 - No such file or directory - Failed mounting tmpfs onto /dev
      lxc-start 1471017966.178 ERROR    lxc_sync - sync.c:__sync_wake:62 - sync wake failure : Broken pipe      lxc-start 1471017966.178 ERROR    lxc_start - start.c:__lxc_start:1213 - failed to spawn 'my-container'      lxc-start 1471017971.199 ERROR    lxc_start_ui - lxc_start.c:main:344 - The container failed to start.      lxc-start 1471017971.199 ERROR    lxc_start_ui - lxc_start.c:main:346 - To get more details, run the container in foreground mode.      lxc-start 1471017971.199 ERROR    lxc_start_ui - lxc_start.c:main:348 - Additional information can be obtained by setting the --logfile and --logpriority options.
The container was created using:sudo lxc-create -t download -n my-container -f .config/lxc/default.conf -- --dist ubuntu --release wily --arch amd64
And I run it using:sudo lxc-start -n my-container -d -f .config/lxc/default.conf --logfile lxc.log

Also tried with:lxc.mount = proc proc proc nodev,noexec,nosuid 0 0
andlxc.mount.entry = proc proc proc defaults 0 0
but for no good.
Does anyone know what the problem is? apparmor is disbaled btw
Thanks,Yinon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160816/6a65e04b/attachment.html>


More information about the lxc-devel mailing list