Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2014-04-06 07:10:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and      /work/SRC/openSUSE:Factory/.rpcbind.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rpcbind"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2014-03-31 
20:43:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes     2014-04-06 
07:10:17.000000000 +0200
@@ -1,0 +2,9 @@
+Mon Mar 31 10:38:40 UTC 2014 - wer...@suse.de
+
+- Add 0027-socket-before-service.patch to make sure that always
+  the socket is up before the service.  This will make sure that
+  rpcbind.target will not only cause the socket but also the
+  rpcbind.service (bnc#860246)
+- Beside this ingnore exit state 2 in case of shutdown (bnc#860246)
+
+-------------------------------------------------------------------

New:
----
  0027-socket-before-service.patch

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

Other differences:
------------------
++++++ rpcbind.spec ++++++
--- /var/tmp/diff_new_pack.t1XSTU/_old  2014-04-06 07:10:18.000000000 +0200
+++ /var/tmp/diff_new_pack.t1XSTU/_new  2014-04-06 07:10:18.000000000 +0200
@@ -62,6 +62,7 @@
 Patch23:        0024-rpcinfo-remove-obsolete-function-get_inet_address.patch
 Patch24:        0025-rpcinfo-warmstat_no-warning-about-missing-file.patch
 Patch25:        0026-systemd-no-default-dep
+Patch26:        0027-socket-before-service.patch
 
 %define statefile /var/lib/portmap.state
 BuildRequires:  pkgconfig(systemd)
@@ -104,6 +105,7 @@
 %patch23 -p1
 %patch24 -p0
 %patch25 -p1
+%patch26 -p1
 
 %build
 autoreconf -fiv

++++++ 0027-socket-before-service.patch ++++++
Ignore exit state of two and also be sure that rpcbind.service will
trigger rpcbind.socket before its own start which the fulfill rpcbind.target

References: bnc#870158, bnc#860246
Signed-off-by: Werner Fink <wer...@suse.de>

---
 systemd/rpcbind.service.in |    3 +++
 systemd/rpcbind.socket     |    1 +
 2 files changed, 4 insertions(+)

--- rpcbind-0.2.1_rc4/systemd/rpcbind.service.in
+++ rpcbind-0.2.1_rc4/systemd/rpcbind.service.in        2014-03-31 
10:29:29.262735423 +0000
@@ -1,11 +1,14 @@
 [Unit]
 Description=RPC Bind
+Documentation=man:rpcbind(8)
 DefaultDependencies=no
+Requires=rpcbind.socket
 
 [Service]
 Type=notify
 EnvironmentFile=-/etc/sysconfig/rpcbind
 ExecStart=@bindir@/rpcbind $RPCBIND_OPTIONS -w -f
+SuccessExitStatus=2
 
 [Install]
 WantedBy=multi-user.target
--- rpcbind-0.2.1_rc4/systemd/rpcbind.socket
+++ rpcbind-0.2.1_rc4/systemd/rpcbind.socket    2014-03-31 10:30:12.799480612 
+0000
@@ -1,5 +1,6 @@
 [Unit]
 Description=RPCbind Server Activation Socket
+Documentation=man:rpcbind(8)
 DefaultDependencies=no
 Wants=rpcbind.target
 Before=rpcbind.target

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to