From d2b059e75b4a8d1fd6d26062d0c466369dbafcd2e335db4592e2a0bcd0fc0ba6 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 28 Mar 2014 10:52:28 +0000 Subject: [PATCH] Accepting request 227649 from home:neilbrown:branches:network - 0026-systemd-no-default-dep No default dependencies for rpcbind. This allows it to start early when it might be needed. (bnc#860246) OBS-URL: https://build.opensuse.org/request/show/227649 OBS-URL: https://build.opensuse.org/package/show/network/rpcbind?expand=0&rev=40 --- 0026-systemd-no-default-dep | 30 ++++++++++++++++++++++++++++++ rpcbind.changes | 8 ++++++++ rpcbind.spec | 2 ++ 3 files changed, 40 insertions(+) create mode 100644 0026-systemd-no-default-dep diff --git a/0026-systemd-no-default-dep b/0026-systemd-no-default-dep new file mode 100644 index 0000000..9c85321 --- /dev/null +++ b/0026-systemd-no-default-dep @@ -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 + +--- + 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 + diff --git a/rpcbind.changes b/rpcbind.changes index a9b2221..750df1b 100644 --- a/rpcbind.changes +++ b/rpcbind.changes @@ -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 diff --git a/rpcbind.spec b/rpcbind.spec index 2d4476e..5a93bfc 100644 --- a/rpcbind.spec +++ b/rpcbind.spec @@ -61,6 +61,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 +Patch25: 0026-systemd-no-default-dep %define statefile /var/lib/portmap.state BuildRequires: pkgconfig(systemd) @@ -102,6 +103,7 @@ cp %{SOURCE4} . %patch22 -p1 %patch23 -p1 %patch24 -p0 +%patch25 -p1 %build autoreconf -fiv