Hello community,

here is the log from the commit of package NetworkManager for openSUSE:Factory 
checked in at 2020-03-14 09:54:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/NetworkManager (Old)
 and      /work/SRC/openSUSE:Factory/.NetworkManager.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "NetworkManager"

Sat Mar 14 09:54:32 2020 rev:209 rq:784407 version:1.22.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/NetworkManager/NetworkManager.changes    
2020-02-22 19:02:39.561897390 +0100
+++ /work/SRC/openSUSE:Factory/.NetworkManager.new.3160/NetworkManager.changes  
2020-03-14 09:54:34.415076364 +0100
@@ -1,0 +2,16 @@
+Thu Mar 12 15:48:22 UTC 2020 - Bjørn Lie <[email protected]>
+
+- Update to version 1.22.10:
+  + core: periodically cleanup stale device state files from /run.
+  + dhcp: fix crash in nettools client.
+  + bond: fixed the validation of the miimon option.
+  + Various minor bug fixes and improvements.
+
+-------------------------------------------------------------------
+Wed Mar 11 08:24:26 UTC 2020 - Dr. Werner Fink <[email protected]>
+
+- Modify nfs script (boo#1164642)
+  * Also mount nfs4 shares
+  * Ignore nfs or nfs4 shares in case if the noauto option is set
+
+-------------------------------------------------------------------

Old:
----
  NetworkManager-1.22.8.tar.xz

New:
----
  NetworkManager-1.22.10.tar.xz

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

Other differences:
------------------
++++++ NetworkManager.spec ++++++
--- /var/tmp/diff_new_pack.eqn4wm/_old  2020-03-14 09:54:35.587077224 +0100
+++ /var/tmp/diff_new_pack.eqn4wm/_new  2020-03-14 09:54:35.587077224 +0100
@@ -22,7 +22,7 @@
 %define with_cacert_patch 0
 %define _udevdir %(pkg-config --variable udevdir udev)
 Name:           NetworkManager
-Version:        1.22.8
+Version:        1.22.10
 Release:        0
 Summary:        Network Link Manager and user applications for it
 License:        GPL-2.0-or-later

++++++ NetworkManager-1.22.8.tar.xz -> NetworkManager-1.22.10.tar.xz ++++++
++++ 5954 lines of diff (skipped)

++++++ nfs ++++++
--- /var/tmp/diff_new_pack.eqn4wm/_old  2020-03-14 09:54:37.327078502 +0100
+++ /var/tmp/diff_new_pack.eqn4wm/_new  2020-03-14 09:54:37.327078502 +0100
@@ -59,10 +59,15 @@
         # Check with systemd if nfs service is enabled
         if /usr/bin/systemctl is-enabled nfs-client.target >/dev/null 2>&1; 
then
             printf %s "$NET_MOUNTS" | while IFS= read -r line; do
+                MOUNT_OPTIONS=$(echo $line | cut -f4 -d" ")
                 MOUNT_POINT=$(echo $line | cut -f2 -d" ")
                 FS_TYPE=$(echo $line | cut -f3 -d" ")
-                # Only mount it when the type is nfs
-                if [ "$FS_TYPE" == "nfs" ]; then
+                # Only mount it if not "noauto "set in options
+                case ",${MOUNT_OPTIONS}," in
+                    *,noauto,*) continue ;;
+                esac
+                # Only mount it when the type is nfs or nfs4
+                if [ "$FS_TYPE" == "nfs" -o "$FS_TYPE" == "nfs4" ]; then
                     net_mount "$MOUNT_POINT"
                 fi
             done
@@ -77,8 +82,8 @@
             if other_reaches $HOST; then
                 echo >&2 "Other network interfaces reach $HOST for 
$MOUNT_POINT."
             else
-                # Only unmount it when the type is nfs
-                if [ "$FS_TYPE" == "nfs" ]; then
+                # Only unmount it when the type is nfs or nfs4
+                if [ "$FS_TYPE" == "nfs" -o "$FS_TYPE" == "nfs4" ]; then
                     net_umount "$MOUNT_POINT"
                 fi
             fi


Reply via email to