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

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

 



Thks a lot for the excellent explanation, Jeff =)

... but, I must say it raised yet another question: these instructions
[http://www.rpm.org/hintskinks/repairdb/] explicitely refer to
/var/lib/rpm/__db* as lock files, and say they have to be removed prior
to a DB rebuild. I am probably mixing apples and oranges, but it seems
to go against what you say below. Could you please calrify it a little
further?

TIA

Andre

On Thu, 15 Jan 2004 15:34:08 -0500
Jeff Johnson <jbj@xxxxxxxxxx> wrote:

> 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@xxxxxxxxxx (jbj@xxxxxxx)
> Chapel Hill, NC
> 
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list


-- 
Andre Oliveira da Costa


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux