Bug#929889: debootstrap: Support unconventional PATH on foreign distros
On Sun, 2 Jun 2019 at 11:12, Vagrant Cascadian <vagrant@debian.org> wrote:
> The following patch fixes issues when the hard-coded
> PATH=/sbin:/usr/sbin:/bin:/usr/bin does not contain chroot or other
> commonly used utilities, by changing to PATH=$PATH:/sbin:...
Do you think it would make sense to instead use "/usr/bin/env" inside
the chroot to just explicitly set PATH to a sane value? Maybe even
with "-i" to ensure we don't leak any other environment variables too?
♥,
- Tianon
4096R / B42F 6819 007F 00F8 8E36 4FD4 036A 9C25 BF35 7DD4
Reply to: