- adopted by patch from jbj:
This patch is a brutally simple solution to
illustrate the logic needed in Open(2) to
solve the
chroot /root/temp rpm -q foo
issue.
also worth to note:
01:17:46 jbj> note that all of the rpmdb code is changing to support transactionally protected system calls and rpmdb
access.
01:18:30 jbj> which adds Yet More State, called Log Sequence Numbers, and /var/lib/rpm/log.00000000n files, which have
to managed as well.
01:18:56 jbj> chroot & dbenv expectations simply will not matter.