[Bug 422007] New: opensm initscript has wrong logic for printing escape sequences
https://bugzilla.novell.com/show_bug.cgi?id=422007 Summary: opensm initscript has wrong logic for printing escape sequences Product: openSUSE 11.0 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pzb@novell.com QAContact: qa@suse.de Blocks: 422003 Found By: --- Some terminals do not support escape sequences. rc.status does a test and sets $esc if the terminal supports them. The following initscripts do not test the terminal and blindly print escape sequences. This causes issues for machines with terminals that do not support escape sequences. /etc/init.d/opensmd tries to determine if it should use escape sequences, but the tests are not designed for openSUSE/SLE and do not work on openSUSE/SLE. The tests need to be fixed. opensm-3.1.10-17.1.x86_64/etc/init.d/opensmd: MOVE_TO_COL="echo -en \\033[${RES_COL}G" opensm-3.1.10-17.1.x86_64/etc/init.d/opensmd: SETCOLOR_SUCCESS="echo -en \\033[1;32m" opensm-3.1.10-17.1.x86_64/etc/init.d/opensmd: SETCOLOR_FAILURE="echo -en \\033[1;31m" opensm-3.1.10-17.1.x86_64/etc/init.d/opensmd: SETCOLOR_WARNING="echo -en \\033[1;33m" opensm-3.1.10-17.1.x86_64/etc/init.d/opensmd: SETCOLOR_NORMAL="echo -en \\033[0;39m" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=422007 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |jjolly@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=422007 John Jolly <jjolly@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=422007 John Jolly <jjolly@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P4 - Low |P3 - Medium -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=422007 User bart.vanassche@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=422007#c1 Bart Van Assche <bart.vanassche@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bart.vanassche@gmail.com --- Comment #1 from Bart Van Assche <bart.vanassche@gmail.com> 2009-03-07 06:38:09 MST --- One possible solution is to use the shell functions log_success_msg, log_failure_msg and log_warning_msg which are defined in /lib/lsb/init-functions. See also http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generi.... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=422007 John Jolly <jjolly@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com