Comment 3 for bug 1947860

Revision history for this message
Andrew L. Moore (slewsys) wrote :

I'm seeing a slight variation of this with
Package: qemu-user-static/impish,now 1:6.0+dfsg-2expubuntu1 amd64
Uname: Linux 5.13.0-21-generic #21-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux
$ sudo chroot armTest ./test.sh a bb ccc dddd
/bin/sh: 0: Can't open a
$ sudo chroot armTest ./test.sh ./test.sh a bb ccc dddd
$0=./test.sh
$1=a
$2=bb
$*=a bb ccc dddd
$ sudo chroot armTest ./test.sh foo a bb ccc dddd
/bin/sh: 0: Can't open foo
$ sudo chroot armTest foo ./test.sh a bb ccc dddd
chroot: failed to run command ‘foo’: No such file or directory