Subject: bug#18177: chroot: "No such file or directory" message is so confusing

From: "T R" <[email-masked]>
Date: Sun, 3 Aug 2014 04:19:53 +0200

chroot: Failed to run command '/bin/bash': No such file or directory

This needs to be updated with more information. It pops up when:

1) The file is actually not there

2) The file's dependent libraries are not there

3) The file and its libraries are there, but it can't run for some reason

This is too many causes to be indicated by such a brief and undocumented error message.

Version: Every version ever

Distribution: Every distribution of GNU/Linux