[42] in Zephyr_Bugs
[daemon@ATHENA.MIT.EDU : vax 7.0E: kinit and aklog (and maybe zctl/zwgc?)]
daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Mon Jun 25 17:50:59 1990
Date: Mon, 25 Jun 90 17:50:38 -0400
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: bug-zephyr@ATHENA.MIT.EDU
Ignoring the aklog core-dumping problem, it appears that zwgc may
get in a state where it locks the ticket file for a long period of
time, e.g. if the zctl load is interrupted. Something should almost
certainly be done about this, because it is in general a bad idea to
hold a lock for a long time -- you probably need a timeout somewhere.
------- Forwarded transaction
Subject: vax 7.0E: kinit and aklog (and maybe zctl/zwgc?)
From: vanharen@ATHENA.MIT.EDU
Date: Mon, 11 Jun 90 10:24:55 -0400
To: bugs@ATHENA.MIT.EDU
Re-sending this. It bounced the first time, but I'm not sure whether it
made it or not. So, here it is again...
-----
System name: fries
Type and version: CVAXSTAR 7.0E (1 update(s) to same version)
Display type: SM
What were you trying to do?
kinit and aklog after my tickets had expired. I may have typed
^C during a zctl load earlier.
What's wrong:
--- kinit complained about not being able to lock the ticket file.
Then the aklog dumped core. Error messages follow:
kinit: Can't lock ticket file; try later (tf_util)
aklog: Couldn't get AFS tickets for cell athena.mit.eduSegmentation violation (core dumped)
aklog: Couldn't get AFS tickets for cell rel-eng.athena.mit.eduSegmentation violation (core dumped)
-- klist gives:
% klist
Ticket file: /tmp/tkt_ttyv0
klist: can't find realm of ticket file: Generic kerberos error (kfailure)
--- ZWGC has the ticket file open (and presumably locked),
according to ofiles:
% ofiles tkt_ttyv0
/dev/rz3g: tkt_ttyv0
user process command type inode(s)
vanharen 4694 zwgc f 901
What should have happened:
They shouldn't do that.
Please describe any relevant references:
The core file from the aklog dumping is in
/mit/bitbucket/vanharen/core.aklog, if anyone wants it.
The ticket file is munged. A copy of it is in
/mit/bitbucket/vanharen/tkt_ttyv0.
I gcore'd the zwgc that had the ticket file open. That core
file is in /mit/bitbucket/vanharen/core.zwgc.