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

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



Hi Enrique,

thanks for the info. 129700 sounds pretty similar. I couldn't find an according bug and had filed one on my own (129463). I will put a reference to your bug into it.

- Christof

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]