1. 10 Sep, 2015 1 commit
  2. 08 Sep, 2015 1 commit
  3. 07 Sep, 2015 5 commits
  4. 03 Sep, 2015 1 commit
    • Cédric Bosdonnat's avatar
      Add ext4 module to QEMU initrd · 559b54dc
      Cédric Bosdonnat authored
      Some distros don't have ext4 built in their kernel, but as a module.
      Make sure the ext4 module is loaded or we will fail loading root
      host-images on those distros.
  5. 24 Aug, 2015 3 commits
    • Cédric Bosdonnat's avatar
      Create /dev/fd symlink to /proc/self/fd · 82cc162b
      Cédric Bosdonnat authored
      Some applications and scripts are using /dev/fd. Netconfig and
      openSUSE network scripts are in such a case, getting the symlink makes
      them work.
      Note that this doesn't need to be done for the LXC case as libvirt
      already does it for us.
    • Cédric Bosdonnat's avatar
      Only show dhclient output in debug mode. · 5fe78836
      Cédric Bosdonnat authored
      We surely don't want to mix dhclient and user's command output,
      make sure dhclient is verbose only if LIBVIRT_SANDBOX_DEBUG is set
      to 2.
    • Cédric Bosdonnat's avatar
      Add af_packet module for dhclient to work · daa2665b
      Cédric Bosdonnat authored
      dhclient requires the af_packet to be loaded to work. Some distros
      have it built-in, others like openSUSE have it as a module. Adding
      the module to the init image, makes sure we have it. Of course no
      error should be raised if the module can't be found.
  6. 01 Jul, 2015 5 commits
    • Daniel P. Berrange's avatar
    • Daniel P. Berrange's avatar
    • Cédric Bosdonnat's avatar
      Get gvir_sandbox_util_guess_image_format search for the last '.' · afd44ce3
      Cédric Bosdonnat authored
      gvir_sandbox_util_guess_image_format is failing to find the extension
      in paths like /tmp/tmp.mg0tQ1JLFl/mine.img
    • Cédric Bosdonnat's avatar
      Cleanup the disks.cfg file · 7995d0c1
      Cédric Bosdonnat authored
      The newly introduced disks.cfg file is still remaining in the
      configuration folder after the sandbox is stopped. Let's remove it like
      the other things there.
    • Daniel P. Berrange's avatar
      Ensure libvirt-sandbox-init-common uses correct ld-linux · 3d6b045e
      Daniel P. Berrange authored
      The libc.so library requires certainly functionality to be
      provided by the ld-linux.so library. The ld-linux.so is loaded
      by the kernel based on the PT_INTERP ELF section, and as such
      LD_LIBRARY_PATH has no effect.
      So, although libvirt-sandbox-init-{qemu,lxc} set LD_LIBRARY_PATH
      to force use of the libs from the host OS image, the common
      init program was stil using the ld-linux.so from the guest OS
      image. Sometimes this works, sometimes it breaks.
      When trying to run Fedora 19 as the root filesystem from a
      Fedora 22 host, it would break thus:
      /etc/libvirt-sandbox/scratch/.libs/libvirt-sandbox-init-common: relocation error: /etc/libvirt-sandbox/scratch/.libs/libc.so.6: symbol _dl_find_dso_for_object, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
      To deal with this we must ensure that we always invoke the
      libvirt-sandbox-init-common program using the ld-linux that
      was provided by the host OS image.
      The sandbox builder is tweaked so that it always copies the
      host ld-linux.so into the libs scratch directory, and gives
      it a predictable name 'ld.so', since every architecture seems
      to have a different name.
      The libvirt-sandbox-init-{lxc,qemu} files are changed so that
      instead of exec'ing libvirt-sandbox-init-common directly, they
      will load it via the ld.so file.
  7. 30 Jun, 2015 12 commits
  8. 26 Jun, 2015 11 commits
  9. 25 Jun, 2015 1 commit