[Rpm-maint] odd chroot behavior inside the rpm transaction

Seth Vidal skvidal at fedoraproject.org
Tue Sep 15 10:18:25 UTC 2009



On Tue, 15 Sep 2009, devzero2000 wrote:

> On Mon, Sep 14, 2009 at 10:54 PM, Seth Vidal <skvidal at fedoraproject.org> wrote:
>       https://bugzilla.redhat.com/show_bug.cgi?id=503195#c13
>
>       as I said:
>        if, from the python bindings, I open a file with a name starting with '/' while in a transaction then as
>       expected, the file is opened inside the installroot
>
>       however, if I open a file with a name NOT starting with '/' then the file is opened OUTSIDE of the
>       installroot.
>
>       Does this make any sense? B/c I admit I don't quite grok why it would be this way.
>
>       Thanks,
> 
> 
> 
> I suggest to read the man page chroot(2)
>

thanks - I wasn't aware of the (.) option (and man 2 chroot) appears to be 
missing from my system :(

-sv


More information about the Rpm-maint mailing list