]> git.decadent.org.uk Git - nfs-utils.git/blob - linux-nfs/NEW
Allow gssd ccaches in MEMORY: rather than FILE:
[nfs-utils.git] / linux-nfs / NEW
1 This is the Linux kernel NFS daemon 1.4.7. It is based on linux-nfs
2 0.4.22. It is tested on Linux/alpha and Linux/x86 running glibc 2.1.1.
3
4 WARNING: The NFS servers in Linux 2.2 to 2.2.11 are not compatible with
5 other NFS client implemenations. If you plan to use Linux 2.2.x as an
6 NFS server for non-Linux NFS clients, you should apply the patches
7 enlosed here.
8
9 linux-2.2.7-sunrpc.patch, nfsd-2.2.7-2.lockd.patch, nfsd-2.2.7-3.patch
10 and nfsd-2.2.7-nfsfh.patch are required for Linux 2.2.7 to 2.2.11.
11 For other kernel versions, they have to be applied by hand if they are
12 still needed.
13
14 For Linux 2.2.7 to 2.2.10, nfsd-2.2.7-1.lock.patch is also required.
15
16 I made my knfsd package available only because I use it and noone else
17 seems to maintain it. But I don't have much time to really work on it.
18 I will only fix bugs in the NFS utilities and serious kernel NFS bugs
19 which I can duplcate easily. If you have any kernel NFS server problem,
20 please report it to the Linux kernel mailing list. If it can be
21 reproduced with Linux NFS server and client in less than 5 minutes, you
22 can also send me a copy in addition to sending it to the Linux kernel
23 mailing list. I may take a look when I have time. However I will collect
24 kernel NFS related patches. Contributions are more than welcome.
25
26 The NFS lock only works with lockd. Please make sure the portmapper,
27 portmap, is started before mounting NFS.
28
29 Changes from knfsd 1.4.6:
30
31 1. Fix a typo in knfslock.init.
32 2. A new kernel patch, nfsd-2.2.7-1.lock.patch, to fix some NFS lock
33    bugs.
34
35 Changes from knfsd 1.4.5:
36
37 1. Rename /var/lib/nfs/xtab.export to /var/lib/nfs/etab.
38
39 Changes from knfsd 1.4.4:
40
41 1. Try to fix mountd performance problem by introducing
42    /var/lib/nfs/xtab.export. That is
43    
44   a. "exportfs" reads from /var/lib/nfs/xtab and writes to
45      /var/lib/nfs/xtab.export.
46   b. "mountd" reads from /var/lib/nfs/xtab.export and writes to
47      /var/lib/nfs/xtab.
48
49   The idea is "mountd" doesn't have to read /var/lib/nfs/xtab, which
50   is very expensive.
51
52 Changes from knfsd 1.4.3:
53
54 1. nfsd-2.2.7-nfsfh.patch, a new kernel patch for filehandle.
55 2. nfsd-2.2.7-2.lockd.patch, a new patch for lockd.
56 3. Misc bug fixes.
57
58 Changes from knfsd 1.4.2:
59
60 1. A mountd patch so that the syslog reports unknown requests, and also
61    reports *what* is being (un)mounted, from Piete Brooks
62    <Piete.Brooks@cl.cam.ac.uk>.
63 2. Fix knfsd.init for restart.
64 3. Add knfslock.init.
65 4. knfsd-compat.spec is removed.
66 5. nfsd-2.2.7-lockd.patch, a patch to start lockd independent of
67    nfs and nfsd.
68
69 Changes from knfsd 1.4.1:
70
71 1. Resolve symlink for umount from Piete.Brooks@cl.cam.ac.uk (Piete
72    Brooks)
73 2. Fix knfsd.init for statd.
74
75 Changes from knfsd 1.4:
76
77 1. nfsd-2.2.7-3.patch. This is the only patch you need for Linux 2.2.7
78    to 2.2.10.
79 2. Remove
80         nfsd-2.2.5-1.patch
81         nfsd-2.2.5-3.patch
82         nfsd-2.2.8-1.patch
83         nfsd-2.2.7-iget.diff
84         nfsd-2.2.5-nfsfh.diff
85         nfsd-2.2.5-file.patch
86         nfsd-2.2.7-quota.patch
87         nfsd-2.2.7-mknod.patch
88 3. Statd update by Jeff Uphoff <juphoff@transmeta.com>.
89 4. netgroups patch from Peter Breitenlohner <peb@mppmu.mpg.de>.
90 5. Add option checking to exportfs.
91
92 Changes from knfsd 1.3.3b:
93
94 1. Add linux-2.2.7-sunrpc.patch for a SMP bug in sunrpc.
95 2. Add --port/-P to nfsd/mountd, by Jeff Johnson <jbj@redhat.com>.
96 3. Add nfsd.8, mountd.8 and statd.man, by Olaf Kirch
97    <okir@monad.swb.de>.
98 4. Update nfsstat.man by Olaf Kirch <okir@monad.swb.de>.
99 5. Statd fix by Jeff Uphoff <juphoff@transmeta.com>.
100 6. Remove knfsd-nok.patch.
101
102 Changes from knfsd 1.3.3a:
103
104 1. Fix stdin/stdout/stdout handling in mountd.
105 2. nfsd-2.2.7-mknod.patch. A patch for mknod.
106 3. nfsd-2.2.7-quota.patch. A patch for quota.
107
108 Changes from knfsd 1.3.3:
109
110 1. Fix hostname matching for wildcard, subnet and netgroup.
111
112 Changes from knfsd 1.3.2:
113
114 1. Modified mountd to allow clients without IP address to hostname map.
115
116 Changes from knfsd 1.3.1a:
117
118 1. nfsd-2.2.5-3.patch. This is the only patch you need for Linux 2.2.5.
119
120 Changes from knfsd 1.3.1:
121
122 1. A patch for knfsd.spec from Markus Linnala <maage@cs.tut.fi>.
123
124 Changes from knfsd 1.3a:
125
126 1. nfsd-2.2.8-1.patch. This is the only patch you need for Linux 2.2.8.
127 2. nfsd-2.2.7-2.patch. This is the only patch you need for Linux 2.2.7.
128
129 Changes from knfsd 1.3:
130
131 1. Adding "--no-nfs-version 3" to mountd in knfsd.init from RedHat 6.0.
132
133 Changes from knfsd 1.2.2a:
134
135 1. Updated knfsd.init from RedHat 6.0.
136 2. nfsd-2.2.7-1.patch. This is the only patch you need for Linux 2.2.7.
137 3. Misc updates from RedHat 6.0.
138
139 Changes from knfsd 1.2.2:
140
141 1. Make the default NFS server kernel thread to 8 in the rc script.
142
143 Changes from knfsd 1.2:
144
145 1. Moved knfsd.spec to knfsd-compat.spec.
146 2. Update knfsd.spec from knfsd-981204-3.src.rpm.
147 3. Fix the squash_[ug]id parsing in /etc/exports from Anders
148    Hammarquist <iko@cd.chalmers.se>.
149 4. nfsd-2.2.5-file.patch to clear the bogus bit for MKDIR and SYMLINK.
150 5. nfsd-2.2.5-1.patch. A NFS patch based on nfsd-2.2.3-1.patch for
151    Linux 2.2.5.
152
153 Changes from knfsd 1.1:
154
155 1. Remove
156         cache-2.1.131-1.patch
157         linux-2.1.1xx.diff
158         lock-2.1.131.diff
159         lock-2.1.1xx.diff
160         nfsd-2.1.127-5.patch
161         nullproc-2.1.1xx.diff
162         procfs-2.1.127.patch
163         quota-2.1.1xx.diff
164         root-2.1.1xx.diff
165         socket-2.1.1xx.diff
166         sunrpc-2.1.123-1.patch
167 2. locks-2.2.3.diff. A patch for file lock.
168 3. nfsd-2.2.3-1.patch. A NFS patch by "G. Allen Morris III"
169 (gam3@acm.org).
170
171 Changes from knfsd 1.0:
172
173 1. Handle broken /var/lib/nfs/rmtab.
174 2. Handle lower/upper cases in wildcard hostnames in /etc/exports.
175
176 Changes from knfsd-981204:
177
178 1. Modify etc/rc.nfsd to check /var/lib/nfs/rmtab during startup.
179 2. Add knfsd.spec for RedHat 5. Need nfs-server-2.2beta37-1.1.src.rpm
180    and initscripts-3.78.1-2.src.rpm.
181 3. Add support for "make install prefix=...".
182
183 Changes from knfsd-981122:
184
185 1. Modify etc/rc.nfsd and etc/rc.nfsfs to handle statd during shutdown.
186 2. Remove maximum knfsd count checking.
187 3. Clean up mountd.
188 4. cache-2.1.131-1.patch from G. Allen Morris III (gam3@acm.org).
189 5. lock-2.1.131.diff. A nfsd lock patch for Linux 2.1.131.
190
191 Changes from knfsd-981113:
192
193 1. procfs-2.1.127.patch from G. Allen Morris III (gam3@acm.org).
194 2. Modify etc/rc.nfsd and etc/rc.nfsfs to better handle statd.
195 3. Fix the sub-mounted directories.
196
197 Changes from knfsd-981022:
198
199 1. Fix buffer overruns from Peter Benie <pjb1008@cus.cam.ac.uk>.
200 2. Fix hostname matching.
201 3. Correctly handle dupilcations in /etc/exports.
202 4. Add -F flag to statd.
203 5. nfsd-2.1.127-5.patch from G. Allen Morris III (gam3@acm.org).
204
205 Changes from knfsd-981014:
206
207 1. lock-2.1.1xx.diff. A nfsd lock patch.
208 2. nullproc-2.1.1xx.diff. Allow any clients to call the nfsd NULL proc.
209 3. Add etc/rc.nfsfs to handle statd.
210 3. Update etc/rc.nfsd to handle statd.
211 4. nfsd-2.1.125-2.patch from G. Allen Morris III (gam3@acm.org).
212 5. Fix inet_ntoa usage in statd.
213
214 Changes from knfsd-981010:
215
216 1. Check client aliases when matching for wildcard client hostnames.
217 2. Fix memory leak in mountd.
218 3. Fix filename in nfsd-2.1.125-1.patch.
219
220 Changes from knfsd-980930:
221
222 1. nfsd-2.1.125-1.patch from G. Allen Morris III (gam3@acm.org) and me.
223 2. Fix the hostent bugs in mountd and statd.
224 3. Remove "kexportfs -au" for "rc.nfsd stop".
225
226 Changes from knfsd-980925:
227
228 1. socket-2.1.1xx.diff for creating socket on NFS client.
229 2. There is a knsfd root_squash patch for Linux 2.1.1xx,
230    root-2.1.1xx.diff. It is only tested on linux 2.1.123.
231    It also fixes the server side 0711 mode bug.
232 3. sunrpc-2.1.123-1.patch from Bill Hawes <whawes@transmeta.com>.
233 4. nfsd-2.1.122-3.patch from G. Allen Morris III (gam3@acm.org).
234 5. Various buffer overrun changes.
235 6. Fix mountd to check the duplicated entry in rmtab.
236 7. Change exportfs to ignore warnings for "-r".
237 8. Fix showmount -e.
238
239 Changes from knfsd-980922:
240
241 1. nfsd-2.1.121-4.patch from G. Allen Morris III (gam3@acm.org).
242 2. Make async as default for export. It matches the user space NFS
243    server.
244
245 Changes from knfsd-980920:
246
247 1. Add NFS mount version flags to mountd. Change rc.nfsd to disable
248    NFS V3 for mountd.
249 2. Fix client hostname.
250 3. rc.nfsd runs kexportfs with -r instead of -a for restart and reload.
251
252 Changes from knfsd-980915:
253
254 1. There is a knsfd quota patch for Linux 2.1.1xx, quota-2.1.1xx.diff.
255    It is only tested on linux 2.1.122.
256 2. The submount pathname is removed from the xtab file.
257 3. rc.nfsd runs kexportfs with -r instead of -a for start.
258 4. Fix kshowmount -e.
259 5. Fix hostname matching.
260 6. Fix compiling on libc 5.
261
262 Changes from knfsd-980910:
263
264 1. nfsd-2.1.121-3.patch from G. Allen Morris III (gam3@acm.org).
265 2. A new flag, -r, for exportfs.
266 3. Don't put an entry in xtab if kernel rejects it.
267 4. Use the official hostname when checking if 2 hostnames are the same.
268 5. Allow submounts.
269
270 It is available at
271
272 ftp://ftp.varesearch.com/pub/support/hjl/knfsd/knfsd-1.4.7.tar.gz
273 ftp://ftp.varesearch.com/pub/support/hjl/knfsd/knfsd-1.4.6-1.4.7.diff.gz
274 ftp://ftp.kernel.org/pub/linux/devel/gcc/knfsd-1.4.7.tar.gz
275 ftp://ftp.kernel.org/pub/linux/devel/gcc/knfsd-1.4.6-1.4.7.diff.gz
276
277 You have to apply the patch, locks-2.2.3.diff, to the Linux kernel
278 first. It fixes quite some file lock bugs. That patch is against Linux
279 2.2.3. If your kernel is different, you have to apply it by hand.
280
281 nfsd-2.2.3-1.patch is a new knfsd patch against linux 2.2.3 from
282 "G. Allen Morris III" (gam3@acm.org). It works for me on x86 and alpha.
283 It is needed for the none-Linux NFS clients. You can get Allen's
284 current patch from
285
286 http://www.CSUA.Berkeley.EDU/~gam3/knfsd/
287
288 nfsd-2.2.7-3.patch is based on nfsd-2.2.3-1.patch for Linux 2.2.7. If
289 you use Linux 2.2.7, you should apply nfsd-2.2.7-3.patch instead of
290 nfsd-2.2.3-1.patch. Please don't use any other patches included here
291 for Linux 2.2.7. For other kernel versions, you may have to apply it
292 by hand.
293
294 nfsd-2.2.7-2.lockd.patch is also necessary to start lockd independent
295 of nfs and nfsd.
296
297 To compile, just do
298
299 # ./configure
300 # make
301
302 Makefile will try to determine which C library you are using and compile
303 this package accordingly.
304
305 # make install
306
307 will install the knfsd binaries. You have to install a knfs start up
308 script by hand. There is a new rc.nfsd in etc. I use it for both the
309 user-space nfsd and the kernel nfsd.
310
311 There is one RPM spec file, knfs.spec, which is for a Linux system
312 based on Linux 2.2 without support for Linux 2.0. You also need
313 knfsd-1.4.6.tar.gz to create the knfsd RPMs.
314
315 Thanks.
316
317 H.J.
318 hjl@lucon.org
319 08/14/99