You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default Nobody-Group for idmapd service is "nobody" group , but in Debian user nobody belongs to "nogroup" group and service is refused to start under "nobody:nobody".
If define options in puppet, for example
class { '::nfs':
client_idmapd_setting => [ 'Nobody-User=nobody', 'Nobody-Group=nogroup' ]
}
and got error
Error: /Stage[main]/Nfs::Client::Config/Augeas[/etc/default/nfs-common]: Could not evaluate: Unknown command Nobody
Notice: /Stage[main]/Nfs::Client/Anchor[nfs::client::end]: Dependency Augeas[/etc/default/nfs-common] has failures: true
The text was updated successfully, but these errors were encountered:
This does not work for me, if client uses NFSv4. The module make attempt to write idmapd settings into nfs-common config, which is wrong.
From nfs/manifests/client/config.pp
if $::nfs::client::nfs_v4 {
if $::nfs::defaults_file != undef {
augeas { $::nfs::defaults_file: <- variable point to /etc/default/nfs-common, not /etc/idmapd.conf
context => "/files/${::nfs::defaults_file}",
changes => $::nfs::client_idmapd_setting,
}
}
By default Nobody-Group for idmapd service is "nobody" group , but in Debian user nobody belongs to "nogroup" group and service is refused to start under "nobody:nobody".
If define options in puppet, for example
class { '::nfs':
client_idmapd_setting => [ 'Nobody-User=nobody', 'Nobody-Group=nogroup' ]
}
and got error
Error: /Stage[main]/Nfs::Client::Config/Augeas[/etc/default/nfs-common]: Could not evaluate: Unknown command Nobody
Notice: /Stage[main]/Nfs::Client/Anchor[nfs::client::end]: Dependency Augeas[/etc/default/nfs-common] has failures: true
The text was updated successfully, but these errors were encountered: