Bug 10764 - Typo in configure_keyboard
: Typo in configure_keyboard
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/console-common-scripts)
: unstable
: all Linux
: P2 normal
Assigned To:
:
:
: relnote
:
:
  Show dependency tree
 
Reported: 2007-02-03 23:18 by
Modified: 2007-02-12 00:59 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-02-03 23:18:08
В результате 3639d1c8be975773be5dda56caa4b6445d1b9012 у нас появилась ругань
при
удаленном логине:

[lakostis@altlinux ~]$ dumpkeys -1 2>/dev/null |grep "^plain keycode *$BSNUM"
|awk '{print $5}'
[lakostis@altlinux ~]$ dumpkeys -1 | awk
'/^plain[[:space:]]+keycode[[:space:]]+'${BSNUM}'[[:space:]]/ { print $5;
exit;}'
Couldnt get a file descriptor referring to the console

Собственно dumpkeys ругается правильно, т.е. /dev/console для него недоступна.

Предлагаемое решение - вернуть 2>/dev/null обратно:

dumpkeys -1 2>/dev/null| awk
'/^plain[[:space:]]+keycode[[:space:]]+'${BSNUM}'[[:space:]]/ { print $5;
exit;}'
------- Comment #1 From 2007-02-12 00:58:12 -------
Исправлено в console-common-scripts-0.2.2-alt1.3