usplash screen corruption on some init.d scripts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lsb (Ubuntu) |
Fix Released
|
Low
|
Kees Cook |
Bug Description
Binary package hint: usplash
When using usplash-0.5.25 on Kubuntu 8.10 (also observed in Ubuntu 8.04), some init scripts create output that yields rather long lines. However, only part of these scrolled area is scrolled up and things look rather ugly, since the message is torn apart and the left part (example below) scrolls up, but the right part remains fixed on the screen.
Apparently the scrolled area for texts in usplash screens is smaller than the printable area.
I'm booting with vga=791, hence I get a VESA 1024x768x16 framebuffer.
To reproduce, install openvpn, set AUTOSTART=none in /etc/default/
You'll probably observe that /etc/init.d/openvpn logs the start, and then a warning (shown below).
On a usplash screen, the output looks like this:
Starting virtual private network daemon(s)... Autostart disabled, no VPN will be started.
(the right part starts aligned with the OK)
When further messages are printed, the right hand side is ripped apart and roughly the part "Starting virtual private network daemon(s)... Autostart di" scrolls up and "sabled, no VPN will be started." remains static to the right hand side of new lines scrolling by.
Note that there is some magic in /etc/lsb-
I see three alternatives to fix this:
1- (preferred) make sure that the whole printable area is scrolled
2- make sure that long lines wrap at the end (right hand side) of the scrolled region
3- make sure that the line-wrapping magic around tput xenl from /etc/lsb-
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
NonfreeKernelMo
Package: usplash 0.5.25
ProcEnviron:
LANGUAGE=de
PATH=/
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: usplash
Uname: Linux 2.6.27-7-generic i686
Related branches
Changed in usplash: | |
assignee: | nobody → kees |
importance: | Undecided → Low |
status: | New → Fix Committed |
This bug was fixed in the package lsb - 3.2-20ubuntu3
---------------
lsb (3.2-20ubuntu3) jaunty; urgency=low
* lsb-base- logging- ubuntu. sh: change log_{success, warning, failure} _msg()
to use usplash_write "TEXT" instead of "STATUS" to avoid unreadable
line-wrapping when using usplash in verbose mode (LP: #291543).
-- Kees Cook <email address hidden> Sat, 07 Feb 2009 14:22:19 -0800