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

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

 



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




_______________________________________________
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