Hello community,

here is the log from the commit of package NetworkManager for openSUSE:Factory 
checked in at 2016-01-08 15:39:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/NetworkManager (Old)
 and      /work/SRC/openSUSE:Factory/.NetworkManager.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "NetworkManager"

Changes:
--------
--- /work/SRC/openSUSE:Factory/NetworkManager/NetworkManager.changes    
2015-09-08 17:37:58.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.NetworkManager.new/NetworkManager.changes       
2016-01-08 15:39:20.000000000 +0100
@@ -1,0 +2,82 @@
+Wed Jan  6 10:25:22 UTC 2016 - zai...@opensuse.org
+
+- Add nm-ppp-manager-clear-ppp_watch_id.patch and
+  nm-update-ip_iface-only-if-IP-interface-exists.patch: Patches
+  from upstream git cherrypicked to stable branch from master.
+
+-------------------------------------------------------------------
+Wed Jan  6 09:51:54 UTC 2016 - dims...@opensuse.org
+
+- Add NetworkManager-openvpn-route-configuration.patch: Fix routes
+  not being applied when connecting to openVPN.
+
+-------------------------------------------------------------------
+Sun Jan  3 21:38:13 UTC 2016 - damjanovic....@gmail.com
+
+- Add explicit pkgconfig(libteam) BuildRequires: force team
+  connection support.
+
+-------------------------------------------------------------------
+Wed Dec 23 20:39:00 UTC 2015 - dims...@opensuse.org
+
+- Update to version 1.0.10:
+  + Added support for handling VPN secrets to nmtui and nmcli agent.
+  + Fixed a regression that caused NetworkManager to ignore
+    external deletion of a device with master.
+  + Fixed glitches with older versions of glib (prior to 2.36.0).
+  + Fixed build with most recent versions of libsoup.
+  + Fixed busy retry loop on non-transient errors from
+    wpa_supplicant.
+  + Improvements to testing infrastructure.
+  + Updated translations.
+
+-------------------------------------------------------------------
+Tue Nov 24 17:22:16 UTC 2015 - zai...@opensuse.org
+
+- Update to version 1.0.8:
+  + MTU indicated by a VPN gateway is now properly applied.
+  + Fixed MSS setting when MTU changes.
+  + The default route is properly restored on device disconnect.
+  + Build with older toolchains has been fixed.
+  + The team devices can now properly be enslaved to bridges.
+  + Failed DHCP attempts for assumed connections are now retried
+    after a timeout.
+  + Default wired connection is now created after udev registers
+    the device.
+  + Support for Bluetooth DUN devices with Bluez 5 has been fixed.
+  + The ipv6.ignore-auto-dns property is now properly honored
+    making it possible to override automatically obtained name
+    servers.
+  + Invalid permanent MAC adddresses as reported by some devices
+    are now ignored.
+  + Device links reported by more recent versions of Linux kernel
+    that reside in different network namespaces are no longer
+    confused with links in the namespace NetworkManager runs in.
+  + MAC address changes of VLANs enslaved to a bond are now
+    properly propagated to the master device.
+  + Fixed error handling for teaming devices with invalid
+    configuration.
+  + Wi-Fi AP list is now updated correctly after AP mode has been
+    used.
+  + Management of a device is not attempted until the device has
+    been registered with udev.
+  + The error handling for VPN secret agents is now significantly
+    more robust.
+  + Detection of s390 CTC devices now works properly.
+  + A GATEWAY property in /etc/sysconfig/network now no longer
+    affects non-static connections.
+  + Added support for IPv6-only VPN connections.
+  + The systemd service now uses HUP signal to reload
+    configuration.
+  + Change VLAN default flags to set REORDER_HDR for new
+    connections.
+  + nmtui is now able to ignore automatically configured routes.
+  + Numerous bash shell autocompletion fixes for nmcli.
+  + Allow setting IPv6 and PPP settings for GSM and CDMA
+    connections via nmcli.
+  + Added support for adding ADSL connections in nmcli.
+  + Numerous crash fixes.
+  + Updated translations.
+- Rebase NetworkManager-geoclue-interaction.patch.
+
+-------------------------------------------------------------------

Old:
----
  NetworkManager-1.0.6.tar.xz

New:
----
  NetworkManager-1.0.10.tar.xz
  NetworkManager-openvpn-route-configuration.patch
  nm-ppp-manager-clear-ppp_watch_id.patch
  nm-update-ip_iface-only-if-IP-interface-exists.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ NetworkManager.spec ++++++
--- /var/tmp/diff_new_pack.ua2tBw/_old  2016-01-08 15:39:21.000000000 +0100
+++ /var/tmp/diff_new_pack.ua2tBw/_new  2016-01-08 15:39:21.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package NetworkManager
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
 
 Name:           NetworkManager
 Url:            http://www.gnome.org/projects/NetworkManager/
-Version:        1.0.6
+Version:        1.0.10
 Release:        0
 Summary:        Network Link Manager and User Applications
 License:        GPL-2.0+
@@ -46,6 +46,12 @@
 Patch5:         nm-probe-radius-server-cert.patch
 # PATCH-FIX-OPENSUSE NetworkManager-geoclue-interaction.patch 
dims...@opensuse.org -- Allow the user "srvGeoClue" to query NetworkManager on 
the dbus
 Patch6:         NetworkManager-geoclue-interaction.patch
+# PATCH-FIX-UPSTREAM NetworkManager-openvpn-route-configuration.patch 
dims...@opensuse.org -- Fix routes not being applied when connecting to openvpn
+Patch7:         NetworkManager-openvpn-route-configuration.patch
+# PATCH-FIX-UPSTREAM nm-ppp-manager-clear-ppp_watch_id.patch 
zai...@opensuse.org -- ppp-manager: clear @ppp_watch_id upon pppd termination
+Patch8:         nm-ppp-manager-clear-ppp_watch_id.patch
+# PATCH-FIX-UPSTREAM nm-update-ip_iface-only-if-IP-interface-exists.patch 
rh#1268617 zai...@opensuse.org -- If @ip_ifindex is zero, the IP interface has 
disappeared and there's no point in updating @ip_iface.
+Patch9:         nm-update-ip_iface-only-if-IP-interface-exists.patch
 BuildRequires:  fdupes
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  gtk-doc
@@ -77,10 +83,11 @@
 BuildRequires:  pkgconfig(libnl-3.0) >= 3.2.8
 BuildRequires:  pkgconfig(libnl-genl-3.0)
 BuildRequires:  pkgconfig(libnl-route-3.0)
-BuildRequires:  pkgconfig(libsoup-2.4) >= 2.26
+BuildRequires:  pkgconfig(libsoup-2.4) >= 2.40
 %if %{with_systemd}
 BuildRequires:  pkgconfig(libsystemd) >= 209
 %endif
+BuildRequires:  pkgconfig(libteam)
 BuildRequires:  pkgconfig(mm-glib) >= 0.7.991
 BuildRequires:  pkgconfig(nss)
 BuildRequires:  pkgconfig(polkit-agent-1) >= 0.97
@@ -230,6 +237,9 @@
 %patch5 -p1
 %endif
 %patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
 
 %build
 pppddir=`ls -1d /usr/%_lib/pppd/2*`
@@ -371,6 +381,7 @@
 %{_libdir}/NetworkManager/libnm-device-plugin-wifi.so
 %{_libdir}/NetworkManager/libnm-device-plugin-wwan.so
 %{_libdir}/NetworkManager/libnm-settings-plugin-ibft.so
+%{_libdir}/NetworkManager/libnm-device-plugin-team.so
 %dir %{_libdir}/pppd/2.*
 %{_libdir}/pppd/2.*/nm-pppd-plugin.*
 %{_libexecdir}/nm-avahi-autoipd.action
@@ -391,6 +402,7 @@
 %{_unitdir}/NetworkManager-wait-online.service
 %dir %{_unitdir}/network-online.target.wants
 %{_unitdir}/network-online.target.wants/NetworkManager-wait-online.service
+%{_udevdir}/rules.d/84-nm-drivers.rules
 %{_udevdir}/rules.d/85-nm-unmanaged.rules
 %ghost %config(noreplace) /var/log/NetworkManager
 

++++++ NetworkManager-1.0.6.tar.xz -> NetworkManager-1.0.10.tar.xz ++++++
++++ 661707 lines of diff (skipped)

++++++ NetworkManager-geoclue-interaction.patch ++++++
--- /var/tmp/diff_new_pack.ua2tBw/_old  2016-01-08 15:39:24.000000000 +0100
+++ /var/tmp/diff_new_pack.ua2tBw/_new  2016-01-08 15:39:24.000000000 +0100
@@ -2,12 +2,13 @@
 ===================================================================
 --- NetworkManager-0.9.10.0.orig/src/org.freedesktop.NetworkManager.conf
 +++ NetworkManager-0.9.10.0/src/org.freedesktop.NetworkManager.conf
-@@ -28,6 +28,9 @@
-                 <allow 
send_destination="org.freedesktop.NetworkManager.l2tp"/>
-                 <allow 
send_destination="org.freedesktop.NetworkManager.libreswan"/>
+@@ -30,6 +30,9 @@
+                 <allow 
send_destination="org.freedesktop.NetworkManager.fortisslvpn"/>
+                 <allow 
send_destination="org.freedesktop.NetworkManager.strongswan"/>
          </policy>
 +        <policy user="srvGeoClue">
 +                <allow send_destination="org.freedesktop.NetworkManager"/>
 +        </policy>
          <policy context="default">
                  <deny own="org.freedesktop.NetworkManager"/>
+

++++++ NetworkManager-openvpn-route-configuration.patch ++++++
>From 11aa07ed939193e85516c287a57dee1837242972 Mon Sep 17 00:00:00 2001
From: Thomas Haller <thal...@redhat.com>
Date: Mon, 4 Jan 2016 18:54:26 +0100
Subject: core: fix failure to configure routes due to wrong device-route for
 IPv4 peer-addresses

As in the case of a OpenVPN connection, we might add an address like:
  10.8.0.58/32 ptp 10.8.0.57

In this case, kernel would automatically add a device-route like:
  10.8.0.57/32 via 0.0.0.0 dev 32 metric 0 mss 0 src rtprot-kernel scope link 
pref-src 10.8.0.58

nm_ip4_config_commit() checks all IP addresses to figure out
the present device-routes. Then the routes are synced by NMRouteManager.
Due to a bug, we would not consider the peer-address, but the local-address
and configure a route 10.8.0.58/32, instead of 10.8.0.57/32.

That stays mostly unnoticed, because usually the peer and the local-address are
in the same subnet, so that there is no difference (/32 is an example of the
peer-address being in a different subnet).

It also seems that due to a bug fixed by df4e5357521 this issue didn't surface.
Probably because we would not notice the 10.8.0.57/32 right away and thus
nm_route_manager_ip4_route_sync() would not wrongly delete it.

https://bugzilla.gnome.org/show_bug.cgi?id=759892

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809195
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809494
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809526
https://bugs.archlinux.org/task/47535
https://bugzilla.redhat.com/show_bug.cgi?id=1294309
https://mail.gnome.org/archives/networkmanager-list/2015-December/msg00059.html

diff --git a/src/nm-ip4-config.c b/src/nm-ip4-config.c
index f625d35..61e29af 100644
--- a/src/nm-ip4-config.c
+++ b/src/nm-ip4-config.c
@@ -298,7 +298,8 @@ nm_ip4_config_commit (const NMIP4Config *config, int 
ifindex, gboolean routes_fu
 
                                route.ifindex = ifindex;
                                route.source = NM_IP_CONFIG_SOURCE_KERNEL;
-                               route.network = 
nm_utils_ip4_address_clear_host_address (addr->address, addr->plen);
+                               route.network = 
nm_utils_ip4_address_clear_host_address (addr->peer_address ? : addr->address,
+                                                                               
         addr->plen);
                                route.plen = addr->plen;
                                route.pref_src = addr->address;
                                route.metric = default_route_metric;
-- 
cgit v0.10.2


++++++ nm-ppp-manager-clear-ppp_watch_id.patch ++++++
>From 8204c2a1968f757599c5ebec9a85efaacb0e522a Mon Sep 17 00:00:00 2001
From: Beniamino Galvani <bgalv...@redhat.com>
Date: Mon, 4 Jan 2016 14:18:02 +0100
Subject: ppp-manager: clear @ppp_watch_id upon pppd termination

Set @ppp_watch_id to zero upon pppd termination, otherwise the call to
g_source_remove(priv->ppp_watch_id) in dispose() could trigger a failed
assertion.

(cherry picked from commit 5f93f0101538db39efe0f9ea2316e63bff953bf0)

diff --git a/src/ppp-manager/nm-ppp-manager.c b/src/ppp-manager/nm-ppp-manager.c
index d27b262..85ca9c5 100644
--- a/src/ppp-manager/nm-ppp-manager.c
+++ b/src/ppp-manager/nm-ppp-manager.c
@@ -828,6 +828,7 @@ ppp_watch_cb (GPid pid, gint status, gpointer user_data)
 
        nm_log_dbg (LOGD_PPP, "pppd pid %d cleaned up", priv->pid);
        priv->pid = 0;
+       priv->ppp_watch_id = 0;
        g_signal_emit (manager, signals[STATE_CHANGED], 0, NM_PPP_STATUS_DEAD);
 }
 
-- 
cgit v0.10.2

++++++ nm-update-ip_iface-only-if-IP-interface-exists.patch ++++++
>From cbcb848e6d4f4e8c4aa11c80f1f3dbb7fb2d397e Mon Sep 17 00:00:00 2001
From: Beniamino Galvani <bgalv...@redhat.com>
Date: Mon, 4 Jan 2016 14:22:01 +0100
Subject: device: update @ip_iface only if IP interface exists

If @ip_ifindex is zero, the IP interface has disappeared and
there's no point in updating @ip_iface.

Actually, unconditionally updating @ip_iface is dangerous because it
breaks the assumption used by other functions (as
nm_device_get_ip_ifindex()) that a non-NULL @ip_iface implies a valid
@ip_ifindex. This was causing the scary failure:

  devices/nm-device.c:666:get_ip_iface_identifier: assertion failed: (ifindex)

https://bugzilla.redhat.com/show_bug.cgi?id=1268617
(cherry picked from commit ed536998f9530698ff3082fc5587dbeb7d3a594f)

diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index bb39ca5..4413e92 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -1526,12 +1526,13 @@ device_ip_link_changed (NMDevice *self)
 {
        NMDevicePrivate *priv = NM_DEVICE_GET_PRIVATE (self);
        const NMPlatformLink *pllink;
-       int ip_ifindex;
 
        priv->device_ip_link_changed_id = 0;
 
-       ip_ifindex = nm_device_get_ip_ifindex (self);
-       pllink = nm_platform_link_get (NM_PLATFORM_GET, ip_ifindex);
+       if (!priv->ip_ifindex)
+               return G_SOURCE_REMOVE;
+
+       pllink = nm_platform_link_get (NM_PLATFORM_GET, priv->ip_ifindex);
        if (!pllink)
                return G_SOURCE_REMOVE;
 
-- 
cgit v0.10.2


Reply via email to