[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#770658: fails to debootstrap debian on fedora: Failure trying to run: chroot /debian mount -t proc proc /proc

Package: debootstrap
Version: 1.0.64
Severity: normal

W: Failure trying to run: chroot /debian mount -t proc proc /proc

This is because mount is in a different location in fedora than in debian.
On Debian, it's in /bin/mount, while on fedora, /usr/bin/mount.

And, on fedora, root's default path does not contain /bin:

[root@alien /]# echo $PATH

So, chroot tries each of those directories, does not find mount in them
in the debian chroot, and fails.

Suggested fix: Before chrooting into the debootstrapped chroot to run
commands, debootstrap should ensure that the PATH includes all
directories it does on a standard debian system. Eg:


This way, the host system's chroot etc will still be found whereever
it's PATH has them, and the debian system's commands will likewise be

see shy jo

Attachment: signature.asc
Description: Digital signature

Reply to: