Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jun 2009 20:13:37 -0400
From:      Chad Brown <freecsb@gmail.com>
To:        Jos Chrispijn <jos@webrz.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Stale lockfile
Message-ID:  <90f0a2770906031713t52da65e8we5bc0f5a73a881b9@mail.gmail.com>
In-Reply-To: <4A26F16C.2010805@webrz.net>
References:  <4A26F16C.2010805@webrz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 3, 2009 at 5:55 PM, Jos Chrispijn <jos@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?90f0a2770906031713t52da65e8we5bc0f5a73a881b9>