Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

The service rpc-statd provides locking services on RHEL7#13

Open
epienbroek wants to merge 1 commit intojbeard6:masterfrom
epienbroek:master
Open

The service rpc-statd provides locking services on RHEL7#13
epienbroek wants to merge 1 commit intojbeard6:masterfrom
epienbroek:master

Conversation

@epienbroek
Copy link
Copy Markdown

On RHEL7 the service named nfs-lock doesn't actually exist:
$ cd /usr/lib/systemd/system
$ ls -la nfs-lock.service
lrwxrwxrwx. 1 root root 17 29 okt 11:34 nfs-lock.service -> rpc-statd.service

This causes puppet to try to start the nfs-lock service on every
puppet run even when the real service (rpc-statd) is already running.

Fixed this by using the service named rpc-statd instead of nfs-lock on RHEL7

On RHEL7 the service named nfs-lock doesn't actually exist:
$ cd /usr/lib/systemd/system
$ ls -la nfs-lock.service
lrwxrwxrwx. 1 root root 17 29 okt 11:34 nfs-lock.service -> rpc-statd.service

This causes puppet to try to start the nfs-lock service on every
puppet run even when the real service (rpc-statd) is already running.

Fixed this by using the service named rpc-statd instead of nfs-lock on RHEL7
@lasse-kristensen
Copy link
Copy Markdown

I have the same problem on Centos 7, this fixed it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants