1 |
This list prefers bottom posting. See below. |
2 |
|
3 |
On 2022.07.23 21:52, Fabulous Zhang Zheng wrote: |
4 |
> Dear Jack, |
5 |
> |
6 |
> thanks for your reply, I reconfigured menuconfig. |
7 |
> |
8 |
> NFS v2 support I found is client support, and I can't still find v2 |
9 |
> support |
10 |
> for server ( sorry for not mentioning it in my ambiguous question ) |
11 |
> I also looked up in forum and wiki, and recent posts seem to indicate |
12 |
> the removal of nfs v2 server support. |
13 |
> |
14 |
> I followed this link for open genera |
15 |
> ( https://archives.loomcom.com/genera/genera-install.html ) |
16 |
> not in portage or an overlay. |
17 |
> |
18 |
> Best regards :) |
19 |
> |
20 |
> Jack <ostroffjh@×××××××××××××××××.net> 于2022年7月24日周日 03:30写道: |
21 |
> |
22 |
> > On 2022.07.23 01:25, Fabulous Zhang Zheng wrote: |
23 |
> > > Dear genteel users, |
24 |
> > > |
25 |
> > > |
26 |
> > > Recently I'm trying to run Open Genera on Gentoo, which requires |
27 |
> the |
28 |
> > > old |
29 |
> > > NFS v2 protocol for communication. |
30 |
> > > |
31 |
> > > I successfully run it on a Ubuntu 16.04 virtual machine, which |
32 |
> > > enables it |
33 |
> > > by default. |
34 |
> > > |
35 |
> > > In 5.18.12 it seems deprecated and not supported, am I supposed to |
36 |
> > > revert |
37 |
> > > back to a kernel version before its removal, or manually patch it |
38 |
> > > into the |
39 |
> > > current kernel ? Or there might be some more elegant methods ? |
40 |
> > > |
41 |
> > > It will be much appreciated if anyone could help :) |
42 |
> > > |
43 |
> > Looking at the config for 5.18.14, I see no evidence V2 has been |
44 |
> > deprecated. However, your kernel may well have been configured to |
45 |
> not |
46 |
> > use V2. Note the kernel has different client and server settings |
47 |
> for |
48 |
> > this. Most likely, you just need to reconfigure and recompile your |
49 |
> > kernel. |
50 |
> > |
51 |
> > Also, I don't see any genera available in portage. If it is in an |
52 |
> > overlay, I would check for any documentation in the overlay about |
53 |
> > necessary kernel configuration. |
54 |
> > |
55 |
> > Jack |
56 |
> > |
57 |
> > |
58 |
> |
59 |
I am aware that NFSv2 is likely to be deprecated due to security |
60 |
concerns, but it hasn't happened yet in the Linux kernel. |
61 |
|
62 |
The entry (5.18.14) for "NFS server support (NFSD)" or CONFIG_NFSD: says |
63 |
|
64 |
----- |
65 |
Choose Y here if you want to allow other computers to access files |
66 |
residing on this system using Sun's Network File System protocol. To |
67 |
compile the NFS server support as a module, choose M here: the module |
68 |
will be called nfsd. |
69 |
|
70 |
You may choose to use a user-space NFS server instead, in which case |
71 |
you can choose N here. |
72 |
|
73 |
To export local file systems using NFS, you also need to install user |
74 |
space programs which can be found in the Linux nfs-utils package, |
75 |
available from http://linux-nfs.org/. More detail about the Linux NFS |
76 |
server implementation is available via the exports(5) man page. |
77 |
|
78 |
Below you can choose which versions of the NFS protocol are available |
79 |
to clients mounting the NFS server on this system. Support for NFS |
80 |
version 2 (RFC 1094) is always available when CONFIG_NFSD is selected. |
81 |
----- |
82 |
|
83 |
In addition, from just a very brief search, it is likely that there are |
84 |
other configuration files you may need to alter in order for the nfs |
85 |
server to actually respond to V2 requests. This is likely how some |
86 |
distributions have blocked V2 from the default configuration. Google |
87 |
is your friend. |
88 |
|
89 |
Jack |