我在ubuntu服务器上安装了lxc,一切正常。今天,我将lxc从0.7.5版更新到1.0.0.alpha 2版。更新lxc后,无法启动lxc容器。
lxc-ls:
ContainerOne containerTwo ContainerThree.我在0.7.5版中创建了这些容器。
更新到1.0.alpha 2之后,我尝试将容器启动为
lxc-start -n ContainerOne
Result:
<4> init: ureadahead main process (7) terminated with status 5
.
.
.
mountall: mount /run [34] terminated with status 32
mountall: Filesystem could not be mounted: /run错误是什么?我该如何解决这个问题?我重新启动了服务器,但没有运气。
当我第一次安装lxc时,我已经在不同的文件系统中挂载了lxc和缓存。fstab文件中的条目:
/home/lxclib /var/lib/lxc none defaults, bind 0 0 /home/lxccache /var/cache/lxc none defaults, bind 0 0编辑:在所有三个容器启动时,我都更新了lxc,这是问题吗?
发布于 2013-11-22 13:35:17
解决问题:
我必须在所有容器中从主机中添加这些行在/var/lib/lxc/ContainerOne/fstab中
/sys/fs/fuse/connections /sys/fs/fuse/connections none bind 0 0
/sys/kernel/debug /sys/kernel/debug none bind 0 0
/sys/kernel/security /sys/kernel/security none bind 0 0
/sys/fs/pstore /sys/fs/pstore none bind,optional 0 0https://askubuntu.com/questions/380709
复制相似问题