Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15461 > unrolled thread

Re: bash sets O_NONBLOCK on pts

Started byMatteo Croce <mcroce@redhat.com>
First post2019-10-02 18:18 +0200
Last post2019-10-02 18:18 +0200
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: bash sets O_NONBLOCK on pts Matteo Croce <mcroce@redhat.com> - 2019-10-02 18:18 +0200

#15461 — Re: bash sets O_NONBLOCK on pts

FromMatteo Croce <mcroce@redhat.com>
Date2019-10-02 18:18 +0200
SubjectRe: bash sets O_NONBLOCK on pts
Message-ID<mailman.782.1570033135.2651.bug-bash@gnu.org>
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

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web