[Bug 310130] New: shutdown message is broken
https://bugzilla.novell.com/show_bug.cgi?id=310130 Summary: shutdown message is broken Product: openSUSE 10.3 Version: Beta 3 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: teheo@novell.com QAContact: qa@suse.de Found By: --- during shutdown the console displays broken message. I'll attach screenshot. FWIW, it's a Korean installation. -- 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=310130#c1 --- Comment #1 from Tejun Heo <teheo@novell.com> 2007-09-12 23:30:01 MST --- Created an attachment (id=163754) --> (https://bugzilla.novell.com/attachment.cgi?id=163754) screenshot.png -- 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=310130#c2 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |ro@novell.com --- Comment #2 from Cyril Hrubis <chrubis@novell.com> 2007-09-18 07:56:22 MST --- Any idea where this comes from? -- 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=310130#c3 Ruediger Oertel <ro@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ro@novell.com Info Provider|ro@novell.com |werner@novell.com --- Comment #3 from Ruediger Oertel <ro@novell.com> 2007-09-18 10:50:11 MST --- not really. i18n output of /sbin/shutdown ` -- 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=310130#c4 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |werner@novell.com Info Provider|werner@novell.com |mls@novell.com --- Comment #4 from Dr. Werner Fink <werner@novell.com> 2007-09-19 03:33:18 MST --- Question: Is this message part of the virtual console its self or part of the frames which also includes the openSUSE logo? -- 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=310130#c5 Michael Schröder <mls@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mls@novell.com Status|NEEDINFO |NEW Info Provider|mls@novell.com | --- Comment #5 from Michael Schröder <mls@novell.com> 2007-09-19 03:39:26 MST --- Must be virtual console, the logos are just a picture. -- 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=310130#c6 --- Comment #6 from Michael Schröder <mls@novell.com> 2007-09-19 03:45:08 MST --- It's probably the output of some deamon going down. -- 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=310130#c7 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |teheo@novell.com --- Comment #7 from Dr. Werner Fink <werner@novell.com> 2007-09-19 04:13:32 MST --- All boot scripts are covered by /etc/rc.status and this includes LC_ALL=POSIX export LC_ALL I'd like to know if there is a script using the three underscore or three hyphen. Please do a grep -rs -E '(-|_){3}' /etc/init.d/ | grep -E 'echo|print' grep -rs -E '(-|_){3}' /etc/sysconfig/ | grep -E 'echo|print' and provide the result of that. -- 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=310130#c8 Tejun Heo <teheo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|teheo@novell.com | --- Comment #8 from Tejun Heo <teheo@novell.com> 2007-09-19 04:24:17 MST --- # grep -rs -E '(-|_){3}' /etc/init.d/ | grep -E 'echo|print' /etc/init.d/autofs: echo "------------------------" /etc/init.d/autofs: echo "--------------------" /etc/init.d/rpmconfigcheck: echo "----------------------------------------------------------------------" /etc/init.d/rpmconfigcheck: echo "----------------------------------------------------------------------" /etc/init.d/rpmconfigcheck: echo "----------------------------------------" /etc/init.d/rpmconfigcheck: echo "----------------------------------------" # grep -rs -E '(-|_){3}' /etc/sysconfig/ | grep -E 'echo|print' /etc/sysconfig/network/scripts/extradebug:echo -------------------------------------------------- >&2 /etc/sysconfig/network/scripts/extradebug:echo -------------------------------------------------- >&2 /etc/sysconfig/network/scripts/extradebug:echo -------------------------------------------------- >&2 /etc/sysconfig/network/scripts/functions:# echo $i: $(pfxlen2mask $i) " ---> " $(mask2pfxlen $(pfxlen2mask $i)) -- 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=310130#c9 --- Comment #9 from Tejun Heo <teheo@novell.com> 2007-09-19 04:29:36 MST --- Oops, scrap that. That's from sl102. Here's the result from sl103. grep -rs -E '(-|_){3}' /etc/init.d/ | grep -E 'echo|print' /etc/init.d/rpmconfigcheck: echo "----------------------------------------------------------------------" /etc/init.d/rpmconfigcheck: echo "----------------------------------------------------------------------" /etc/init.d/rpmconfigcheck: echo "----------------------------------------" /etc/init.d/rpmconfigcheck: echo "----------------------------------------" # grep -rs -E '(-|_){3}' /etc/sysconfig/ | grep -E 'echo|print' /etc/sysconfig/network/scripts/ifstatus-bridge: # echo br waiting $a ___ $STATE /etc/sysconfig/network/scripts/ifup-bridge: # echo br waiting $a ___ $STATE /etc/sysconfig/network/scripts/ifdown-bridge: # echo br waiting $a ___ $STATE /etc/sysconfig/network/scripts/extradebug:echo -------------------------------------------------- >&2 /etc/sysconfig/network/scripts/extradebug:echo -------------------------------------------------- >&2 /etc/sysconfig/network/scripts/extradebug:echo -------------------------------------------------- >&2 /etc/sysconfig/network/scripts/functions:# echo $i: $(pfxlen2mask $i) " ---> " $(mask2pfxlen $(pfxlen2mask $i)) -- 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=310130#c10 --- Comment #10 from Dr. Werner Fink <werner@novell.com> 2007-09-19 05:48:59 MST --- Hmmm ... then no of the scripts is doing this message. -- 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=310130#c11 --- Comment #11 from Dr. Werner Fink <werner@novell.com> 2007-09-19 05:57:29 MST --- Please try out the following command line find /etc/init.d/*.d/* -name 'K*' -printf '%p -> %l\n' | grep -B2 -A5 auditd to find out which scripts are executed before auditd and which are executed within the same order of auditd ... on of those scripts uses a daemon or tool showing or causing this message. Beside this you may attach the file /var/log/boot.omsg, maybe we see the message therein and can guess which tool is sending this to /dev/console -- 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=310130 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |teheo@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=310130#c12 Tejun Heo <teheo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|teheo@novell.com | --- Comment #12 from Tejun Heo <teheo@novell.com> 2007-09-21 02:25:20 MST --- # find /etc/init.d/*.d/* -name 'K*' -printf '%p -> %l\n' | grep -B2 -A5 auditd /etc/init.d/rc3.d/K12sshd -> ../sshd /etc/init.d/rc3.d/K14smbfs -> ../smbfs /etc/init.d/rc3.d/K15auditd -> ../auditd /etc/init.d/rc3.d/K15avahi-dnsconfd -> ../avahi-dnsconfd /etc/init.d/rc3.d/K15portmap -> ../portmap /etc/init.d/rc3.d/K15splash_early -> ../splash_early /etc/init.d/rc3.d/K16avahi-daemon -> ../avahi-daemon /etc/init.d/rc3.d/K16syslog -> ../syslog -- /etc/init.d/rc5.d/K12sshd -> ../sshd /etc/init.d/rc5.d/K14smbfs -> ../smbfs /etc/init.d/rc5.d/K15auditd -> ../auditd /etc/init.d/rc5.d/K15avahi-dnsconfd -> ../avahi-dnsconfd /etc/init.d/rc5.d/K15portmap -> ../portmap /etc/init.d/rc5.d/K15splash_early -> ../splash_early /etc/init.d/rc5.d/K16avahi-daemon -> ../avahi-daemon /etc/init.d/rc5.d/K16syslog -> ../syslog -- 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=310130#c13 --- Comment #13 from Tejun Heo <teheo@novell.com> 2007-09-21 02:27:15 MST --- Created an attachment (id=173801) --> (https://bugzilla.novell.com/attachment.cgi?id=173801) boot.omsg -- 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=310130#c14 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |banderso@novell.com, bnc-team- | |gnome@forge.provo.novell.com --- Comment #14 from Dr. Werner Fink <werner@novell.com> 2007-09-21 04:26:38 MST --- There we have a candidate for the message smbfs but this one seems to be disabled. On the other hand the log shows gdm cupsd cron gdm smartd nscd alsa powersaved shutted down before auditd ... IMHO the sevices cupsd, cron, nscd, alsa, and powersaved are running within POSIX but the rest the gdm and the smartd may report in multi byte character mode. For smartd this is only the case if a smart disk was inserted and the ID string of that disk is not provided in ASCII (IMHO this is unlikly) . The remaining daemon is the gdm ... it could be that this daemon reports its last messages with the same locale used for the last login or the same locale used at startup (the system user locale). -- 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=310130#c15 --- Comment #15 from Tejun Heo <teheo@novell.com> 2007-09-21 04:32:32 MST --- If you take a look at the screenshot. The broken message looks like a banner indicating that the system is going down. I don't think something like that would come from gdm. I'll boot into text mode and shutdown to verify. -- 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=310130#c16 --- Comment #16 from Dr. Werner Fink <werner@novell.com> 2007-09-21 04:41:27 MST --- Try out shutdown -k -h now with the option -k you send a message to all terminals and consolse but do not really execute shutdown. In my locale (POSIX but with LC_CTYPE de_DE.ISO-8859-1 or de_DE.UTF-8) this provides: Broadcast message from root (pts/9) (Fri Sep 21 12:38:33 2007): The system is going down for system halt NOW! Shutdown cancelled. .. now the question is, what happens in your default locale? -- 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=310130#c17 --- Comment #17 from Tejun Heo <teheo@novell.com> 2007-09-21 04:43:52 MST --- You're right. Without X, the message doesn't show up, so it could be gdm. How do we proceed from here? -- 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=310130#c18 --- Comment #18 from Tejun Heo <teheo@novell.com> 2007-09-21 04:51:25 MST --- Created an attachment (id=173829) --> (https://bugzilla.novell.com/attachment.cgi?id=173829) screenshot.png The shutdown broadcase is coming out okay but some lines above there's a warning message coming out from gdm which also is broken. I guess gdm is the culprit. -- 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=310130#c19 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |banderso@novell.com --- Comment #19 from Dr. Werner Fink <werner@novell.com> 2007-09-21 04:52:33 MST --- Seems to be /suse/werner> strings -a -n 3 /usr/sbin/gdm | grep -5 -e --- /dev/tty1 linux /bin/bash /bin/bash -l -c /bin/true [1m--- [1;31m [0m [1m--- [0m QUERY_VT daemon/DynamicXServers=false ERROR 2 Existing display ERROR 3 No server string It seems that the message is piped through a compiled in bash scriplet which uses bold markers `---' and the color read for the message. @Brady: Is there a way to use the locale POSIX for such messages written to /dev/tty1 (IMHO this should be /dev/console) -- 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=310130#c20 --- Comment #20 from Dr. Werner Fink <werner@novell.com> 2007-09-21 05:05:26 MST --- Such a scriplet could source /etc/profile.d/lang.sh if this file exists or use similiar method to parse /etc/sysconfig/language and set the locale for root. Or simply use `char *old = setlocale(LC_MESSAGES, "POSIX")' before executing such scriplets and reset to the old locale afterwards. -- 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=310130#c21 --- Comment #21 from Hans Petter Jansson <hpj@novell.com> 2007-09-21 13:20:11 MST --- It would be useful to be able to see what the corresponding English language messages were. Do you think you would be able to produce the messages in an English locale? -- 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=310130#c22 --- Comment #22 from Hans Petter Jansson <hpj@novell.com> 2007-09-21 15:07:23 MST --- Ok, I think the message being printed in red is "System is restarting". It's definitely from GDM. Is there anything that needs to be done on the GDM end for this? -- 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=310130 Matej Horvath <mhorvath@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |werner@novell.com Status|NEEDINFO |NEW Info Provider|banderso@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=310130#c24 --- Comment #24 from Hans Petter Jansson <hpj@novell.com> 2007-09-27 14:39:23 MST --- GDM is printing UTF-8 text to the console. What should it do instead? Isn't this a console problem? -- 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=310130#c25 --- Comment #25 from Dr. Werner Fink <werner@novell.com> 2007-09-28 03:22:48 MST --- The console messages are in english and written in POSIX. If youw ant UTF-8 on the console you have to configure this within /etc/sysconfig/console, then with help of the console magic escape sequences an extended font including a unicode map can be used ... beside this the console can not handle all UTF-8 multibyte characters because console fonts are small one language (e.g. english/european). -- 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=310130 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-gnome@forge.provo.novell.com |hpj@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=310130#c26 Hans Petter Jansson <hpj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #26 from Hans Petter Jansson <hpj@novell.com> 2007-10-15 11:17:39 MST --- Ok. GDM, like all GNOME programs, uses UTF-8 internally, and these messages are translated along with all the other gettext strings, into UTF-8. This problem is caused by translations in an eastern script being written to the console. What do we do for eastern scripts on the console? It sounds to me like this isn't even fixable. Do we revert to printing messages in some other language? -- 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=310130 User teheo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=310130#c27 Tejun Heo <teheo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |hpj@novell.com --- Comment #27 from Tejun Heo <teheo@novell.com> 2008-03-26 05:23:47 MST --- The simple solution suggested on Korean suse user group is just using English for the message in gdm.mo. http://suse.or.kr/bbs/board.php?bo_table=tip&wr_id=2384 Can we do this? -- 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=310130 User jpr@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=310130#c28 --- Comment #28 from JP Rosevear <jpr@novell.com> 2008-03-29 10:41:16 MST --- No need to need info the dev. HPJ, worth checking in the new GDM if we put it in for 11.0? -- 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=310130 User hpj@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=310130#c29 Hans Petter Jansson <hpj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|hpj@novell.com | --- Comment #29 from Hans Petter Jansson <hpj@novell.com> 2008-03-31 20:56:29 MST --- Sure. Maybe we could just make sure GDM does not print anything to the console at all, since it's not clear to me that it's GDM's responsibility even. -- 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=310130 User hpj@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=310130#c30 Hans Petter Jansson <hpj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium --- Comment #30 from Hans Petter Jansson <hpj@novell.com> 2008-08-08 22:14:22 MDT --- Need to check what the new GDM in Factory does in this case. -- 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