1. 19 7月, 2016 1 次提交
  2. 30 6月, 2016 1 次提交
  3. 24 6月, 2016 2 次提交
  4. 05 5月, 2016 5 次提交
    • C
      Prep for release 1.2.18.3 · 99f80c55
      Cole Robinson 提交于
      99f80c55
    • A
      spec: Use proper indentation · 7b2ebecb
      Andrea Bolognani 提交于
      Commit 1d440008 added some code that was not indented properly
      and broke syntax-check. Fix it.
      
      (cherry picked from commit a528ae7f)
      7b2ebecb
    • C
      spec: If installing default network, restart libvirtd · 4df52fea
      Cole Robinson 提交于
      If libvirt-daemon-config-network is installed while libvirtd is already
      running, the daemon doesn't notice the network. Users then have to
      manually restart libvirtd (or reboot) to pick up the network.
      
      Instead let's trigger a daemon restart when the package is first installed.
      Then the default network is available immediately if libvirtd was already
      running.
      
      https://bugzilla.redhat.com/show_bug.cgi?id=867546
      (cherry picked from commit 1d440008)
      4df52fea
    • B
      rpc: Don't leak fd via CreateXMLWithFiles · 5c3be428
      Ben Gray 提交于
      FD passing APIs like CreateXMLWithFiles or OpenGraphicsFD will leak
      file descriptors. The user passes in an fd, which is dup()'d in
      virNetClientProgramCall. The new fd is what is transfered to the
      server virNetClientIOWriteMessage.
      
      Once all the fds have been written though, the parent msg->fds list
      is immediately free'd, so the individual fds are never closed.
      
      This closes each FD as its send to the server, so all fds have been
      closed by the time msg->fds is free'd.
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1159766
      (cherry picked from commit 5ba48584)
      5c3be428
    • D
      libvirt.spec: remove duplicate files from -docs package · 99edd11a
      Daniel P. Berrange 提交于
      Previous commit moved some lists out of the -devel package
      and into the -docs package
      
        commit feffcc03
        Author: Cole Robinson <crobinso@redhat.com>
        Date:   Wed Apr 13 10:37:42 2016 -0400
      
          spec: Only pull in API docs with -devel package
      
      What was not realized is that the rule 'libvirt-docs/*'
      and ' docs/*.html docs/html docs/*.gif' actually point
      to the exact same content. ie, we had previously included
      the website HTML in *both* the -docs and -devel packages.
      
      So this change ended up listing the files twice, which
      caused RPM to print a load of warnings:
      
      warning: File listed twice: /usr/share/doc/libvirt-docs/html
      warning: File listed twice: /usr/share/doc/libvirt-docs/html/32favicon.png
      warning: File listed twice: /usr/share/doc/libvirt-docs/html/404.html
      warning: File listed twice: /usr/share/doc/libvirt-docs/html/acl.html
      warning: File listed twice: /usr/share/doc/libvirt-docs/html/aclpolkit.html
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      (cherry picked from commit d6c25c34)
      99edd11a
  5. 20 4月, 2016 6 次提交
  6. 14 4月, 2016 3 次提交
  7. 07 4月, 2016 1 次提交
    • D
      lxc: don't try to hide parent cgroups inside container · b4a32e51
      Daniel P. Berrange 提交于
      On the host when we start a container, it will be
      placed in a cgroup path of
      
         /machine.slice/machine-lxc\x2ddemo.scope
      
      under /sys/fs/cgroup/*
      
      Inside the containers' namespace we need to setup
      /sys/fs/cgroup mounts, and currently will bind
      mount /machine.slice/machine-lxc\x2ddemo.scope on
      the host to appear as / in the container.
      
      While this may sound nice, it confuses applications
      dealing with cgroups, because /proc/$PID/cgroup
      now does not match the directory in /sys/fs/cgroup
      
      This particularly causes problems for systems and
      will make it create repeated path components in
      the cgroup for apps run in the container eg
      
        /machine.slice/machine-lxc\x2ddemo.scope/machine.slice/machine-lxc\x2ddemo.scope/user.slice/user-0.slice/session-61.scope
      
      This also causes any systemd service that uses
      sd-notify to fail to start, because when systemd
      receives the notification it won't be able to
      identify the corresponding unit it came from.
      In particular this break rabbitmq-server startup
      
      Future kernels will provide proper cgroup namespacing
      which will handle this problem, but until that time
      we should not try to play games with hiding parent
      cgroups.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      (cherry picked from commit dc576025)
      b4a32e51
  8. 18 3月, 2016 8 次提交
  9. 12 2月, 2016 1 次提交
    • J
      virfile: Fix error path for forked virFileRemove · 58e916ff
      John Ferlan 提交于
      As it turns out the caller in this case expects a return < 0 for failure
      and to get/use "errno" rather than using the negative of returned status.
      Again different than the create path.
      
      If someone "deleted" a file from the pool without using virsh vol-delete,
      then the unlink/rmdir would return an error (-1) and set errno to ENOENT.
      The caller checks errno for ENOENT when determining whether to throw an
      error message indicating the failure.  Without the change, the error
      message is:
      
      error: Failed to delete vol $vol
      error: cannot unlink file '/$pathto/$vol': Success
      
      This patch thus allows the fork path to follow the non-fork path
      where unlink/rmdir return -1 and errno.
      
      (cherry picked from commit cb19cff4)
      58e916ff
  10. 21 1月, 2016 5 次提交
  11. 20 1月, 2016 1 次提交
  12. 05 1月, 2016 1 次提交
  13. 24 12月, 2015 5 次提交
新手
引导
客服 返回
顶部