Package: debootstrap
Version: 1.0.48+deb7u1
Severity: normal

Dear maintainer,

I tried to install a Debian chroot on an armhf Arch Linux system.

/usr/sbin/debootstrap --variant=minbase --arch armhf wheezy debian-chroot http://ftp.de.debian.org/debian
failed when reaching
chroot /home/user/temp/debian-chroot mount -t proc proc /proc
because command mount was not found.

The reason is that on Arch Linux /bin is not in the path. And chroot inherits this path.

When calling chroot the variable PATH should be set explicitly and not be inherited.

A good idea would be to use chroot -i to clear all environment variables and to set explicitly those that are needed like PATH.

Best regards

Heinrich Schuchardt


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51fce7f2.8020...@gmx.de

Reply via email to