Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2013-07-02 07:44:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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  2013-05-07 
15:42:08.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes     2013-07-02 
07:44:27.000000000 +0200
@@ -1,0 +2,10 @@
+Thu Jun 27 21:36:52 UTC 2013 - [email protected]
+
+- rpcbind-systemd-notify.patch make systemd service type 
+  "notify" this is almost the same as the default but 
+  with the difference that the daemon now is able to
+  to notify systemd when it finished startup hence
+  avoiding a race condition in where startup is faster than
+  the process finishing its own internal setup routines.
+
+-------------------------------------------------------------------

New:
----
  rpcbind-systemd-notify.patch

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

Other differences:
------------------
++++++ rpcbind.spec ++++++
--- /var/tmp/diff_new_pack.XGNDze/_old  2013-07-02 07:44:27.000000000 +0200
+++ /var/tmp/diff_new_pack.XGNDze/_new  2013-07-02 07:44:27.000000000 +0200
@@ -38,6 +38,7 @@
 Patch2:         socket-activation-fix-rpcbind-service-to-use-separate-sockets
 Patch3:         rpcbind-journal.patch
 Patch4:         move-lock-file-to-run-fs.patch
+Patch5:         rpcbind-systemd-notify.patch
 %define statefile /var/lib/portmap.state
 BuildRequires:  pkgconfig(systemd)
 %{?systemd_requires}
@@ -65,6 +66,7 @@
 %patch2 -p1
 %patch3
 %patch4 -p1
+%patch5 -p1
 
 %build
 autoreconf -fiv

++++++ rpcbind-systemd-notify.patch ++++++
--- rpcbind-0.2.0_git201103171419.orig/src/rpcbind.c
+++ rpcbind-0.2.0_git201103171419/src/rpcbind.c
@@ -253,7 +253,9 @@ main(int argc, char *argv[])
 #endif
 
        network_init();
-
+#ifdef SYSTEMD
+    sd_notify(0, "READY=1");
+#endif
        my_svc_run();
        rpcbind_syslog(LOG_ERR, "svc_run returned unexpectedly");
        rpcbind_abort();
--- rpcbind-0.2.0_git201103171419.orig/systemd/rpcbind.service.in
+++ rpcbind-0.2.0_git201103171419/systemd/rpcbind.service.in
@@ -2,6 +2,7 @@
 Description=RPC Bind
 
 [Service]
+Type=notify
 ExecStart=@bindir@/rpcbind -w -f
 
 [Install]

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to