#12807 LOW 14.1.0: serial console enter key mishandled by O_NONBLOCK

Zarro Boogs per Child bugtracker at laptop.org
Wed Oct 8 04:45:18 EDT 2014


#12807: serial console enter key mishandled by O_NONBLOCK
-------------------------------------+-------------------------------------
            Reporter:  Quozl         |          Owner:  Quozl
                Type:  defect        |         Status:  assigned
            Priority:  low           |      Milestone:  14.1.0
           Component:  fedora        |        Version:  Development build
          Resolution:                |  as of this date
          Blocked By:                |       Keywords:  41002o4 41003o4
Deployments affected:                |       Blocking:
            Verified:  0             |  Action Needed:  design
-------------------------------------+-------------------------------------
Description changed by Quozl:

Old description:

> the enter key is mishandled by the shell and processes using the serial
> console.  affects use of yum because of the prompt to continue.
>
> to reproduce; type ''read ok'' at the prompt, then enter, then type text,
> then enter.  what should happen is that the command will end.  what does
> happen is that further text is captured until control-d is used.
>
> regression over 13.2.1.
>
> no terminal line settings shown by stty seem to relate to the symptom.
>
> using the f18 agetty stops the symptom.
>
> new version of util-linux bring patches to agetty which change whether
> O_NONBLOCK is set on the file descriptors inherited by the shell.

New description:

 the enter key is mishandled by the shell and processes using the serial
 console.  affects use of yum because of the prompt to continue.

 workaround: use control-d twice instead of enter at prompts.

 to reproduce; type ''read ok'' at the prompt, then enter, then type text,
 then enter.  what should happen is that the command will end.  what does
 happen is that further text is captured until control-d is used.

 regression over 13.2.1.

 no terminal line settings shown by stty seem to relate to the symptom.

 using the f18 agetty stops the symptom.

 new version of util-linux bring patches to agetty which change whether
 O_NONBLOCK is set on the file descriptors inherited by the shell.

--

--
Ticket URL: <http://dev.laptop.org/ticket/12807#comment:3>
One Laptop per Child <http://one.laptop.org/>
One Laptop per Child bug tracking system


More information about the Bugs mailing list