[issue63] [PATCH] Added 'rpm-dbpath' option; enhanced chroot operations

Mauricio Teixeira (netmask) at Labix Tracker tracker at labix.org
Mon Jan 2 11:02:29 PST 2006


Mauricio Teixeira (netmask) <mteixeira at webset.net> added the comment:

Maybe you could change the dbpath outside the chroot if you don't do a 'real'
chroot as you did on your patch (sys.chroot).

Sorry if I'm a bit lost here, but if you can't put the dbpath outsite the
chroot, I don't see the real necessity for the patch you suggested.

The current chroot implementation in Smart in fact passes the rpm-root option to
the rpmlib to handle, so I don't see how it could break something if rpm has
been doing that for ages. IIRC when you pass the root directory to the rpmlib
all the '/' operations actually happen inside the root passed.

_______________________________________
Labix issue tracker <tracker at labix.org>
<http://tracker.labix.org/issue63>
_______________________________________



More information about the Smart mailing list