Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2019-06-17 10:32:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and      /work/SRC/openSUSE:Factory/.rpcbind.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rpcbind"

Mon Jun 17 10:32:31 2019 rev:60 rq:709748 version:1.2.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2018-12-27 
00:23:21.555958751 +0100
+++ /work/SRC/openSUSE:Factory/.rpcbind.new.4811/rpcbind.changes        
2019-06-17 10:32:39.797285361 +0200
@@ -1,0 +2,10 @@
+Wed Jun 12 08:11:40 UTC 2019 - Thomas Blume <[email protected]>
+
+- change rpcbind locking path from /var/run/rpcbind.lock to 
+  /run/rpcbind.lock (bsc#1134659)
+  add 0001-change-lockingdir-to-run.patch
+- change the order of socket/service in the %postun scriptlet to
+  avoid an error from rpcbind.socket when rpcbind is running 
+  during package update
+
+-------------------------------------------------------------------

New:
----
  0001-change-lockingdir-to-run.patch

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

Other differences:
------------------
++++++ rpcbind.spec ++++++
--- /var/tmp/diff_new_pack.MPYVkZ/_old  2019-06-17 10:32:41.737284374 +0200
+++ /var/tmp/diff_new_pack.MPYVkZ/_new  2019-06-17 10:32:41.741284372 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rpcbind
 #
-# 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
@@ -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 http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -32,6 +32,7 @@
 Source2:        sysconfig.rpcbind
 Source4:        pmap_set.c
 Patch1:         0001-systemd-unit-files.patch
+Patch2:         0001-change-lockingdir-to-run.patch
 Patch31:        0031-rpcbind-manpage.patch
 BuildRequires:  libtirpc-devel >= 1.0.1
 BuildRequires:  libtool
@@ -59,6 +60,7 @@
 %setup -q
 cp %{SOURCE4} .
 %patch1 -p1
+%patch2 -p1
 %patch31 -p1
 
 %build
@@ -102,10 +104,10 @@
 
 %post
 %{fillup_only -n rpcbind}
-%service_add_post %{name}.service %{name}.socket
+%service_add_post %{name}.socket %{name}.service
 
 %postun
-%service_del_postun %{name}.service %{name}.socket
+%service_del_postun %{name}.socket %{name}.service
 
 %files
 %license COPYING

++++++ 0001-change-lockingdir-to-run.patch ++++++
>From 4d32e143124fa47466bbc91f54067674f212c3e3 Mon Sep 17 00:00:00 2001
From: Thomas Blume <[email protected]>
Date: Wed, 12 Jun 2019 10:09:01 +0200
Subject: [PATCH] change lockingdir to /run

---
 src/rpcbind.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rpcbind.c b/src/rpcbind.c
index cc848b1..65054ff 100644
--- a/src/rpcbind.c
+++ b/src/rpcbind.c
@@ -106,7 +106,7 @@ char *nss_modules = "files";
 /* who to suid to if -s is given */
 #define RUN_AS  "daemon"
 
-#define RPCBINDDLOCK "/var/run/rpcbind.lock"
+#define RPCBINDDLOCK "/run/rpcbind.lock"
 
 int runasdaemon = 0;
 int insecure = 0;
-- 
2.16.4


Reply via email to