Package: usplash
Version: 0.4-43-3
Severity: minor
Tags: patch
Currently some init scripts use log_warning/failure/success_msg to print
small essays to screen during boot. The usplash lsb scripts expect the
messages to be very short and prints them using STATUS (which uses the
tiny 5-6 character column to the far right of the text box).
This breaks, creating some horrible text when booting with VERBOSE=on
(/etc/rcS.d/S??check*.sh are good examples).
So I suggest they be changed to use "TEXT" output (which is also in line
with the output when not using usplash, which would be the
success/warning/failure message alone on one line).
--
David Härdeman
diff -ur ./usplash-0.4-43.orig/debian/lsb-base-logging-ubuntu.sh ./usplash-0.4-43/debian/lsb-base-logging-ubuntu.sh
--- ./usplash-0.4-43.orig/debian/lsb-base-logging-ubuntu.sh 2007-05-10 00:29:02.000000000 +0200
+++ ./usplash-0.4-43/debian/lsb-base-logging-ubuntu.sh 2007-05-10 00:29:46.000000000 +0200
@@ -7,14 +7,14 @@
log_success_msg () {
if log_use_usplash; then
- usplash_write "STATUS $*" || true
+ usplash_write "TEXT $*" || true
fi
echo " * $@"
}
log_failure_msg () {
if log_use_usplash; then
- usplash_write "STATUS $*" || true
+ usplash_write "TEXT $*" || true
fi
if log_use_fancy_output; then
@@ -28,7 +28,7 @@
log_warning_msg () {
if log_use_usplash; then
- usplash_write "STATUS $*" || true
+ usplash_write "TEXT $*" || true
fi
if log_use_fancy_output; then