halt.sh will report errors and prompt for the root password when the root filesystem is mounted readonly, umount will try to update mtab, and fail so the system will think there is an initscript error and prompt for the root password for system maintenance. Reproducible: Always Steps to Reproduce:
Created attachment 63142 [details, diff] patch to make umount use -n so it won't try to update mtab Attaching a patch makes the script pass umount the -n flag so it won't try to update mtab, there is no point in updating it at this point anyway, the system is either about to reboot or shut off.
Wonder if its not a typo, as it should not be -r -r ...
Fixed in svn, thanks.