[arch-commits] Commit in nfs-utils/trunk (PKGBUILD nfs-utils-1.3.2-statd-nowait.patch)
Tobias Powalowski
tpowa at archlinux.org
Mon Feb 23 07:31:08 UTC 2015
Date: Monday, February 23, 2015 @ 08:31:08
Author: tpowa
Revision: 231804
upgpkg: nfs-utils 1.3.2-4
add nowait patch for statd
Added:
nfs-utils/trunk/nfs-utils-1.3.2-statd-nowait.patch
Modified:
nfs-utils/trunk/PKGBUILD
------------------------------------+
PKGBUILD | 11 ++++++++---
nfs-utils-1.3.2-statd-nowait.patch | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-22 16:43:32 UTC (rev 231803)
+++ PKGBUILD 2015-02-23 07:31:08 UTC (rev 231804)
@@ -7,7 +7,7 @@
pkgname=nfs-utils
pkgver=1.3.2
-pkgrel=3
+pkgrel=4
pkgdesc="Support programs for Network File Systems"
arch=('i686' 'x86_64')
url='http://nfs.sourceforge.net'
@@ -24,7 +24,8 @@
nfs-utils.conf
id_resolver.conf
nfs-utils_env.sh
- nfs-utils-1.2.1-statd-bg.patch)
+ nfs-utils-1.2.1-statd-bg.patch
+ nfs-utils-1.3.2-statd-nowait.patch)
install=nfs-utils.install
optdepends=('sqlite: for nfsdcltrack usage')
md5sums=('1e2f3c1ed468dee02d00c534c002ea10'
@@ -37,7 +38,8 @@
'8ac484023d786766d287ccbe878ae4ba'
'a43aabf0b8d02406b1babc3a206d952a'
'c6c9c32f153dfa6c0477ea6b99354288'
- '45f55a5d581b2527b453c3a0816add24')
+ '45f55a5d581b2527b453c3a0816add24'
+ 'dde4e23776a2425d2a1241eb2daf8b7c')
validpgpkeys=(
E1B71E339E20A10A676F7CB69AFB1D681A125177 # Steve Dickson
)
@@ -47,6 +49,9 @@
patch -Np1 -i ../nfs-utils-1.1.4-mtab-sym.patch
# fix rpc.statd starting
patch -Np1 -i ../nfs-utils-1.2.1-statd-bg.patch
+ # don't wait for online target on statd
+ patch -Np1 -i ../nfs-utils-1.3.2-statd-nowait.patch
+
./autogen.sh
}
Added: nfs-utils-1.3.2-statd-nowait.patch
===================================================================
--- nfs-utils-1.3.2-statd-nowait.patch (rev 0)
+++ nfs-utils-1.3.2-statd-nowait.patch 2015-02-23 07:31:08 UTC (rev 231804)
@@ -0,0 +1,35 @@
+From 650633d4e956dc6b628da30c868e39fba76a0b29 Mon Sep 17 00:00:00 2001
+From: Steve Dickson <steved at redhat.com>
+Date: Mon, 9 Feb 2015 08:54:54 -0500
+Subject: [PATCH] rpc-statd-notify: Don't wait for the network to come up
+
+rpc-statd-notify only needs to wait for the network
+interface to be configured not to be connected since
+it forks into background and will wait 15mins for
+the network to come up.
+
+This decrease boot times when networks are not
+and will not be connected.
+
+Signed-off-by: Steve Dickson <steved at redhat.com>
+Reported-By: Eric Work <work.eric at gmail.com>
+---
+ systemd/rpc-statd-notify.service | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/systemd/rpc-statd-notify.service b/systemd/rpc-statd-notify.service
+index 941afe5..a655445 100644
+--- a/systemd/rpc-statd-notify.service
++++ b/systemd/rpc-statd-notify.service
+@@ -1,7 +1,7 @@
+ [Unit]
+ Description=Notify NFS peers of a restart
+ Requires=network-online.target
+-After=network-online.target nss-lookup.target
++After=network.target nss-lookup.target
+
+ # if we run an nfs server, it needs to be running before we
+ # tell clients that it has restarted.
+--
+2.1.0
+
More information about the arch-commits
mailing list