Hello community, here is the log from the commit of package libvirt for openSUSE:Factory checked in at 2015-03-19 21:20:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libvirt (Old) and /work/SRC/openSUSE:Factory/.libvirt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libvirt" Changes: -------- --- /work/SRC/openSUSE:Factory/libvirt/libvirt.changes 2015-03-18 13:06:05.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libvirt.new/libvirt.changes 2015-03-19 21:20:09.000000000 +0100 @@ -1,0 +2,7 @@ +Mon Mar 16 17:17:49 MDT 2015 - [email protected] + +- Fix crash in libnetcontrol-backed interface driver + Modified libvirt-suse-netcontrol.patch + boo#920551 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libvirt-suse-netcontrol.patch ++++++ --- /var/tmp/diff_new_pack.uw7Mdy/_old 2015-03-19 21:20:11.000000000 +0100 +++ /var/tmp/diff_new_pack.uw7Mdy/_new 2015-03-19 21:20:11.000000000 +0100 @@ -134,37 +134,17 @@ static void virNetcfDriverStateDispose(void *obj) -@@ -87,7 +123,22 @@ netcfStateInitialize(bool privileged ATT +@@ -87,6 +123,10 @@ netcfStateInitialize(bool privileged ATT if (!(driver = virObjectLockableNew(virNetcfDriverStateClass))) return -1; +#ifdef WITH_NETCONTROL + nc_logger_redirect_to(interface_nc_log_driver); ++#endif + /* open netcf */ -+ /* Note: On SUSE, ncf_init will fail if Network Manager is enabled. Ignore -+ * the failure so libvirtd will still start. Connections to the driver will -+ * fail in netcfInterfaceOpen. This restores the behavior before -+ * commit 822fe136. -+ */ -+ if (ncf_init(&driver->netcf, NULL) != 0) { -+ VIR_WARN("Failed to initialize netcontrol. Continuing with network " -+ "interface management features disabled"); -+ virObjectUnref(driver); -+ driver = NULL; -+ } -+#else if (ncf_init(&driver->netcf, NULL) != 0) { virReportError(VIR_ERR_INTERNAL_ERROR, "%s", - _("failed to initialize netcf")); -@@ -95,6 +146,7 @@ netcfStateInitialize(bool privileged ATT - driver = NULL; - return -1; - } -+#endif - return 0; - } - Index: libvirt-1.2.13/src/interface/interface_driver.c =================================================================== --- libvirt-1.2.13.orig/src/interface/interface_driver.c -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
