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

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



On Mon, 9 Aug 2004, Christof Pintaske wrote:

> Hi,
> 
> my name is Christof Pintaske, I'm employed by Sun Microsystems, working 
> on OpenOffice.org in general, and specifically on deploying it as an rpm.
> 
> 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.
> 
> That causes grieves on our side because we need to install rpms without 
> root privileges. QA and development need to be able to install several 
> private instances of the same product. To do so we relocate the rpm 
> database (--dbpath) and the product (--prefix) to the users home 
> directory. That worked fine with older versions of rpm but became an 
> issue on Fedora core with rpm 4.3.1.
>
You can be the first to provide the patch (-;

I saw this when the code was first introduced, but at the time they where 
working on it so I did not do anything about it.  Course, I may be missing 
something...james 



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