Hello community,

here is the log from the commit of package yast2-nfs-client for 
openSUSE:Factory checked in at 2019-02-28 21:47:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-nfs-client (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-nfs-client.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-nfs-client"

Thu Feb 28 21:47:28 2019 rev:77 rq:679801 version:4.1.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-nfs-client/yast2-nfs-client.changes        
2018-12-31 09:45:55.658239250 +0100
+++ 
/work/SRC/openSUSE:Factory/.yast2-nfs-client.new.28833/yast2-nfs-client.changes 
    2019-02-28 21:47:29.541420330 +0100
@@ -1,0 +2,6 @@
+Wed Feb 27 12:04:37 UTC 2019 - [email protected]
+
+- Use /sbin/rpcinfo only, /usr/sbin/rpcinfo is gone (bsc#1127138).
+- 4.1.5
+
+-------------------------------------------------------------------

Old:
----
  yast2-nfs-client-4.1.4.tar.bz2

New:
----
  yast2-nfs-client-4.1.5.tar.bz2

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

Other differences:
------------------
++++++ yast2-nfs-client.spec ++++++
--- /var/tmp/diff_new_pack.n0z9je/_old  2019-02-28 21:47:30.165420063 +0100
+++ /var/tmp/diff_new_pack.n0z9je/_new  2019-02-28 21:47:30.165420063 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package yast2-nfs-client
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-nfs-client
-Version:        4.1.4
+Version:        4.1.5
 Release:        0
 Url:            https://github.com/yast/yast-nfs-client
 

++++++ yast2-nfs-client-4.1.4.tar.bz2 -> yast2-nfs-client-4.1.5.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-nfs-client-4.1.4/package/yast2-nfs-client.changes 
new/yast2-nfs-client-4.1.5/package/yast2-nfs-client.changes
--- old/yast2-nfs-client-4.1.4/package/yast2-nfs-client.changes 2018-12-28 
12:02:19.000000000 +0100
+++ new/yast2-nfs-client-4.1.5/package/yast2-nfs-client.changes 2019-02-27 
13:39:45.000000000 +0100
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Wed Feb 27 12:04:37 UTC 2019 - [email protected]
+
+- Use /sbin/rpcinfo only, /usr/sbin/rpcinfo is gone (bsc#1127138).
+- 4.1.5
+
+-------------------------------------------------------------------
 Fri Dec 28 11:54:27 CET 2018 - [email protected]
 
 - Handle NFS version 4.2 (bsc#1118779).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-nfs-client-4.1.4/package/yast2-nfs-client.spec 
new/yast2-nfs-client-4.1.5/package/yast2-nfs-client.spec
--- old/yast2-nfs-client-4.1.4/package/yast2-nfs-client.spec    2018-12-28 
12:02:19.000000000 +0100
+++ new/yast2-nfs-client-4.1.5/package/yast2-nfs-client.spec    2019-02-27 
13:39:45.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-nfs-client
-Version:        4.1.4
+Version:        4.1.5
 Release:        0
 Url:            https://github.com/yast/yast-nfs-client
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-nfs-client-4.1.4/src/modules/Nfs.rb 
new/yast2-nfs-client-4.1.5/src/modules/Nfs.rb
--- old/yast2-nfs-client-4.1.4/src/modules/Nfs.rb       2018-12-28 
12:02:19.000000000 +0100
+++ new/yast2-nfs-client-4.1.5/src/modules/Nfs.rb       2019-02-27 
13:39:45.000000000 +0100
@@ -553,20 +553,10 @@
     # Uses RPC broadcast to mountd.
     # @return [Array<String>] a list of hostnames
     def ProbeServers
-      # newer, shinier, better rpcinfo from rpcbind (#450056)
-      prog_name = "/sbin/rpcinfo"
-      delim = ""
-
-      # fallback from glibc (uses different field separators, grr :( )
-      # TODO: looks like glibc no longer contain this fallback?
-      if !FileUtils.Exists(prog_name)
-        prog_name = "/usr/sbin/rpcinfo"
-        delim = "-d ' ' "
-      end
-
       # #71064
       # this works also if ICMP broadcasts are ignored
-      cmd = "#{prog_name} -b mountd 1 | /usr/bin/cut #{delim} -f 2 | 
/usr/bin/sort -u"
+      # newer, shinier, better rpcinfo from rpcbind (#450056)
+      cmd = "/sbin/rpcinfo -b mountd 1 | /usr/bin/cut -f 2 | /usr/bin/sort -u"
       out = Convert.to_map(SCR.Execute(path(".target.bash_output"), cmd))
       Ops.get_string(out, "stdout", "").lines.map(&:strip).reject(&:empty?)
     end


Reply via email to