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


Groups > gnu.bash.bug > #15461

Re: bash sets O_NONBLOCK on pts

From Matteo Croce <mcroce@redhat.com>
Newsgroups gnu.bash.bug
Subject Re: bash sets O_NONBLOCK on pts
Date 2019-10-02 18:18 +0200
Message-ID <mailman.782.1570033135.2651.bug-bash@gnu.org> (permalink)
References <CAGnkfhx6xvuhvfWYzy11xHt=qWg5We9GKLmj0fN6JhjGtov5rw@mail.gmail.com> <cba11dc7-adcb-8f43-c00a-5a5256b0112c@case.edu> <CAGnkfhzCqfL03_Ox+awRvd2gmu+OQy4J8qbzQLiaO3sQgQcGqA@mail.gmail.com>

Show all headers | View raw


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

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web