1. 16 1月, 2013 4 次提交
    • G
      libvirt: lxc: don't mkdir when selinux is disabled · 8d63af22
      Gao feng 提交于
      libvirt lxc will fail to start when selinux is disabled.
      error: Failed to start domain noroot
      error: internal error guest failed to start: PATH=/bin:/sbin TERM=linux container=lxc-libvirt container_uuid=b9873916-3516-c199-8112-1592ff694a9e LIBVIRT_LXC_UUID=b9873916-3516-c199-8112-1592ff694a9e LIBVIRT_LXC_NAME=noroot /bin/sh
      2013-01-09 11:04:05.384+0000: 1: info : libvirt version: 1.0.1
      2013-01-09 11:04:05.384+0000: 1: error : lxcContainerMountBasicFS:546 : Failed to mkdir /sys/fs/selinux: No such file or directory
      2013-01-09 11:04:05.384+0000: 7536: info : libvirt version: 1.0.1
      2013-01-09 11:04:05.384+0000: 7536: error : virLXCControllerRun:1466 : error receiving signal from container: Input/output error
      2013-01-09 11:04:05.404+0000: 7536: error : virCommandWait:2287 : internal error Child process (ip link del veth1) unexpected exit status 1: Cannot find device "veth1"
      
      fix this problem by checking if selinuxfs is mounted
      in host before we try to create dir /sys/fs/selinux.
      Signed-off-by: NGao feng <gaofeng@cn.fujitsu.com>
      8d63af22
    • E
      build: add new file, for lxc_protocol checking · 0899322d
      Eric Blake 提交于
      Commit 509eb51e added lxc_protocol.x; but without the initial
      checkin of src/lxc_protocol-structs, 'make check' would fail for
      anyone with pdwtags installed:
      make[3]: *** No rule to make target `lxc_protocol-structs', needed by `check-protocol'.  Stop.
      
      * src/lxc_protocol-structs: New file.
      0899322d
    • D
      Add implementation of virDomainLxcOpenNamespace to LXC driver · 2b1cd1f1
      Daniel P. Berrange 提交于
      The virDomainLxcOpenNamespace method needs to open every file
      in /proc/$INITPID/ns and return the open file descriptor to the
      client application.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      2b1cd1f1
    • D
      Implement the RPC protocol for the libvirt-lxc.la library · 509eb51e
      Daniel P. Berrange 提交于
      Add the infrastructure for the libvirt-lxc.la library to
      the remote protocol client and daemon
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      509eb51e
  2. 15 1月, 2013 14 次提交
  3. 14 1月, 2013 15 次提交
  4. 12 1月, 2013 2 次提交
  5. 11 1月, 2013 5 次提交