Thanks, but my question is not how to run a NFS server.
I just wanted to report about garbage in the code and web pages.
By the way, I did search through the form on official website of OpenBSD.
Therefore, claims to google are baseless.
All documentation that I referred to is made by people who have a direct 
bearing on OpenBSD.

I hope that anyone would ever find time for a little cleaning.
Propose to close the topic, since debugging scripts is purely technical work.

28.10.2012, 08:26, "Tomas Bodzar" <tomas.bod...@gmail.com>:
> On Sat, Oct 27, 2012 at 11:15 PM, Mike Korbakov <mike-...@yandex.ru> wrote:
>
>>  Seems, authors rc.conf forgotten (or did not for some reason) to load 
>> portmap when nfs_server is marked on.
>>  Or nfsd now works without portmap ?
>>  (rc.conf unchanged: $OpenBSD: rc.conf,v 1.167 2012/04/01 18:32:51 deraadt 
>> Exp $)
>>
>>  # uname -a
>>  OpenBSD obsd52x64.vm.mike-i7.kmv 5.2 GENERIC.MP#5 amd64
>>  # cat /etc/rc.conf.local
>>  nfs_server=YES
>
> $ cat /etc/rc.conf | grep -i nfs
> nfsd_flags=NO                   # for normal use: "-tun 4" and see nfsd(8)
> unset kpasswdd_flags nfsd_flags mountd_flags lockd_flags
> : ${nfsd_flags=$([ X"${nfs_server-NO}" = XYES ] && echo "-tun 4" || echo NO)}
> : ${mountd_flags=$([ X"${nfs_server-NO}" = XYES ] || echo NO)}
> $
>
> Where did you come for nfs_server=YES ???????
>
>>  # grep -rn nfsd /var/log/*
>>  /var/log/daemon:55:Oct 27 18:01:03 obsd52x64 nfsd[11977]: can't register 
>> with udp portmap
>>  /var/log/daemon:107:Oct 28 00:15:07 obsd52x64 nfsd[10408]: can't register 
>> with udp portmap
>>  /var/log/messages:371:Oct 28 00:15:07 obsd52x64 nfsd[10408]: can't register 
>> with udp portmap
>>  # rpcinfo -p 127.0.0.1
>>  rpcinfo: can't contact portmapper: RPC: Remote system error - Connection 
>> refused
>>
>>  P.S. searching by google gives strange result for keyword "nfs_server":
>>  http://www.google.com/search?q=%22nfs_server%22&domains=www.openbsd.org&sitesearch=www.openbsd.org&btnG=Search
>>  I'm not guessed to look for the answer in the documentation in Chinese.
>>  Information from openbsd.ru outdated because recommends edit rc.conf
>
> Can't see Chinese or openbsd.ru as official here in left upper corner
> http://www.openbsd.org/ . Following bad advice from wild Internet or
> most of the unmaintained unofficial pages about OpenBSD will lead to
> predicted results -> fail

Reply via email to