when halting, umountfs calls init-functions/log_end_msg() AFTER umount -a
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysvinit (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
...and then log_end_msg() calls $TPUT, which is defined as /usr/bin/tput at this
point
(don't know how, but I am sure since I _traced_ it with set -x).
And /usr/bin/tput may obviously be missing since umount -a has been called.
Conclusion is this ugly message:
+ /usr/bin/tput hpa 73
/lib/lsb/
+ '[' 1 -eq 0 ']'
+ printf '['
+ /usr/bin/tput setaf 1
/lib/lsb/
+ printf fail
+ /usr/bin/tput op
/lib/lsb/
+ echo ']'
+ return 1
To debug avoiding the reboot, call /etc/init.
By the way "telinit 1" does not call "umount -a", surprising.
Same problem as the (very old, so probably no more relevant) bug #7803.
This bug has been marked as a duplicate of bug 23388.