Path: csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: Matteo Croce Newsgroups: gnu.bash.bug Subject: Re: bash sets O_NONBLOCK on pts Date: Wed, 2 Oct 2019 18:18:09 +0200 Lines: 24 Approved: bug-bash@gnu.org Message-ID: References: NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: usenet.stanford.edu 1570033136 9055 209.51.188.17 (2 Oct 2019 16:18:56 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bug-bash@gnu.org To: chet.ramey@case.edu Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1570033129; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xbziCEKG12KNZM3uA8W5wJmoEq5z4qK0ewnME3CeRKE=; b=U+t2+JSJrvM7LGf8ZLTt//DL4hvoL0PCu4uwwBgyvVyLb2dSBEaxuP4YtypmCbRjVLoH6o oGuX1gwhrMH4b68btzlB5W/I6oGXZYWPn5x57T2KPhnzzGnKbUSgkjX/NFJm21cvD4s04v C1NL1F86oxCMtNzSNuk60OXQME+ByRQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=COUgv0W8K1UpZoYQ2IUjtRsI42l7H+Fx9vavIY0zuu4=; b=i3vSlnoPgyBjmxhmw5wp7HjKKu4x/sGccXKyKkX/3rbmfWnM2jLd47jA8tSiu7nLhH p1lCr1xdZbdRykmCwRCyAIoJlSM7HVrZlG/p/DGXEF3SKrHzle7D3vxJqcRBCvYY5zGe lq7wD3CCYOmtyWpcSqknre7LvCFyCBdcMHjGwjWAK77zv6FNtRwsrb1QUkEUZ8tNYdya ODAQWz0Af6Y+eKRt4SgmJqpVfow+0ZkaPG7roTlVuC9e3GJIvJriqlfyTnMtWs7wQUsm LOSE6BLGp/pxshBnpnKsVGVhYDoqDL6+cdFmF8B37MaYa45n+B8ZKMg9eExSI42G3yyP NAMg== X-Gm-Message-State: APjAAAXXot/uqMgx2kdDAaZv1e8m7QUI2UpXTAG7BXJp2PM58LqAB6ZC 2y0o0W+j4O8J/v+BC29hdmie3A+oPF90FNUBpFexytWqSb0obPOSTFsyvQ7ZyhJJz+R+baGBZv9 d+brNv8dOmYSzBwpzS9R5Jz92 X-Received: by 2002:a19:5f55:: with SMTP id a21mr3029404lfj.56.1570033126125; Wed, 02 Oct 2019 09:18:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqympOp3ePWip/1RU9A9W/519gM9jWiwFKKV3ja0CqIxN6WxuvQF2bgIwhjDVZWB4ASozPx+utUgRiHHwcAZS3w= X-Received: by 2002:a19:5f55:: with SMTP id a21mr3029397lfj.56.1570033125946; Wed, 02 Oct 2019 09:18:45 -0700 (PDT) In-Reply-To: X-MC-Unique: tja6Y0qrPrSX2W7DmlmfjQ-1 X-Mimecast-Spam-Score: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 207.211.31.120 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: Xref: csiph.com gnu.bash.bug:15461 On Wed, Oct 2, 2019 at 4:28 PM Chet Ramey 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. --=20 Matteo Croce per aspera ad upstream