Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/etc/sysconfig/nfs deprecated in rhel 8 removed in rhel 9 #521

Open
e-carlin opened this issue Aug 2, 2024 · 2 comments
Open

/etc/sysconfig/nfs deprecated in rhel 8 removed in rhel 9 #521

e-carlin opened this issue Aug 2, 2024 · 2 comments
Assignees

Comments

@e-carlin
Copy link
Member

e-carlin commented Aug 2, 2024

https://fedoraproject.org/wiki/Changes/nfs.conf
https://access.redhat.com/solutions/3938381

Looks like the file is now /etc/nfs.conf. Furthermore, the file looks to be INI format compared to arg=value format.

@e-carlin e-carlin self-assigned this Aug 2, 2024
@e-carlin
Copy link
Member Author

e-carlin commented Aug 2, 2024

@robnagler the INI format is less amenable to our current perl substitution.

Currently we set the number of threads for the nfs_server with a perl substitution. But, the new INI format has multiple threads= assignments. We only want to edit the one under the [nfsd] block

# debug="all|auth|call|general|parse"
# manage-gids=n
# descriptors=0
# port=0
# threads=1
# reverse-lookup=n
# state-directory-path=/var/lib/nfs
# ha-callout=
# cache-use-ipaddr=n
# ttl=1800
#
[nfsdcld]
# debug=0
# storagedir=/var/lib/nfs/nfsdcld
#
[nfsdcltrack]
# debug=0
# storagedir=/var/lib/nfs/nfsdcltrack
#
[nfsd]
# debug=0
# threads=8
# host=
# port=0
# grace-time=90
# lease-time=90
# udp=n
# tcp=y
# vers3=y
# vers4=y
# vers4.0=y
# vers4.1=y
# vers4.2=y
rdma=y
rdma-port=20049

Any advice on a solution? Pull /etc/nfs.conf into rsconf and write the whole file?

@e-carlin
Copy link
Member Author

e-carlin commented Aug 2, 2024

We decided we will pull this file into rsconf as a jinja template and update it that way.

We'll likely need a way for rsconf to know what host is being configured because we want to run centos and alma simultaneously. It should be configurable on a per host basis at the python level (not yaml/fconf).

For now punting on solving because this isn't needed for a basic end to end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant