Browse code

Start virtlogd service

Ensure the virtlogd service is started, to work-around various
platform issues where it isn't started correctly.

Closes-Bug: #1603009
Change-Id: I548b377df6b2f0c287429e4387ee33184a82a64d

Janki Chhatbar authored on 2016/07/18 11:49:25
Showing 1 changed files
... ...
@@ -124,6 +124,12 @@ EOF
124 124
     # Service needs to be started on redhat/fedora -- do a restart for
125 125
     # sanity after fiddling the config.
126 126
     restart_service $LIBVIRT_DAEMON
127
+
128
+    # Restart virtlogd companion service to ensure it is running properly
129
+    #  https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1577455
130
+    #  https://bugzilla.redhat.com/show_bug.cgi?id=1290357
131
+    # (not all platforms have it; libvirt 1.3+ only, thus the ignore)
132
+    restart_service virtlogd || true
127 133
 }
128 134
 
129 135