* [gentoo-user] How to enable NFS v2
@ 2022-07-23 5:25 Fabulous Zhang Zheng
2022-07-23 19:29 ` Jack
0 siblings, 1 reply; 6+ messages in thread
From: Fabulous Zhang Zheng @ 2022-07-23 5:25 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 483 bytes --]
Dear genteel users,
Recently I'm trying to run Open Genera on Gentoo, which requires the old
NFS v2 protocol for communication.
I successfully run it on a Ubuntu 16.04 virtual machine, which enables it
by default.
In 5.18.12 it seems deprecated and not supported, am I supposed to revert
back to a kernel version before its removal, or manually patch it into the
current kernel ? Or there might be some more elegant methods ?
It will be much appreciated if anyone could help :)
[-- Attachment #2: Type: text/html, Size: 638 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] How to enable NFS v2
2022-07-23 5:25 [gentoo-user] How to enable NFS v2 Fabulous Zhang Zheng
@ 2022-07-23 19:29 ` Jack
2022-07-24 1:52 ` Fabulous Zhang Zheng
0 siblings, 1 reply; 6+ messages in thread
From: Jack @ 2022-07-23 19:29 UTC (permalink / raw
To: gentoo-user
On 2022.07.23 01:25, Fabulous Zhang Zheng wrote:
> Dear genteel users,
>
>
> Recently I'm trying to run Open Genera on Gentoo, which requires the
> old
> NFS v2 protocol for communication.
>
> I successfully run it on a Ubuntu 16.04 virtual machine, which
> enables it
> by default.
>
> In 5.18.12 it seems deprecated and not supported, am I supposed to
> revert
> back to a kernel version before its removal, or manually patch it
> into the
> current kernel ? Or there might be some more elegant methods ?
>
> It will be much appreciated if anyone could help :)
>
Looking at the config for 5.18.14, I see no evidence V2 has been
deprecated. However, your kernel may well have been configured to not
use V2. Note the kernel has different client and server settings for
this. Most likely, you just need to reconfigure and recompile your
kernel.
Also, I don't see any genera available in portage. If it is in an
overlay, I would check for any documentation in the overlay about
necessary kernel configuration.
Jack
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] How to enable NFS v2
2022-07-23 19:29 ` Jack
@ 2022-07-24 1:52 ` Fabulous Zhang Zheng
2022-07-26 22:58 ` Jack
0 siblings, 1 reply; 6+ messages in thread
From: Fabulous Zhang Zheng @ 2022-07-24 1:52 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1675 bytes --]
Dear Jack,
thanks for your reply, I reconfigured menuconfig.
NFS v2 support I found is client support, and I can't still find v2 support
for server ( sorry for not mentioning it in my ambiguous question )
I also looked up in forum and wiki, and recent posts seem to indicate
the removal of nfs v2 server support.
I followed this link for open genera
( https://archives.loomcom.com/genera/genera-install.html )
not in portage or an overlay.
Best regards :)
Jack <ostroffjh@users.sourceforge.net> 于2022年7月24日周日 03:30写道:
> On 2022.07.23 01:25, Fabulous Zhang Zheng wrote:
> > Dear genteel users,
> >
> >
> > Recently I'm trying to run Open Genera on Gentoo, which requires the
> > old
> > NFS v2 protocol for communication.
> >
> > I successfully run it on a Ubuntu 16.04 virtual machine, which
> > enables it
> > by default.
> >
> > In 5.18.12 it seems deprecated and not supported, am I supposed to
> > revert
> > back to a kernel version before its removal, or manually patch it
> > into the
> > current kernel ? Or there might be some more elegant methods ?
> >
> > It will be much appreciated if anyone could help :)
> >
> Looking at the config for 5.18.14, I see no evidence V2 has been
> deprecated. However, your kernel may well have been configured to not
> use V2. Note the kernel has different client and server settings for
> this. Most likely, you just need to reconfigure and recompile your
> kernel.
>
> Also, I don't see any genera available in portage. If it is in an
> overlay, I would check for any documentation in the overlay about
> necessary kernel configuration.
>
> Jack
>
>
[-- Attachment #2: Type: text/html, Size: 2383 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] How to enable NFS v2
2022-07-24 1:52 ` Fabulous Zhang Zheng
@ 2022-07-26 22:58 ` Jack
2022-07-29 16:54 ` Fabulous Zhang Zheng
0 siblings, 1 reply; 6+ messages in thread
From: Jack @ 2022-07-26 22:58 UTC (permalink / raw
To: gentoo-user
This list prefers bottom posting. See below.
On 2022.07.23 21:52, Fabulous Zhang Zheng wrote:
> Dear Jack,
>
> thanks for your reply, I reconfigured menuconfig.
>
> NFS v2 support I found is client support, and I can't still find v2
> support
> for server ( sorry for not mentioning it in my ambiguous question )
> I also looked up in forum and wiki, and recent posts seem to indicate
> the removal of nfs v2 server support.
>
> I followed this link for open genera
> ( https://archives.loomcom.com/genera/genera-install.html )
> not in portage or an overlay.
>
> Best regards :)
>
> Jack <ostroffjh@users.sourceforge.net> 于2022年7月24日周日 03:30写道:
>
> > On 2022.07.23 01:25, Fabulous Zhang Zheng wrote:
> > > Dear genteel users,
> > >
> > >
> > > Recently I'm trying to run Open Genera on Gentoo, which requires
> the
> > > old
> > > NFS v2 protocol for communication.
> > >
> > > I successfully run it on a Ubuntu 16.04 virtual machine, which
> > > enables it
> > > by default.
> > >
> > > In 5.18.12 it seems deprecated and not supported, am I supposed to
> > > revert
> > > back to a kernel version before its removal, or manually patch it
> > > into the
> > > current kernel ? Or there might be some more elegant methods ?
> > >
> > > It will be much appreciated if anyone could help :)
> > >
> > Looking at the config for 5.18.14, I see no evidence V2 has been
> > deprecated. However, your kernel may well have been configured to
> not
> > use V2. Note the kernel has different client and server settings
> for
> > this. Most likely, you just need to reconfigure and recompile your
> > kernel.
> >
> > Also, I don't see any genera available in portage. If it is in an
> > overlay, I would check for any documentation in the overlay about
> > necessary kernel configuration.
> >
> > Jack
> >
> >
>
I am aware that NFSv2 is likely to be deprecated due to security
concerns, but it hasn't happened yet in the Linux kernel.
The entry (5.18.14) for "NFS server support (NFSD)" or CONFIG_NFSD: says
-----
Choose Y here if you want to allow other computers to access files
residing on this system using Sun's Network File System protocol. To
compile the NFS server support as a module, choose M here: the module
will be called nfsd.
You may choose to use a user-space NFS server instead, in which case
you can choose N here.
To export local file systems using NFS, you also need to install user
space programs which can be found in the Linux nfs-utils package,
available from http://linux-nfs.org/. More detail about the Linux NFS
server implementation is available via the exports(5) man page.
Below you can choose which versions of the NFS protocol are available
to clients mounting the NFS server on this system. Support for NFS
version 2 (RFC 1094) is always available when CONFIG_NFSD is selected.
-----
In addition, from just a very brief search, it is likely that there are
other configuration files you may need to alter in order for the nfs
server to actually respond to V2 requests. This is likely how some
distributions have blocked V2 from the default configuration. Google
is your friend.
Jack
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] How to enable NFS v2
2022-07-26 22:58 ` Jack
@ 2022-07-29 16:54 ` Fabulous Zhang Zheng
2022-07-29 17:14 ` Jack
0 siblings, 1 reply; 6+ messages in thread
From: Fabulous Zhang Zheng @ 2022-07-29 16:54 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 4019 bytes --]
Dear Jack,
Jack <ostroffjh@users.sourceforge.net> 于2022年7月27日周三 06:59写道:
> This list prefers bottom posting. See below.
>
> On 2022.07.23 21:52, Fabulous Zhang Zheng wrote:
> > Dear Jack,
> >
> > thanks for your reply, I reconfigured menuconfig.
> >
> > NFS v2 support I found is client support, and I can't still find v2
> > support
> > for server ( sorry for not mentioning it in my ambiguous question )
> > I also looked up in forum and wiki, and recent posts seem to indicate
> > the removal of nfs v2 server support.
> >
> > I followed this link for open genera
> > ( https://archives.loomcom.com/genera/genera-install.html )
> > not in portage or an overlay.
> >
> > Best regards :)
> >
> > Jack <ostroffjh@users.sourceforge.net> 于2022年7月24日周日 03:30写道:
> >
> > > On 2022.07.23 01:25, Fabulous Zhang Zheng wrote:
> > > > Dear genteel users,
> > > >
> > > >
> > > > Recently I'm trying to run Open Genera on Gentoo, which requires
> > the
> > > > old
> > > > NFS v2 protocol for communication.
> > > >
> > > > I successfully run it on a Ubuntu 16.04 virtual machine, which
> > > > enables it
> > > > by default.
> > > >
> > > > In 5.18.12 it seems deprecated and not supported, am I supposed to
> > > > revert
> > > > back to a kernel version before its removal, or manually patch it
> > > > into the
> > > > current kernel ? Or there might be some more elegant methods ?
> > > >
> > > > It will be much appreciated if anyone could help :)
> > > >
> > > Looking at the config for 5.18.14, I see no evidence V2 has been
> > > deprecated. However, your kernel may well have been configured to
> > not
> > > use V2. Note the kernel has different client and server settings
> > for
> > > this. Most likely, you just need to reconfigure and recompile your
> > > kernel.
> > >
> > > Also, I don't see any genera available in portage. If it is in an
> > > overlay, I would check for any documentation in the overlay about
> > > necessary kernel configuration.
> > >
> > > Jack
> > >
> > >
> >
> I am aware that NFSv2 is likely to be deprecated due to security
> concerns, but it hasn't happened yet in the Linux kernel.
>
> The entry (5.18.14) for "NFS server support (NFSD)" or CONFIG_NFSD: says
>
> -----
> Choose Y here if you want to allow other computers to access files
> residing on this system using Sun's Network File System protocol. To
> compile the NFS server support as a module, choose M here: the module
> will be called nfsd.
>
> You may choose to use a user-space NFS server instead, in which case
> you can choose N here.
>
> To export local file systems using NFS, you also need to install user
> space programs which can be found in the Linux nfs-utils package,
> available from http://linux-nfs.org/. More detail about the Linux NFS
> server implementation is available via the exports(5) man page.
>
> Below you can choose which versions of the NFS protocol are available
> to clients mounting the NFS server on this system. Support for NFS
> version 2 (RFC 1094) is always available when CONFIG_NFSD is selected.
> -----
>
> In addition, from just a very brief search, it is likely that there are
> other configuration files you may need to alter in order for the nfs
> server to actually respond to V2 requests. This is likely how some
> distributions have blocked V2 from the default configuration. Google
> is your friend.
>
> Jack
>
>
Sorry for the late reply,
I found this commit
<https://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=2c2c36c59fa1de2ff7fd28917e54700ecb39b730>
of last November, which might be the reason.
2.5.4 might be the last version with such support.
I emerged manually changed ebuild and $( rpcinfo -p localhost | grep nfs
)
explicitly indicates the version 2 of nfs, which runs successfully.
Thanks again for your dedicated and detailed reply,
and also the bottom-posting reminder.
Best regards :)
[-- Attachment #2: Type: text/html, Size: 5401 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] How to enable NFS v2
2022-07-29 16:54 ` Fabulous Zhang Zheng
@ 2022-07-29 17:14 ` Jack
0 siblings, 0 replies; 6+ messages in thread
From: Jack @ 2022-07-29 17:14 UTC (permalink / raw
To: gentoo-user
On 2022.07.29 12:54, Fabulous Zhang Zheng wrote:
> Dear Jack,
>
>
> Jack <ostroffjh@users.sourceforge.net> 于2022年7月27日周三 06:59写道:
>
> > This list prefers bottom posting. See below.
> >
> > On 2022.07.23 21:52, Fabulous Zhang Zheng wrote:
> > > Dear Jack,
> > >
> > > thanks for your reply, I reconfigured menuconfig.
> > >
> > > NFS v2 support I found is client support, and I can't still find
> v2
> > > support
> > > for server ( sorry for not mentioning it in my ambiguous question
> )
> > > I also looked up in forum and wiki, and recent posts seem to
> indicate
> > > the removal of nfs v2 server support.
> > >
> > > I followed this link for open genera
> > > ( https://archives.loomcom.com/genera/genera-install.html )
> > > not in portage or an overlay.
> > >
> > > Best regards :)
> > >
> > > Jack <ostroffjh@users.sourceforge.net> 于2022年7月24日周日 03:30写道:
> > >
> > > > On 2022.07.23 01:25, Fabulous Zhang Zheng wrote:
> > > > > Dear genteel users,
> > > > >
> > > > >
> > > > > Recently I'm trying to run Open Genera on Gentoo, which
> requires
> > > the
> > > > > old
> > > > > NFS v2 protocol for communication.
> > > > >
> > > > > I successfully run it on a Ubuntu 16.04 virtual machine, which
> > > > > enables it
> > > > > by default.
> > > > >
> > > > > In 5.18.12 it seems deprecated and not supported, am I
> supposed to
> > > > > revert
> > > > > back to a kernel version before its removal, or manually
> patch it
> > > > > into the
> > > > > current kernel ? Or there might be some more elegant methods ?
> > > > >
> > > > > It will be much appreciated if anyone could help :)
> > > > >
> > > > Looking at the config for 5.18.14, I see no evidence V2 has been
> > > > deprecated. However, your kernel may well have been configured
> to
> > > not
> > > > use V2. Note the kernel has different client and server
> settings
> > > for
> > > > this. Most likely, you just need to reconfigure and recompile
> your
> > > > kernel.
> > > >
> > > > Also, I don't see any genera available in portage. If it is in
> an
> > > > overlay, I would check for any documentation in the overlay
> about
> > > > necessary kernel configuration.
> > > >
> > > > Jack
> > > >
> > > >
> > >
> > I am aware that NFSv2 is likely to be deprecated due to security
> > concerns, but it hasn't happened yet in the Linux kernel.
> >
> > The entry (5.18.14) for "NFS server support (NFSD)" or CONFIG_NFSD:
> says
> >
> > -----
> > Choose Y here if you want to allow other computers to access files
> > residing on this system using Sun's Network File System protocol. To
> > compile the NFS server support as a module, choose M here: the
> module
> > will be called nfsd.
> >
> > You may choose to use a user-space NFS server instead, in which case
> > you can choose N here.
> >
> > To export local file systems using NFS, you also need to install
> user
> > space programs which can be found in the Linux nfs-utils package,
> > available from http://linux-nfs.org/. More detail about the Linux
> NFS
> > server implementation is available via the exports(5) man page.
> >
> > Below you can choose which versions of the NFS protocol are
> available
> > to clients mounting the NFS server on this system. Support for NFS
> > version 2 (RFC 1094) is always available when CONFIG_NFSD is
> selected.
> > -----
> >
> > In addition, from just a very brief search, it is likely that there
> are
> > other configuration files you may need to alter in order for the nfs
> > server to actually respond to V2 requests. This is likely how some
> > distributions have blocked V2 from the default configuration.
> Google
> > is your friend.
> >
> > Jack
> >
> >
> Sorry for the late reply,
>
> I found this commit
> <https://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=2c2c36c59fa1de2ff7fd28917e54700ecb39b730>
> of last November, which might be the reason.
> 2.5.4 might be the last version with such support.
>
> I emerged manually changed ebuild and $( rpcinfo -p localhost |
> grep nfs
> )
> explicitly indicates the version 2 of nfs, which runs successfully.
>
> Thanks again for your dedicated and detailed reply,
> and also the bottom-posting reminder.
>
>
> Best regards :)
>
I don't fully understand the interactions and relationship, but there
are obviously some differences between the kernel nfs and userland
nfs. Glad you got it working for you.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-07-29 17:14 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-23 5:25 [gentoo-user] How to enable NFS v2 Fabulous Zhang Zheng
2022-07-23 19:29 ` Jack
2022-07-24 1:52 ` Fabulous Zhang Zheng
2022-07-26 22:58 ` Jack
2022-07-29 16:54 ` Fabulous Zhang Zheng
2022-07-29 17:14 ` Jack
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox