Stale lockfile

Chad Brown freecsb at gmail.com
Thu Jun 4 00:37:19 UTC 2009


On Wed, Jun 3, 2009 at 5:55 PM, Jos Chrispijn <jos at webrz.net> wrote:

> Can someone tell me what this file exactly is for?
> Got the message 'Stale lock file found. Removed' running 'portupgrade -a'.
>
> thanks,
> Jos Chrispijn
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>

The point is to indicate that a process (e.g., portupgrade) is currently
running.  Multiple instances of portupgrade running at the same time might
do some strange things.  As W. Puchar says, portupgrade detected the lock
file (from a previous unfinished instance), but there were no current
portupgrade processes running.  Thus, the lockfile was "stale", and was
deleted.


More information about the freebsd-questions mailing list