[27518] in Kerberos
kadmin for ktremove takes a lock out on which file
daemon@ATHENA.MIT.EDU (Kanika Malhotra)
Thu Mar 1 21:40:20 2007
Message-ID: <9299dfc30703011839y74d6a755r3dd30633cd3db40@mail.gmail.com>
Date: Thu, 1 Mar 2007 18:39:58 -0800
From: "Kanika Malhotra" <kmalhotr@gmail.com>
To: kerberos@mit.edu
In-Reply-To: <9299dfc30703011838s6127bea2je4609c684ae7f1d8@mail.gmail.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu
Hello,
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
/Sources/lib/krb5/os/lock_file.c:111
#2 0x2004d2e4 in krb5_ktfileint_open (context=0x805600, id=0x30ad60,
mode=2) at /Sources/lib/krb5/keytab/kt_file.c:1076
#3 0x2004eec0 in krb5_ktfile_remove (context=<value optimized out>,
id=<value optimized out>, entry=0xbffff848, id=<value optimized out>,
context=<value optimized out>) at /Sources/lib/krb5/keytab/kt_file.c:1125
#4 0x00007984 in kadmin_keytab_remove (argc=<value optimized out>,
argv=<value optimized out>, kvno_str=<value optimized out>,
princ_str=0xbffffba7 "keyName", keytab=0x30ad60, keytab_str=0x30a210
"WRFILE:keytabFileName") at /Sources/kadmin/cli/keytab.c:410
#5 0x00008154 in check_request_table (rqtbl=<value optimized out>, argc=5,
argv=0x301d40, sci_idx=1) at /Sources/util/ss/execute_cmd.c:89
Can anyone help me here? Would like to know which file is ktremove trying to
get a lock on
Thanks
Kanika
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos