kadmin for ktremove takes a lock out on which file
raeburn at MIT.EDU
Thu Mar 1 22:01:54 EST 2007
On Mar 1, 2007, at 21:38, Kanika Malhotra wrote:
> Am using kadmin.local / kadmin to remove an entry from my keytab but
> everytime I do so - I get a hang after I specify ktremove.
> Used gdb to look at the location of the hang - its in
> __KerberosInternal_krb5_lock_file @lock_file.c:111
> using gdb I could figure out that it was trying to get an Exclusive
> lock but
> couldnt figure out on which file.
> bt showed -
> 0x905b5d44 in fcntl$NOCANCEL$UNIX2003 ()
> #1 0x2006fe18 in __KerberosInternal_krb5_lock_file (context=<value
> optimized out>, fd=5, mode=<value optimized out>) at
Use the "lsof" program on the process, and look at file descriptor 5.
More information about the krbdev