I'm not sure if passing through environment variables into the chroot is a good idea at all. Explicit configuration via an XBPS_PROXYS variable or similar in /etc/conf keeps the chroot independent.
Exactly
2017-10-16 11:16 GMT+02:00 Michael Gehring <notifications@github.com>:
> I'm not sure if passing through environment variables into the chroot i=
s a
> good idea at all. Explicit configuration via an XBPS_PROXYS variable or=
> similar in /etc/conf keeps the chroot independent.
>
> =E2=80=94
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/voidlinux/void-packages/pull/8117#issuecomment-3368=
28479>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AA0fqYGo6sc_XElgyrLC=
Jxx1xKcacoTKks5ssx7dgaJpZM4P4vCV>
> .
>
-- =
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/voidlinux/void-packages/pull/8117#issuecomment-3368414=
89=
> I'm work behind a proxy, set XBPS_PROXYS in /etc/conf dosn't work.
> This PR works well.
I neither claimed that this PR doesn't work nor that setting XBPS_PROXYS currently works. I just don't think that unconditionally passing through environment variables is a good idea.
What about using a sudo-like approach where you can define the list of the variables you want to passthrough in a conf file? (`env_keep` in `/etc/sudoers`)