Closed enrico-usai closed 1 year ago
@atomic-penguin @joerocklin @ramereth @damacus could you check the patch?
I haven't been involved in this project for years and wouldn't feel comfortable approving something at this stage.
@damacus thanks for your answer. By looking at the attributes/default.rb
file I can see the defaults are already there:
default['nfs']['idmap']['pipefs_directory'] = if platform_family?('debian')
'/run/rpc_pipefs'
else
'/var/lib/nfs/rpc_pipefs'
end
Please let me know I'm misinterpreting your suggestion. Could you give me some hints on what I'm missing. Thanks!
Sorry, complete brain fart. I've reviewed way too many PRs recently and I just didn't dig into this far enough.
I'm really not sure why this isn't in there in the first place, but thanks for fixing this!
The tests are failing right now due to a systemd but I have forgotten the fix. I'm happy this patch reverts the default system behaviour.
Released as: 5.1.0
Thank you @damacus !
Description
When using nfs-utils
1:2.6.1-1ubuntu1.2
, for example on Ubuntu22, the installation ofnfs
cookbook fails with:In the log files you can find the reason:
By searching online you can see that this is due to a known bug in
nfs-utils 1:2.6.1-1ubuntu1.2
. The bug has been fixed but not yet available: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1971935To workaround this issue is enough to configure the
pipefs-directory
parameter in the[general]
section of thenfs.conf
file:This section is already present and correctly configured in the default
nfs.conf
file, but thenfs
cookbook is removing it, causing the issue to appear:With this patch I'm just avoiding to remove the existing value. This permits
nfs
cookbook to work even when using the bugged version ofnfs-utils
package.Tests
Issues Resolved
Check List
## Unreleased