Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rpc-statd fails to start since nfs-utils-1.3.1 [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mieses
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2004
Posts: 105

PostPosted: Tue Feb 03, 2015 8:17 pm    Post subject: rpc-statd fails to start since nfs-utils-1.3.1 [Solved] Reply with quote

As a consequence, it is not possible to mount any nfs3 volumes with locking. rpc.statd worked previously in nfs-utils-1.2.9

Code:
# systemctl status rpc-statd.service
● rpc-statd.service - NFS status monitor for NFSv2/3 locking.
   Loaded: loaded (/usr/lib64/systemd/system/rpc-statd.service; enabled)
   Active: failed (Result: exit-code) since Tue 2015-02-03 11:02:02 PST; 1min 47s ago
  Process: 20439 ExecStart=/sbin/rpc.statd --no-notify $STATDARGS (code=exited, status=1/FAILURE)

Feb 03 11:02:02 bigmac systemd[1]: Starting NFS status monitor for NFSv2/3 locking....
Feb 03 11:02:02 bigmac systemd[1]: rpc-statd.service: control process exited, code=exited status=1
Feb 03 11:02:02 bigmac systemd[1]: Failed to start NFS status monitor for NFSv2/3 locking..
Feb 03 11:02:02 bigmac systemd[1]: Unit rpc-statd.service entered failed state.


Example of working rpc.statd in nfs-utils-1.2.9-r3
Code:
Jan 03 18:24:39 localhost rpc.statd[4841]: Version 1.2.9 starting
Jan 03 18:24:39 localhost rpc.statd[4841]: Flags: No-Daemon TI-RPC
Jan 03 18:24:42 localhost rpc.statd[4841]: Running as root.  chown /var/lib/nfs to choose different user
Jan 03 18:24:42 localhost rpc.statd[4841]: sm-notify: Version 1.2.9 starting
Jan 03 18:24:42 localhost rpc.statd[4841]: sm-notify: No hosts to notify; exiting


Example of currently broken rpc.statd in nfs-utils-1.3.1-r3
Code:
Feb 03 02:00:41 localhost rpc.statd[4893]: Version 1.3.1 starting
Feb 03 02:00:41 localhost rpc.statd[4893]: Flags: TI-RPC
Feb 03 02:00:42 localhost rpc.statd[4893]: Running as root.  chown /var/lib/nfs to choose different user
Feb 03 02:00:42 localhost rpc.statd[4893]: failed to create RPC listeners, exiting
Feb 03 02:00:42 localhost systemd[1]: rpc-statd.service: control process exited, code=exited status=1
Feb 03 02:00:42 localhost systemd[1]: Unit rpc-statd.service entered failed state.


This does not seem to be related to fstab syntax. nfs3 mounts work with the nolock option.


Last edited by mieses on Tue Feb 03, 2015 10:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
mieses
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2004
Posts: 105

PostPosted: Tue Feb 03, 2015 10:01 pm    Post subject: Reply with quote

Manually enabling rpcbind seems to solve this. I don't think it was necessary before. Marking as solved but I suspect a bug.
Code:
# systemctl start rpcbind.service
# systemctl enable rpcbind.service
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1595
Location: Just over the horizon

PostPosted: Tue Feb 03, 2015 10:28 pm    Post subject: Reply with quote

You may want to read this (it might be a solution to your problem):

https://forums.gentoo.org/viewtopic-t-1009012-highlight-nfsutils.html
Back to top
View user's profile Send private message
mieses
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2004
Posts: 105

PostPosted: Tue Feb 03, 2015 10:40 pm    Post subject: Reply with quote

platojones wrote:
You may want to read this (it might be a solution to your problem):

https://forums.gentoo.org/viewtopic-t-1009012-highlight-nfsutils.html


I did read that before posting and do not see how it is related aside from similar keywords. This thread regarding Arch Linux might be more relevant.

https://github.com/mitchellh/vagrant/issues/4176

Maybe the same advice applies to Gentoo since nfs-utils 1.3. Systemd users should be enabling nfs-client.target now?
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1595
Location: Just over the horizon

PostPosted: Tue Feb 03, 2015 10:43 pm    Post subject: Reply with quote

Apologies...I see now it wasn't relevant.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum