[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Are __db.00[123] lock files or not?



On Thu, Jan 15, 2004 at 06:26:50PM -0200, Andre Costa wrote:
> Hi,
> 
> I thought /var/lib/rpm/__db.00[123] were lock files, but I see they're
> always there on my box (even when I am not running any rpm-related app
> -- yum, apt-get, rpm, up2date etc.) and rpm seems to be fine. Is this
> ok?
> 

They are not lock files, but rather files that contain lock names.

See the locks by doing
    cd /var/lib/rpm
    /usr/lib/rpm/rpmdb_stat -CA

rpmdb_stat is just db_stat from db4-utils, see doco at www.sleppycat.com
or in the db4-utils package.

Yes, the __db* files are persistent.

Yes, there should be no locks displayed when rpm -s not running.

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]