1. 27 8月, 2019 1 次提交
    • D
      systemd: honour $runstatedir in socket unit files · cc5311e7
      Daniel P. Berrangé 提交于
      If a systemd socket uses /var/run in its path, systemd prints a warning
      at runtime
      
      [   15.139976] systemd[1]: /usr/lib/systemd/system/virtlockd.socket:5:
        ListenStream= references a path below legacy directory /var/run/,
        updating /var/run/libvirt/virtlockd-sock → /run/libvirt/virtlockd-sock;
        please update the unit file accordingly.
      
      This minimal change updates the socket unit files to honour the
      $runstatedir path.
      
      There's no functional change by default yet since both expressions
      expand to the same value.
      Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      cc5311e7
  2. 21 5月, 2019 1 次提交
  3. 20 9月, 2016 1 次提交
    • A
      virtlogd: Don't stop or restart along with libvirtd · f496ce1d
      Andrea Bolognani 提交于
      Commit 839a0608 tied the lifecycle of virtlogd more
      closely to that of libvirtd. Unfortunately, while starting
      virtlogd when libvirtd is started is definitely a good idea,
      restarting virtlogd or shutting it down at any time outside
      of system poweroff is not.
      
      Revert part of that commit by removing the PartOf= lines,
      meaning that only startup requests will be propagated from
      libvirtd to virtlogd.
      
      Resolves: https://bugzilla.redhat.com/1372576
      f496ce1d
  4. 06 9月, 2016 1 次提交
    • A
      virtlogd.socket: Tie lifecycle to libvirtd.service · 839a0608
      Andrea Bolognani 提交于
      We already guarantee that virtlogd.socket is enabled/disabled
      along with libvirtd.service, but if libvirtd.service has just
      been installed and is started before rebooting, then
      virtlogd.socket will not be running and guest startup will
      fail.
      
      Add Requires=virtlogd.socket to libvirtd.service to make sure
      virtlogd.socket is always started along with libvirtd.service,
      and add Before=libvirtd.service to both virtlogd.socket and
      virtlogd.service so that virtlogd never disappears before
      libvirtd has exited.
      
      Also add PartOf=libvirtd.service to both virtlogd.socket and
      virtlogd.service, so that virtlogd can be shut down when not
      needed.
      
      Resolves: https://bugzilla.redhat.com/1372576
      839a0608
  5. 26 11月, 2015 1 次提交