[3939] in Kerberos

home help back first fref pref prev next nref lref last post

Re: KRB5 problems

daemon@ATHENA.MIT.EDU (Joe Ramus)
Tue Sep 27 19:47:42 1994

Date: Tue, 27 Sep 94 16:37:33 PDT
From: ramus@nersc.gov (Joe Ramus)
To: kerberos@MIT.EDU

In an earlier posting, I said we have no problem with using /tmp on
our Sun.  It turns out that we had inserted a local fix in the
Kerberos 5 source to ignore the error when it tried to lock the
cache file.

So I agree, the MIT version 5 does fail when trying to lock a cache
file in /tmp when using tmpfs on SunOS.

>> >> Are you using tmpfs for your /tmp?  It doesn't support file locking,
>> >> which means that the kerberos library loses horribly when it tries to
>> >> acquire a lock on the cache.
>> 
>> I have SunOS 4.1.3 with /tmp configured like this in /etc/fstab:
>> swap      /tmp        tmp rw 0 0
>> 
>> I can do kinit to get the initial TGT and then do some
>> operations that need to add to the cache.  It now contains 3 items.
>> Of course, I did not do this on a busy machine or in a case where
>> another process might also want to lock the same file at the same time.

----------------------------------------------------------------
| Joe Ramus  NERSC Livermore  (510) 423-8917   ramus@nersc.gov |
----------------------------------------------------------------

home help back first fref pref prev next nref lref last post