On Thu, Aug 23, 2007 at 09:44:48PM +0200, Thomas Bächler wrote:
I have several chroot environments that all use pacman as their package manager. I use a shared /tmp directory between them, so that X applications and some other things work across the chroots.
This however is a problem with pacman, since pacman puts its lock file in /tmp/, which means I cannot use pacman simultaneously in these chroots. It would IMO be a better idea to put the lock file in /var/lib/pacman/ instead, which ensures that the lock file and the pacman database are always tied together.
This is done in pacman 3.1 already, it's now in /var/lib/pacman/db.lck by default : http://code.toofishes.net/gitweb.cgi?p=pacman.git;a=commit;h=7daa6708d2afc71... http://archlinux.org/pipermail/pacman-dev/2007-June/008499.html