Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2014-03-11 09:23:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-02-15 
17:17:57.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes     2014-03-11 
09:23:54.000000000 +0100
@@ -1,0 +2,23 @@
+Tue Mar  4 17:55:01 UTC 2014 - co...@suse.com
+
+- fix typo in useradd call's user home dir
+
+-------------------------------------------------------------------
+Tue Mar  4 06:39:39 UTC 2014 - co...@suse.com
+
+- prereq useradd - called from %pre
+
+-------------------------------------------------------------------
+Wed Feb 26 16:10:49 CET 2014 - ku...@suse.de
+
+- Fix ownership of /var/lib/rpcbind, else rpcbind cannot write
+  warmstart files
+
+-------------------------------------------------------------------
+Wed Feb 26 15:27:45 CET 2014 - ku...@suse.de
+
+- Don't print error message about missing files in warmstart code
+  if we do a coldstart [bnc#865807]
+  (0025-rpcinfo-warmstat_no-warning-about-missing-file.patch)
+
+-------------------------------------------------------------------

New:
----
  0025-rpcinfo-warmstat_no-warning-about-missing-file.patch

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

Other differences:
------------------
++++++ rpcbind.spec ++++++
--- /var/tmp/diff_new_pack.O1E4tx/_old  2014-03-11 09:23:55.000000000 +0100
+++ /var/tmp/diff_new_pack.O1E4tx/_new  2014-03-11 09:23:55.000000000 +0100
@@ -33,6 +33,7 @@
 BuildRequires:  pkgconfig
 BuildRequires:  tcpd-devel
 PreReq:         %fillup_prereq
+Requires(pre):  /usr/sbin/useradd
 
 # The next three are from upstream, applied directly on top of rc4.
 Patch0:         0001-Fix-building-one-systems-w-out-nss.h.patch
@@ -59,6 +60,7 @@
 Patch21:        0022-rpcinfo-remove-obsolete-function-clnt_com_create.patch
 Patch22:        0023-Make-rpcinfo-p-support-IPv6-addresses-too.patch
 Patch23:        0024-rpcinfo-remove-obsolete-function-get_inet_address.patch
+Patch24:        0025-rpcinfo-warmstat_no-warning-about-missing-file.patch
 
 %define statefile /var/lib/portmap.state
 BuildRequires:  pkgconfig(systemd)
@@ -72,13 +74,6 @@
 UDP over IPv6. Moreover, rpcbind provides additional functions in
 regards to portmap.
 
-
-
-Authors:
---------
-    Gilles Quillard <gilles.quill...@bull.net>
-    Vincent ROQUETA <vincent.roqu...@ext.bull.net>
-
 %prep
 %setup -q
 cp %{SOURCE4} .
@@ -106,6 +101,7 @@
 %patch21 -p1
 %patch22 -p1
 %patch23 -p1
+%patch24 -p0
 
 %build
 autoreconf -fiv
@@ -143,7 +139,7 @@
 %service_add_pre %{name}.service %{name}.socket
 
 # Add "rpc" user
-getent passwd rpc >/dev/null || useradd -r -g nogroup -d /var/lib/emptry -s 
/sbin/nologin -c "user for rpcbind" rpc
+getent passwd rpc >/dev/null || /usr/sbin/useradd -r -g nogroup -d 
/var/lib/empty -s /sbin/nologin -c "user for rpcbind" rpc
 exit 0
 
 %preun
@@ -164,7 +160,7 @@
 /sbin/rpcinfo
 %{_sbindir}/rcrpcbind
 %{_mandir}/*/*
-%{_localstatedir}/lib/rpcbind
+%attr(-,rpc,root) %{_localstatedir}/lib/rpcbind
 /var/adm/fillup-templates/sysconfig.rpcbind
 %{_datadir}/omc/svcinfo.d/rpcbind.xml
 %{_unitdir}/%{name}.service

++++++ 0025-rpcinfo-warmstat_no-warning-about-missing-file.patch ++++++
--- src/warmstart.c
+++ src/warmstart.c     2014/02/26 14:18:39
@@ -106,9 +106,10 @@
                fprintf(stderr, "rpcbind: using '%s' startup file\n", filename);
 
        if ((fp = fopen(filename, "r")) == NULL) {
-               rpcbind_log_error(
-                       "Cannot open '%s' file for reading, errno %d (%s)", 
-                       filename, errno, strerror(errno));
+                if (errno != ENOENT)
+                       rpcbind_log_error(
+                          "Cannot open '%s' file for reading, errno %d (%s)", 
+                          filename, errno, strerror(errno));
                goto error;
        }
 

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

Reply via email to