tput used in /lib/lsb/init-functions after /usr is unmounted
Bug #23388 reported by
hunger
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lsb (Ubuntu) |
Fix Released
|
Low
|
Michael Vogt |
Bug Description
/usr/bin/tput is used in function log_end_msg in /lib/lsb/
filesystems are unmounted (so /usr and with it tput might be unavailable). All other functions in init-functions
handle this gracefully, log_end_msg is the only one that is calling tput without checking for it to be there.
Please change line 234 to read
if [ "$COL" ] && [ -x "$TPUT" ]; then
instead of
if [ "$COL" ]; then
to fix this tiny problem.
To post a comment you must log in.
(this whole mess also needs to be fixed not to hardcode paths)