Description of problem: Seen the following in the logs: gru 18 09:08:12 fedora22 systemd[1]: Starting Preprocess NFS configuration... gru 18 09:08:12 fedora22 systemd[1]: Failed to set memory.limit_in_bytes on : Invalid argument gru 18 09:08:12 fedora22 systemd[1]: Failed to reset devices.list on /system.slice: Invalid argument gru 18 09:08:12 fedora22 nfs-utils_env.sh[1975]: /usr/lib/systemd/scripts/nfs-utils_env.sh: line 21: [: : integer expression expected gru 18 09:08:12 fedora22 nfs-utils_env.sh[1975]: /usr/lib/systemd/scripts/nfs-utils_env.sh: line 25: [: : integer expression expected gru 18 09:08:12 fedora22 nfs-utils_env.sh[1975]: /usr/lib/systemd/scripts/nfs-utils_env.sh: line 29: [: : integer expression expected gru 18 09:08:12 fedora22 systemd[1]: Started Preprocess NFS configuration. gru 18 09:08:12 fedora22 systemd[1]: Dependency failed for pNFS block layout mapping daemon. gru 18 09:08:12 fedora22 systemd[1]: Job nfs-blkmap.service/start failed with result 'dependency'. Version-Release number of selected component (if applicable): nfs-utils-1.3.1-2.0.fc22.x86_64 nfs-utils-1.3.1-4.0.fc22.x86_64 (This was during upgrade, I'm not sure which one this message comes from...)
This should be fixed in the latest update nfs-utils-1.3.1-4.0.fc22
This also happens on fc21. Seems like the if statements needs a -n <VAR> ahead of the <VAR> -gt 0 clause. Also nfs-utils_env.sh has this comment # extract configuration from /etc/sysconfig/nfs-utils and write but the code seems to read from /etc/sysconfig/nfs instead, i.e.: nfs_config=/etc/sysconfig/nfs if test -r $nfs_config; then
(In reply to Steve Dickson from comment #1) > This should be fixed in the latest update nfs-utils-1.3.1-4.1.fc22 and nfs-utils-1.3.1-4.1.fc21... See https://admin.fedoraproject.org/updates/FEDORA-2014-15315/nfs-utils-1.3.1-4.1.fc21?_csrf_token=c600ba89b0c239cadd44b09fe34d57aa935c5926
nfs-utils-1.3.1-4.1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/FEDORA-2014-15315/nfs-utils-1.3.1-4.1.fc21
Package nfs-utils-1.3.1-4.1.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing nfs-utils-1.3.1-4.1.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-15315/nfs-utils-1.3.1-4.1.fc21 then log in and leave karma (feedback).
nfs-utils-1.3.1-4.1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.