[nos-bbs] removing stale tty lock files

Michael Fox - N6MEF n6mef at mefox.org
Fri Feb 25 15:16:53 EST 2011


Agreed.  That's why I didn't want to just dive into a solution.  I've now
got access to the particular machine in question and will make more attempts
to recreate the problem.

M

-----Original Message-----
From: Maiko Langelaar [mailto:maiko at pcs.mb.ca] 
Sent: Friday, February 25, 2011 10:49 AM
To: Michael Fox - N6MEF
Cc: 'TAPR xNOS Mailing List'
Subject: Re: [nos-bbs] removing stale tty lock files


> understand why it didn't in this situation.

If it indeed was a zombie, I could 'mv' the lock files to another name
and they would continue to be used by the zombie process. And then the
new process could go ahead. I'm pretty sure the devices would be closed
at that point, and be openable (nice word eh) by the new process.

Let me look around abit, perhaps the locking stuff needs an update :)

This may very well be a very rare occurance, I would not go and start
changing all my scripts just because of this. I just checked, and I've
never removed any of the /var/lock files before I start my JNOS. It's
always worked fine for me and I've been running it for over 10 years.

Maiko






More information about the nos-bbs mailing list