NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Running /etc/rc.d/nfsd onestart complains about $mountd not enabled



Adrian Christiansen <adrian.christiansen%gmail.com@localhost> writes:

[top-posting repaired]

> 2015-07-18 21:52 GMT+02:00 Eric Haszlakiewicz <erh%nimenees.com@localhost>:
>> On July 18, 2015 3:36:41 PM EDT, Adrian Christiansen <adrian.christiansen%gmail.com@localhost> wrote:
>>>Just noticed this running 7.0_RC1:
>>># /etc/rc.d/nfsd onestart
>>>/etc/rc.d/nfsd: WARNING: $mountd is not enabled.
>>>This warning is from required_vars="mountd rpcbind", switching places
>>>gives a waring about $rpcbind instead.
>>>
>>>I guess the "one" option only ignores looking in rc.conf for the daemon
>>>called?
>>>
>>>Forcestart always works but doesn't seem like the proper way it should
>>>be done. I'd like to know more about this since I'm probably doing
>>>something bad/wrong.
>>
>> Try editing /etc/rc.conf and add lines for mountd=yes and rpcbind=yes

> Yes, that would work. But I just want to run nfsd from time to time
> when I'm copying files.

Well, if you just want nfsd, it seems to work, and the mountd comment is
a warning.  So what's actually wrong?

Seriously, if you just want nfsd, that's fine.  But NFS generally needs
the ability to get file handles to start the mount, and other stufff,
hence mountd and rpcbind.   So either set rc.conf appropriately, or
onestart all the required daemons in sequence.    I'm not sure what you
are suggesting should be different.

Attachment: pgp4Ojyo26jdL.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index