提交 b71d10cc 编写于 作者: G Guido Günther

virt-host-validate: require fuse for LXC if compiled in

Domains fail to start without fuse like

  error: internal error: guest failed to start: fuse: device not found, try 'modprobe fuse' first
  Failure in libvirt_lxc startup: no error

so check for it too.

References: https://ci.debian.net/data/autopkgtest/unstable/amd64/libv/libvirt/20171012_105903/log.gzReviewed-by: NDaniel P. Berrange <berrange@redhat.com>
上级 79b7ac43
......@@ -93,5 +93,12 @@ int virHostValidateLXC(void)
"BLK_CGROUP") < 0)
ret = -1;
#if WITH_FUSE
if (virHostValidateDeviceExists("LXC", "/sys/fs/fuse/connections",
VIR_HOST_VALIDATE_FAIL,
_("Load the 'fuse' module to enable /proc/ overrides")) < 0)
ret = -1;
#endif
return ret;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册