1 |
vapier 09/05/30 22:01:43 |
2 |
|
3 |
Modified: nfs.confd nfs.initd |
4 |
Log: |
5 |
Have nfs init.d depend on rpc.idmapd by default when USE=nfsv4, but allow people to disable it via conf.d #234132 by roger. |
6 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.12 net-fs/nfs-utils/files/nfs.confd |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/files/nfs.confd?rev=1.12&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/files/nfs.confd?rev=1.12&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/files/nfs.confd?r1=1.11&r2=1.12 |
14 |
|
15 |
Index: nfs.confd |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs.confd,v |
18 |
retrieving revision 1.11 |
19 |
retrieving revision 1.12 |
20 |
diff -u -r1.11 -r1.12 |
21 |
--- nfs.confd 25 Mar 2007 12:30:52 -0000 1.11 |
22 |
+++ nfs.confd 30 May 2009 22:01:43 -0000 1.12 |
23 |
@@ -3,6 +3,10 @@ |
24 |
# If you wish to set the port numbers for lockd, |
25 |
# please see /etc/sysctl.conf |
26 |
|
27 |
+# Optional services to include in default `/etc/init.d/nfs start` |
28 |
+# For NFSv4 users, you'll want to add "rpc.idmapd" here. |
29 |
+NFS_NEEDED_SERVICES="" |
30 |
+ |
31 |
# Number of servers to be started up by default |
32 |
OPTS_RPC_NFSD="8" |
33 |
|
34 |
|
35 |
|
36 |
|
37 |
1.19 net-fs/nfs-utils/files/nfs.initd |
38 |
|
39 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/files/nfs.initd?rev=1.19&view=markup |
40 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/files/nfs.initd?rev=1.19&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/files/nfs.initd?r1=1.18&r2=1.19 |
42 |
|
43 |
Index: nfs.initd |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs.initd,v |
46 |
retrieving revision 1.18 |
47 |
retrieving revision 1.19 |
48 |
diff -u -r1.18 -r1.19 |
49 |
--- nfs.initd 27 Feb 2009 01:41:55 -0000 1.18 |
50 |
+++ nfs.initd 30 May 2009 22:01:43 -0000 1.19 |
51 |
@@ -1,7 +1,7 @@ |
52 |
#!/sbin/runscript |
53 |
# Copyright 1999-2009 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs.initd,v 1.18 2009/02/27 01:41:55 vapier Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs.initd,v 1.19 2009/05/30 22:01:43 vapier Exp $ |
57 |
|
58 |
opts="reload" |
59 |
|
60 |
@@ -23,7 +23,7 @@ |
61 |
fi |
62 |
fi |
63 |
config /etc/exports |
64 |
- need portmap rpc.statd ${myneed} |
65 |
+ need portmap rpc.statd ${myneed} ${NFS_NEEDED_SERVICES} |
66 |
use ypbind net dns rpc.rquotad rpc.idmapd rpc.svcgssd |
67 |
after quota |
68 |
} |