From 49de5a139e4cc75fc169893820c35df3ed7db431dc6796d9af7495301f45b688 Mon Sep 17 00:00:00 2001 From: Olaf Kirch Date: Fri, 6 Jun 2014 10:05:32 +0000 Subject: [PATCH] Accepting request 236383 from home:WernerFink:branches:network - Add patch 0028-rpcbind-after-var-run.patch as rpcbind service wants /var/run mounted before started (bnc#881518) OBS-URL: https://build.opensuse.org/request/show/236383 OBS-URL: https://build.opensuse.org/package/show/network/rpcbind?expand=0&rev=46 --- 0028-rpcbind-after-var-run.patch | 20 ++++++++++++++++++++ rpcbind.changes | 6 ++++++ rpcbind.spec | 4 +++- 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 0028-rpcbind-after-var-run.patch diff --git a/0028-rpcbind-after-var-run.patch b/0028-rpcbind-after-var-run.patch new file mode 100644 index 0000000..773d16d --- /dev/null +++ b/0028-rpcbind-after-var-run.patch @@ -0,0 +1,20 @@ +rpcbind service wants /var/run mounted before started + +References: bnc#881518 +Signed-off-by: Werner Fink + +--- + 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 diff --git a/rpcbind.changes b/rpcbind.changes index 765a7c3..aa69f94 100644 --- a/rpcbind.changes +++ b/rpcbind.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/rpcbind.spec b/rpcbind.spec index bab9bb1..e287848 100644 --- a/rpcbind.spec +++ b/rpcbind.spec @@ -32,6 +32,7 @@ BuildRequires: libtirpc-devel BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: tcpd-devel +BuildRequires: pkgconfig(libsystemd-daemon) PreReq: %fillup_prereq Requires(pre): /usr/sbin/useradd @@ -63,9 +64,9 @@ 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 Patch26: 0027-socket-before-service.patch +Patch27: 0028-rpcbind-after-var-run.patch %define statefile /var/lib/portmap.state -BuildRequires: pkgconfig(libsystemd-daemon) %{?systemd_requires} Provides: portmap @@ -106,6 +107,7 @@ cp %{SOURCE4} . %patch24 -p0 %patch25 -p1 %patch26 -p1 +%patch27 -p1 %build autoreconf -fiv