<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>10764</bug_id>
          
          <creation_ts>2007-02-03 23:18:06 +0300</creation_ts>
          <short_desc>Typo in configure_keyboard</short_desc>
          <delta_ts>2007-02-12 00:59:19 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>console-common-scripts</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>relnote</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Konstantin A Lepikhov (L.A. Kostis)">lakostis</reporter>
          <assigned_to name="inger@altlinux.org">inger</assigned_to>
          <cc>legion</cc>
    
    <cc>thresh</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45024</commentid>
    <comment_count>0</comment_count>
    <who name="Konstantin A Lepikhov (L.A. Kostis)">lakostis</who>
    <bug_when>2007-02-03 23:18:08 +0300</bug_when>
    <thetext>В результате 3639d1c8be975773be5dda56caa4b6445d1b9012 у нас появилась ругань при
удаленном логине:

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

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

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

dumpkeys -1 2&gt;/dev/null| awk
&apos;/^plain[[:space:]]+keycode[[:space:]]+&apos;${BSNUM}&apos;[[:space:]]/ { print $5; exit;}&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45266</commentid>
    <comment_count>1</comment_count>
    <who name="Konstantin A Lepikhov (L.A. Kostis)">lakostis</who>
    <bug_when>2007-02-12 00:58:12 +0300</bug_when>
    <thetext>Исправлено в console-common-scripts-0.2.2-alt1.3</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>