Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#3325 closed defect (fixed)

nfs-server bootscript loads rpc daemons in reverse order

Reported by: Crider Owned by: ken@…
Priority: normal Milestone:
Component: Bootscripts Version: SVN
Severity: normal Keywords:
Cc:

Description

nfs-server bootscript loads rpc.mountd first, then rpc.nfsd, then rpc.statd.

They happily load in that order without error, but clients can't mount shares -- with the default cryptic nfs error message: mount_nfs: can't access /home/net: Permission denied

Changing the order in nfs-server to load rpc.statd first, then rpc.nfsd and finally rpc.mountd solves the issue.

I have no information about when rpc.rquotad should load because I don't use it.

Fixed nfs-server bootscript attached.

Attachments (1)

nfs-server.gz (1.1 KB ) - added by Crider 12 years ago.

Download all attachments as: .zip

Change History (5)

by Crider, 12 years ago

Attachment: nfs-server.gz added

comment:1 by ken@…, 12 years ago

Owner: changed from blfs-book@… to ken@…
Status: newassigned

I recall hours of pain trying to get this working, and also that I mostly/always got it to work after stopping and restarting the server. I've just gone back to my test systems and totally failed to connect, so I confirm the problem. Will test your change.

comment:2 by ken@…, 12 years ago

Silly me - changed my network addresses a few weeks ago, didn't change /etc/exports on the test server system. With that fixed, current script does work if the server is stopped and started.

With your version, it works correctly from the beginning. Thanks for taking the time to fix this.

comment:3 by ken@…, 12 years ago

Resolution: fixed
Status: assignedclosed

Applied in r9849.

comment:4 by bdubbs@…, 10 years ago

Milestone: current

Milestone current deleted

Note: See TracTickets for help on using tickets.