Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Sep 2006 17:10:14 +0200
From:      Robert Joosten <robert@ml.erje.net>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        questions@freebsd.org
Subject:   Re: 6.1 and NFS
Message-ID:  <20060923151014.GA846@iphouse.com>
In-Reply-To: <186AD616-6739-41EF-88F1-4F8B9BD417BC@mac.com>
References:  <C87B42D9-AF83-4DFC-9E13-53FCD874A444@obmail.net> <20060921182252.GA24321@xor.obsecurity.org> <20060921214316.GD673@iphouse.com> <6180D198-A44B-46D0-8A0B-FC5D3ACA115C@mac.com> <20060922180202.GB918@iphouse.com> <186AD616-6739-41EF-88F1-4F8B9BD417BC@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

> That's interesting.  Are you getting a "could not lock the passwd  
> file: EOPNOTSUPP" failure with rpc.lockd not enabled? 

Negative, I rebuild the kernel on one box today, commented out 
rpc.lockd="YES" in /etc/rc.conf and rebooted into single user mode and 
remounted / rw.

I then ran adduser:

[some output deleted]
Home       : /home/koekoek
Shell      : /bin/sh
Locked     : no
OK? (yes/no): pw: group update: Operation not supported
pwd_mkdb: flock: Operation not supported
pw: user 'koekoek' disappeared during update
adduser: ERROR: There was an error adding user (koekoek).

and uploaded the kdump to 
http://members.iphouse.com/robertj/ktrace.adduser.no.rpc.lockd.txt, same 
story with vipw:

vipw: could not lock the passwd file: : Operation not supported

(http://members.iphouse.com/robertj/ktrace.vipw.no.rpc.lockd.txt).

After that, I rebooted once again into the normal 
multi-user modus with rpc.lockd running and took ktraces for vipw and 
adduser (http://members.iphouse.com/robertj/ktrace.vipw.rpc.lockd.txt 
and http://members.iphouse.com/robertj/ktrace.adduser.rpc.lockd.txt 
respectively) for the record.

The pxe box runs 5.4-RELEASE-p11, being served by a 4.11-RELEASE-p19 box.

Please feel free to contact me to let me do something else, test or 
whatswhoever.

Regards,
Robert

PS: koekoek is a bird, dutch for Cuculus Canorus :-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060923151014.GA846>