FS#54156 - [nfs-utils] It starts services unnecesaries

Attached to Project: Arch Linux
Opened by Juan Simón (j1simon) - Monday, 22 May 2017, 13:30 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 10 August 2017, 20:19 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I want to start a NFS server v3 but the nfs systemd services start NFS services unnecessaries for NFS < v4.
Then it shows errors in log:
...
may 22 13:32:43 arch-juan systemd[1]: Starting NFSv4 ID-name mapping service...
may 22 13:32:43 arch-juan rpc.idmapd[430]: rpc.idmapd: Skipping configuration file "/etc/idmapd.conf": No such file or directory
may 22 13:32:43 arch-juan rpc.idmapd[434]: Unable to open '/proc/sys/fs/nfs/idmap_cache_timeout' to set client cache expiration time to 0 seconds
....

My /etc/nfs.conf:
....
[nfsd]
# debug=0
# threads=8
# host=
# port=0
# grace-time=90
# lease-time=90
# udp=y
# tcp=y
vers2=y
vers3=y
vers4=n
#vers4.0=n
#vers4.1=n
#vers4.2=n
....
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Thursday, 10 August 2017, 20:19 GMT
Reason for closing:  Upstream
Comment by Andreas Radke (AndyRTR) - Saturday, 08 July 2017, 20:11 GMT
We use upstream systemd service files without any changes related to the services that get started. Feel free to discuss this on the linux nfs mailing list.

Loading...