confirming, this bug forces me to export PATH in a qemu wrapper script
(a script called /bin/installer is executed as init in this case), the
code example is:
# write installer script to image
cat > $BUILDDIR/installer <<EOF
#!/bin/bash
set -e
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
export LC_ALL=C
/debootstrap/debootstrap --second-stage
....
EOF
** Changed in: bash (Ubuntu)
Status: New => Confirmed
--
PATH not exported by default when used as init= shell
https://bugs.launchpad.net/bugs/320188
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs