Page MenuHomePhabricator

systemctl status nfs-common shows it fail due to missing nobody group and missing file /etc/idmapd.conf
Closed, ResolvedPublic

Description

Hi, when i ran /usr/local/lib/nagios/plugins/check_systemd_state

it led me to finding nfs-common failed to start due to

Jun 18 18:36:21 gerrit-mysql nfs-common[27446]: Starting NFS common utilities: statd idmapdrpc.idmapd: Skipping configuration file "/etc/idmapd.conf": No such file or directory
Jun 18 18:36:21 gerrit-mysql nfs-common[27446]: rpc.idmapd: Could not find group "nobody"
Jun 18 18:36:21 gerrit-mysql nfs-common[27446]: failed!
Jun 18 18:36:21 gerrit-mysql systemd[1]: nfs-common.service: control process exited, code=exited status=1
Jun 18 18:36:21 gerrit-mysql systemd[1]: Failed to start LSB: NFS support files common to client and server.

Could this be fixed please?

Event Timeline

Change 359813 had a related patch set (by Paladox) published:
[operations/puppet@production] labs: Ensure the nobody group exists to prevent nfs-common from failing to start

https://gerrit.wikimedia.org/r/359813

Change 359813 abandoned by Paladox:
labs: Ensure the nobody group exists to prevent nfs-common from failing to start

https://gerrit.wikimedia.org/r/359813

I found out why this happens and the fix is baked into: https://gerrit.wikimedia.org/r/c/operations/puppet/+/571821

This should now be fixed. Please re-open if ever it resurfaces.