FreeBSD src
Go to file
Bill Paul 20e4b00a08 Don't bother trying to flock() /var/run/ypbind.lock; this breaks when
/var/run resides on an NFS filesystem (flock() always returns 0 in
this case, so we falsely assume that ypbind is dead and bail out).

Settle instead for better failure checking when using clnttcp_create()
and clnt_call() to interact with ypbind. We still try to flock()
/var/yp/binding/$DOMAINNAME.2, but if this doesn't work, we drop into
the code that retrieves the binding information from ypbind directly.
If that also fails, then we're toast. On NFS filesystems, this means
we'll be ignoring the binding file for no reason and always talking to
ypbind even though we don't have to, but at least things will work.

(I could just replace the flock(/var/run/ypbind.lock) check with
an RPC call to ypbind's NULLPROC procedure, but if the flock() of
the binding file doesn't pan out we're going to try to talk to
ypbind later anyway. *sigh* Is NFS file locking ever going to work?)
1996-03-23 22:48:19 +00:00
bin Fix 'stutter' in manpage. 1996-03-12 05:30:39 +00:00
eBones Big clean-up job. Remove ancient and never-to-be used stuff. 1996-03-11 16:17:58 +00:00
etc Install rc.pccard to get PC-CARD support (when available). 1996-03-22 17:28:07 +00:00
games add missing include files 1996-03-13 23:38:21 +00:00
gnu Don't count character ``+'' as garbage (c++.1, flex++.1) 1996-03-21 18:17:41 +00:00
include Don't reference ndbm(3) manpage. Everything is covered by db(3). 1996-03-03 09:04:40 +00:00
lib Don't bother trying to flock() /var/run/ypbind.lock; this breaks when 1996-03-23 22:48:19 +00:00
libexec Fix bug that caused a coredump when attempting to enter passive mode when 1996-03-18 11:09:03 +00:00
lkm Add in both parts of the driver. LKM qcam driver now works. 1996-03-21 08:18:26 +00:00
release Whoops! I create the holographic shell too early now - move it after 1996-03-23 07:28:22 +00:00
sbin Fixed a type to match Lite2's fixed-width type changes. 1996-03-19 14:41:05 +00:00
secure Comment out the NOPROFILE=yes to make this orthogonal with the rest of our 1996-03-17 15:43:32 +00:00
share Whoops! Move John Hay from the 386BSD contributor list to FreeBSD 1996-03-23 00:25:54 +00:00
sys Ok, now this is correct (even simple fixes sometimes ain't so simple :) 1996-03-23 21:41:00 +00:00
tools Don't look in libkern, it went away. 1995-12-29 01:51:23 +00:00
usr.bin Cast char's to (u_char) before passing them to isctype() functions. 1996-03-19 21:21:06 +00:00
usr.sbin Whoops! I create the holographic shell too early now - move it after 1996-03-23 07:28:22 +00:00
COPYRIGHT This is the official 4.4 Lite copyright. 1994-09-11 07:53:28 +00:00
Makefile Add a hint that a make world is done so people don't think that the last 1996-03-11 14:59:10 +00:00