FS#48476 - [nfs-utils] nfs-server.service has wrong environment options
Attached to Project:
Arch Linux
Opened by Ferenc Sipos (frankieboy) - Sunday, 06 March 2016, 14:06 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 03 January 2017, 18:19 GMT
Opened by Ferenc Sipos (frankieboy) - Sunday, 06 March 2016, 14:06 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 03 January 2017, 18:19 GMT
|
Details
Description: nfs-server.service has wrong environment
options
Additional info: nfs-utils 1.3.3-3 /usr/lib/systemd/system/nfs-server.service file Steps to reproduce: If you look at the environment value in nfs-server.service, it points to /run/sysconfig/nfs-utils, instead of /etc/conf.d/nfs-server.conf, so the parameters in the later have no effect on the server. |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Tuesday, 03 January 2017, 18:19 GMT
Reason for closing: No response
Tuesday, 03 January 2017, 18:19 GMT
Reason for closing: No response
grep -R 'nfs-utils_env' /usr/lib/systemd/system/*
/usr/lib/systemd/system/nfs-config.service:ExecStart=/usr/lib/systemd/scripts/nfs-utils_env.sh
nfs-config.service is reading this file.
@tpowa: You've once added this to our nfs-utils pkg. I see the Fedora version looks pretty much different than our. Is there any need to change it?
It seems Gentoo and Debian are not doing such variable exporting at all.
[root@workstation64 andyrtr]# grep -R nfs-config.service /usr/lib/systemd/*
/usr/lib/systemd/system/nfs-idmapd.service:Wants=nfs-config.service
/usr/lib/systemd/system/nfs-idmapd.service:After=nfs-config.service
/usr/lib/systemd/system/rpc-gssd.service:Wants=nfs-config.service
/usr/lib/systemd/system/rpc-gssd.service:After=nfs-config.service
/usr/lib/systemd/system/nfs-mountd.service:Wants=nfs-config.service
/usr/lib/systemd/system/nfs-mountd.service:After=nfs-config.service
/usr/lib/systemd/system/rpc-svcgssd.service:Wants=nfs-config.service
/usr/lib/systemd/system/rpc-svcgssd.service:After=nfs-config.service
/usr/lib/systemd/system/rpc-statd-notify.service:Wants=nfs-config.service
/usr/lib/systemd/system/rpc-statd-notify.service:After=nfs-config.service
/usr/lib/systemd/system/rpc-statd.service:Wants=nfs-config.service
/usr/lib/systemd/system/rpc-statd.service:After=nfs-config.service
/usr/lib/systemd/system/nfs-server.service:Wants=nfs-config.service
/usr/lib/systemd/system/nfs-server.service:After=nfs-config.service
Check journal output and maybe enable debug logging to get more info why your values aren't pulled in.