losetup completion is shipped by util-linux, not bash-completion. I just sent a patch upstream that should address this particular issue: http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/10186
However other completions in util-linux may invoke commands (other than the one being completed) that are not necessarily in $PATH (haven't checked which, if any); such cases should be done with $PATH explicitly set, for example $(PATH="$PATH:/sbin:/usr/sbin" somecommand ...) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org