Accepting request 228057 from network

- 0026-systemd-no-default-dep
  No default dependencies for rpcbind.  This allows it to start
  early when it might be needed.
  (bnc#860246) (forwarded request 227649 from neilbrown)

OBS-URL: https://build.opensuse.org/request/show/228057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpcbind?expand=0&rev=39
This commit is contained in:
Stephan Kulow 2014-03-31 18:43:14 +00:00 committed by Git OBS Bridge
commit 67eb40c285
3 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,30 @@
rpcbind needs to start before everything is setup, so DefaultDependencies
just get in the way
References: bnc#860246
Signed-off-by: NeilBrown <neilb@suse.de>
---
systemd/rpcbind.service.in | 1 +
systemd/rpcbind.socket | 1 +
2 files changed, 2 insertions(+)
--- rpcbind-0.2.1_rc4.orig/systemd/rpcbind.service.in
+++ rpcbind-0.2.1_rc4/systemd/rpcbind.service.in
@@ -1,5 +1,6 @@
[Unit]
Description=RPC Bind
+DefaultDependencies=no
[Service]
Type=notify
--- rpcbind-0.2.1_rc4.orig/systemd/rpcbind.socket
+++ rpcbind-0.2.1_rc4/systemd/rpcbind.socket
@@ -1,5 +1,6 @@
[Unit]
Description=RPCbind Server Activation Socket
+DefaultDependencies=no
Wants=rpcbind.target
Before=rpcbind.target

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Mar 26 21:52:19 UTC 2014 - nfbrown@suse.com
- 0026-systemd-no-default-dep
No default dependencies for rpcbind. This allows it to start
early when it might be needed.
(bnc#860246)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 4 17:55:01 UTC 2014 - coolo@suse.com Tue Mar 4 17:55:01 UTC 2014 - coolo@suse.com

View File

@ -61,6 +61,7 @@ Patch21: 0022-rpcinfo-remove-obsolete-function-clnt_com_create.patch
Patch22: 0023-Make-rpcinfo-p-support-IPv6-addresses-too.patch Patch22: 0023-Make-rpcinfo-p-support-IPv6-addresses-too.patch
Patch23: 0024-rpcinfo-remove-obsolete-function-get_inet_address.patch 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
%define statefile /var/lib/portmap.state %define statefile /var/lib/portmap.state
BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(systemd)
@ -102,6 +103,7 @@ cp %{SOURCE4} .
%patch22 -p1 %patch22 -p1
%patch23 -p1 %patch23 -p1
%patch24 -p0 %patch24 -p0
%patch25 -p1
%build %build
autoreconf -fiv autoreconf -fiv