Hello community, here is the log from the commit of package NetworkManager for openSUSE:Factory checked in at 2018-11-22 13:22:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/NetworkManager (Old) and /work/SRC/openSUSE:Factory/.NetworkManager.new.19453 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "NetworkManager" Thu Nov 22 13:22:57 2018 rev:191 rq:650343 version:1.14.4 Changes: -------- --- /work/SRC/openSUSE:Factory/NetworkManager/NetworkManager.changes 2018-11-08 09:45:32.989306934 +0100 +++ /work/SRC/openSUSE:Factory/.NetworkManager.new.19453/NetworkManager.changes 2018-11-22 13:23:03.854153808 +0100 @@ -1,0 +2,6 @@ +Tue Nov 20 07:02:46 UTC 2018 - [email protected] + +- Modify nfs script: Only mount/unmount when the file type is nfs + (bsc#1074074). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ NetworkManager.spec ++++++ --- /var/tmp/diff_new_pack.YsPPXZ/_old 2018-11-22 13:23:07.474150044 +0100 +++ /var/tmp/diff_new_pack.YsPPXZ/_new 2018-11-22 13:23:07.502150015 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # ++++++ nfs ++++++ --- /var/tmp/diff_new_pack.YsPPXZ/_old 2018-11-22 13:23:08.210149278 +0100 +++ /var/tmp/diff_new_pack.YsPPXZ/_new 2018-11-22 13:23:08.230149257 +0100 @@ -60,7 +60,11 @@ if /usr/bin/systemctl is-enabled nfs.service >/dev/null 2>&1; then printf %s "$NET_MOUNTS" | while IFS= read -r line; do MOUNT_POINT=$(echo $line | cut -f2 -d" ") - net_mount "$MOUNT_POINT" + FS_TYPE=$(echo $line | cut -f3 -d" ") + # Only mount it when the type is nfs + if [ "$FS_TYPE" == "nfs" ]; then + net_mount "$MOUNT_POINT" + fi done fi ;; @@ -68,11 +72,15 @@ printf %s "$NET_MOUNTS" | while IFS= read -r line; do [[ $line ]] || continue MOUNT_POINT=$(echo $line | cut -f2 -d" ") + FS_TYPE=$(echo $line | cut -f3 -d" ") HOST=$(echo $line | cut -f1 -d":") if other_reaches $HOST; then echo >&2 "Other network interfaces reach $HOST for $MOUNT_POINT." else - net_umount "$MOUNT_POINT" + # Only unmount it when the type is nfs + if [ "$FS_TYPE" == "nfs" ]; then + net_umount "$MOUNT_POINT" + fi fi done exit 0
