On Tue, Aug 24, 2004 at 09:18:27PM -0400, Jeff Johnson wrote: > On Tue, Aug 24, 2004 at 03:59:04PM -0700, Shawn Weber wrote: > > > Hmmm, this smells like rpm-4.0.4 or earlier. That the case? > > > > Yes, this particular build server is running version 4.0.4. > > > > > The solution will be to participate in the locking scheme > > > that rpm uses, basically shared/exclusive fcntl locks on > > > /var/lib/rpm/Packages. > > > > How would I find out what specific process(es) has a shared/exclusive > > fcntl lock on /var/lib/rpm/Packages? > > > > Hint: Any process that has a fcntl lock on /var/lib/rpm/Packages > is linking librpmdb-X.Y.so > rpm -q --whatrequires librpmdb-X.Y.so > and the package contains files > rpm -ql `rpm -q --whatrequires librpmdb-X.Y.so` > and one of those files is running > ps auxg | grep some_file_above > 'lsof', if it is available to you, might serve a similar purpose. -- Robert Lehr (concatenate 'string "bozzio" "@" "the-lehrs" ".com") _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list