[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash sets O_NONBLOCK on pts
From: |
Matteo Croce |
Subject: |
Re: bash sets O_NONBLOCK on pts |
Date: |
Wed, 2 Oct 2019 18:18:09 +0200 |
On Wed, Oct 2, 2019 at 4:28 PM Chet Ramey <chet.ramey@case.edu> wrote:
>
> On 10/2/19 8:27 AM, Matteo Croce wrote:
>
> > Bash Version: 5.0
> > Patch Level: 7
> > Release Status: release
> >
> > Description:
> > Sometimes bash leaves the pts with O_NONBLOCK set, and all programs
> > reading from stdin will get an EAGAIN:
>
> Without a way to reliably reproduce this, it's just a transient issue.
>
Well, it's not so uncommon, I had it a few times. Reading on internet
it seems that other users have it but don't notice it.
A symptom is an interactive tool like apt which exits at the first prompt.
--
Matteo Croce
per aspera ad upstream
Re: bash sets O_NONBLOCK on pts, Stephane Chazelas, 2019/10/02