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

Re: /var/lock/rpm/transaction not relocatable



On Mon, 2004-08-09 at 14:52, Christof Pintaske wrote:

> We face a problem with rpm 4.3.x in that the transaction locking does 
> try to lock the file /var/lock/rpm/transaction regardless of the dbpath 
> or any prefix. In fact rpmlock_new() from rpm/lib/rpmlock.c takes a 
> "rootdir" as an argument, however RPMLOCK_FILE is not relocated to it.
[snip]
> I guess the transaction file should relocate to the rpm database 
> directory, otherwise you could still face race conditions on, for 
> example, a diskless client, when installing rpms from the server and 
> from the client at the same time.

I have just filed a bug report on a related issue.

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=129700

-Enrique



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