RHEL 8: rpc.statd reports "Running as root. chown /var/lib/nfs/statd to choose different user

Solution Unverified - Updated -

Issue

  • The following error was output when system boots.
Jan 18 19:09:33 localhost rpc.statd[535]: Running as root.  chown /var/lib/nfs/statd to choose different user
  • But the directory has correct permission.
$ ls -ld /var/lib/nfs/statd
   drwx------. 4 rpcuser rpcuser 43  1月 18 16:59 /var/lib/nfs/statd

$ ll /var/lib/nfs/statd
   total 4
   drwx------. 2 rpcuser rpcuser 6  9月 21  2019 sm
   drwx------. 2 rpcuser rpcuser 6  9月 21  2019 sm.bak
   -rw-r--r--  1 root    root    4  1月 18 16:59 state

Environment

  • Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content