[1353] in Kerberos-V5-bugs

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

krb5 B4.3 problems with sunos 4.1.3 tmpfs

daemon@ATHENA.MIT.EDU (Wolfgang Rupprecht)
Mon May 1 11:52:50 1995

Date: Mon, 1 May 1995 08:52:23 -0700
From: wolfgang@wsrcc.com (Wolfgang Rupprecht)
To: krb5-bugs@MIT.EDU


version and os:	
	krb5 B4.3 
	sunos 4.1.3 
	/tmp is a tmpfs 

problem:
	
	$ kinit wolfgang
	kinit: Invalid argument when initializing cache 

explaination:
	
	Sunos 4.1.3 doesn't implement locks on tmpfs filesystems.  The
fcntl(fd, F_SETLK) call is failing.  This is clearly a sunos bug, not
a krb bug.

	The krb bug is that:

	1) there is no simple way to either turn off locks (I
certainly would rather have the file written, without locks then have
krb bail out because lock call fails).

	2) there is no simple way to change all the references to the
krb "/tmp" directory to point elsewhere.  There are half a dozen
"/tmp" strings hardwired in the code.

-wolfgang
-- 
Wolfgang Rupprecht <wolfgang@wsrcc.com>  <http://www.wsrcc.com/>

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