Skip to content
Verified Commit 8173ce4b authored by Christian Ehrhardt's avatar Christian Ehrhardt
Browse files

d/libvirt-daemon-config-{network,nwfilter}.postinst: reload libvirtd before restart



Without this upgrades will trigger a warning level log entry like:
  Setting up libvirt-daemon-config-network (7.0.0-1ubuntu1~ppa1) ...
  Warning: The unit file, source configuration file or drop-ins of
  libvirtd.service changed on disk. Run 'systemctl daemon-reload' to
  reload units.

This is due to our restart of libvirtd.service, after unpacking
libvirt-daemon-system (owning libvirtd.service) but before (order implied by
the dependencies from libvirt-daemon-system -> libvirt-daemon-config-network)
configuring libvirt-daemon-system which otherwise would do this reload.

Signed-off-by: default avatarChristian Ehrhardt <christian.ehrhardt@canonical.com>
parent 56231e30
Loading
Loading
Loading
Pipeline #224170 passed with stages
in 19 minutes and 5 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment