Accepting request 236849 from network
1 OBS-URL: https://build.opensuse.org/request/show/236849 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpcbind?expand=0&rev=42
This commit is contained in:
commit
d694201aed
20
0028-rpcbind-after-var-run.patch
Normal file
20
0028-rpcbind-after-var-run.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
rpcbind service wants /var/run mounted before started
|
||||||
|
|
||||||
|
References: bnc#881518
|
||||||
|
Signed-off-by: Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
---
|
||||||
|
systemd/rpcbind.service.in | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
--- rpcbind-0.2.1_rc4/systemd/rpcbind.service.in
|
||||||
|
+++ rpcbind-0.2.1_rc4/systemd/rpcbind.service.in 2014-06-05 12:45:47.267340658 +0000
|
||||||
|
@@ -3,6 +3,8 @@ Description=RPC Bind
|
||||||
|
Documentation=man:rpcbind(8)
|
||||||
|
DefaultDependencies=no
|
||||||
|
Requires=rpcbind.socket
|
||||||
|
+Wants=var-run.mount
|
||||||
|
+After=var-run.mount
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=notify
|
22
0029-rpcbind-sd-notify-stupid-errmsg.patch
Normal file
22
0029-rpcbind-sd-notify-stupid-errmsg.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
A stupid error/debug thingie crept into the patch set which shouldn't be there.
|
||||||
|
Nuking it. See bnc#881663
|
||||||
|
|
||||||
|
Signed-off-by: okir@suse.de
|
||||||
|
|
||||||
|
---
|
||||||
|
src/rpcbind.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
Index: rpcbind-0.2.1_rc4/src/rpcbind.c
|
||||||
|
===================================================================
|
||||||
|
--- rpcbind-0.2.1_rc4.orig/src/rpcbind.c
|
||||||
|
+++ rpcbind-0.2.1_rc4/src/rpcbind.c
|
||||||
|
@@ -266,7 +266,7 @@ main(int argc, char *argv[])
|
||||||
|
* used systemd socket activation or not. When started from the command
|
||||||
|
* line, this should not hurt either.
|
||||||
|
*/
|
||||||
|
- rpcbind_log_error("sd_notify returns %d\n", sd_notify(0, "READY=1"));
|
||||||
|
+ sd_notify(0, "READY=1");
|
||||||
|
#endif
|
||||||
|
my_svc_run();
|
||||||
|
rpcbind_log_error("svc_run returned unexpectedly");
|
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 10 10:41:15 UTC 2014 - okir@suse.com
|
||||||
|
|
||||||
|
- 0029-rpcbind-sd-notify-stupid-errmsg.patch: Remove a useless
|
||||||
|
error/debug message (bnc#881663)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 5 12:55:45 UTC 2014 - werner@suse.de
|
||||||
|
|
||||||
|
- Add patch 0028-rpcbind-after-var-run.patch as rpcbind service
|
||||||
|
wants /var/run mounted before started (bnc#881518)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 21 13:56:14 UTC 2014 - werner@suse.de
|
Wed May 21 13:56:14 UTC 2014 - werner@suse.de
|
||||||
|
|
||||||
|
@ -32,6 +32,7 @@ BuildRequires: libtirpc-devel
|
|||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: tcpd-devel
|
BuildRequires: tcpd-devel
|
||||||
|
BuildRequires: pkgconfig(libsystemd-daemon)
|
||||||
PreReq: %fillup_prereq
|
PreReq: %fillup_prereq
|
||||||
Requires(pre): /usr/sbin/useradd
|
Requires(pre): /usr/sbin/useradd
|
||||||
|
|
||||||
@ -63,9 +64,10 @@ Patch23: 0024-rpcinfo-remove-obsolete-function-get_inet_address.patch
|
|||||||
Patch24: 0025-rpcinfo-warmstat_no-warning-about-missing-file.patch
|
Patch24: 0025-rpcinfo-warmstat_no-warning-about-missing-file.patch
|
||||||
Patch25: 0026-systemd-no-default-dep
|
Patch25: 0026-systemd-no-default-dep
|
||||||
Patch26: 0027-socket-before-service.patch
|
Patch26: 0027-socket-before-service.patch
|
||||||
|
Patch27: 0028-rpcbind-after-var-run.patch
|
||||||
|
Patch28: 0029-rpcbind-sd-notify-stupid-errmsg.patch
|
||||||
|
|
||||||
%define statefile /var/lib/portmap.state
|
%define statefile /var/lib/portmap.state
|
||||||
BuildRequires: pkgconfig(libsystemd-daemon)
|
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
Provides: portmap
|
Provides: portmap
|
||||||
|
|
||||||
@ -106,6 +108,8 @@ cp %{SOURCE4} .
|
|||||||
%patch24 -p0
|
%patch24 -p0
|
||||||
%patch25 -p1
|
%patch25 -p1
|
||||||
%patch26 -p1
|
%patch26 -p1
|
||||||
|
%patch27 -p1
|
||||||
|
%patch28 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
|
Loading…
Reference in New Issue
Block a user