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
This commit is contained in:
Olaf Kirch 2014-06-06 10:05:32 +00:00 committed by Git OBS Bridge
parent d97e6628a0
commit 49de5a139e
3 changed files with 29 additions and 1 deletions

View 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

View File

@ -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

View File

@ -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