Bug 31

Summary: keytable initscript redirects all its output to a wrong place (the physical console)
Product: Sisyphus Reporter: Peter 'Nidd' Novodvorsky <nidd>
Component: console-toolsAssignee: Ivan Zakharyaschev <imz>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P4    
Version: unstable   
Hardware: all   
OS: Linux   

Description Peter 'Nidd' Novodvorsky 2001-09-29 19:33:04 MSD
There is a command like `action loadkeys ... &gt; /dev/tty0 &lt; /dev/tty0\'
in /etc/init.d/keytable (start/restart function). /dev/tty0 is meant
to be the terminal for loadkeys (it should load the keymaps to a
physical console), but due to an error in the statement the hwole
output of action function goes there (the OK or FAILED msgs).

This is not critical since service keytable is usually started only
during boot-up, so the output goes to the right place.
&gt;How-To-Repeat:
        &lt;code/input/activities to reproduce the problem (multiple
lines)&gt;
$ ssh mymachine
# sudo service keytable restart

-- and you will see neither OK\'s  or FAILED\'s. There can be found
here: cat /dev/vcs. (So you have spoilt the console where another
person might be working.)
---

---
smth like bash -c \&quot;loadkeys .. &lt; .. &gt; ...\&quot;

Comment 1 imz 2002-01-01 22:52:15 MSK
Fixed in console-tools-0.2.3-ipl9mdk (Linux Progress bar depends on this fix.)
Comment 2 imz 2002-01-01 22:52:15 MSK
Fixed in console-tools-0.2.3-ipl9mdk (Linux Progress bar depends on this fix.)