Comment 37 for bug 1543951

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to packages/trusty/libvirt (9.0)

Reviewed: https://review.fuel-infra.org/20674
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0

Commit: 5639d6ba7d73febec521ca8548edb8670d4c6b8f
Author: Dmitry Teselkin <email address hidden>
Date: Mon May 16 07:44:07 2016

Fix reading libvirt default config on start

On debian systems /etc/default/libvirtd should be used
for setting daemon configuration options. The important
option is -l [listen]. The second config file
/etc/libvirt/libvirtd.conf is used as well.
The root cause of the LP#1576688 was missing of reading
config parameters from config files when migrated to the
Upstart

While at it make sure /var/run/libvirt directory exists
before starting libvirtd (the content of /var/run is not
preserved across reboots) so the daemon can start after
rebooting the host.

Change-Id: I1cd150a9285244d19d64e44737caf89d38703f23
Closes-bug: #1576688
Closes-bug: #1543951
(cherry picked from commit eb63fba049c18cd2ea860b8c9ef05c04c0f10dd5)