[Yum-devel] [PATCH] os.path.normpath() over the installroot dir
James Antill
james at fedoraproject.org
Mon Sep 14 20:59:08 UTC 2009
On Mon, 2009-09-14 at 16:24 -0400, Seth Vidal wrote:
> apparently opening a path NOT starting with '/' inside the chroot
> that rpm makes for the transaction will open a file OUTSIDE of the chroot
> no, I'm not sure I get it either.
After looking at the rpm sources it appears rpm does the chroot() then
does a few callbacks and then does the chdir(). So I'm just going to ACK
this, as it'll always work even if rpm gets fixed (which is probably
unlikely, even though it's weird).
ACK.
--
James Antill <james at fedoraproject.org>
Fedora
More information about the Yum-devel
mailing list