waiting for lock...

Werner Koch wk@gnupg.org
Thu, 7 Dec 2000 09:22:31 +0100


On Thu, 7 Dec 2000, Andreas Siegert wrote:



> > > gpg: waiting for lock (hold by 1407 - probably dead) ...
> >
> > Just go into ~/.gnupg and delete all .#* files. They must have been
> > left behind when the program exited abnormally.
>
> Thanks! It was not the .#l* file but trustdb.gpg.lock that caused it!
> The 1407 was putting me on the wrong trck, I was thinking PID here...
It is a PID, but one from a terminated process. The "probably dead" is needed due to the fact that the directory may be NFS mounted and the pid alone is not sufficient to check whether the process is really dead. I should add the hostname to the lockfile to be able to remove a stale lockfile. Werner -- Archive is at http://lists.gnupg.org - Unsubscribe by sending mail with a subject of "unsubscribe" to gnupg-users-request@gnupg.org