Bug#1061480: debconf should automatically be noninteractive if input is /dev/null

2025-03-11 Thread Josh Triplett
On Mon, 10 Mar 2025 12:03:54 + Colin Watson wrote: > On Sun, Mar 09, 2025 at 09:39:29PM -0700, Josh Triplett wrote: > >I'm not clear why you're removing the `-t STDIN` check from the Readline > >frontend, though; shouldn't *both* of those require a terminal? It > >sounds like your tests show i

Bug#1061480: debconf should automatically be noninteractive if input is /dev/null

2025-03-11 Thread Josh Triplett
On Sun, 9 Mar 2025 12:34:17 + Colin Watson wrote: > On Sat, Mar 08, 2025 at 07:17:29AM -0800, Josh Triplett wrote: > >Given that, the following command will reproduce this, and show the > >output to the terminal: > >systemd-run -P apt -y install wireshark-common &1 | cat > > Thanks for the rep

Bug#1061480: debconf should automatically be noninteractive if input is /dev/null

2025-03-10 Thread Colin Watson
On Sun, Mar 09, 2025 at 09:39:29PM -0700, Josh Triplett wrote: On Sun, 9 Mar 2025 12:34:17 + Colin Watson wrote: I'm more inclined to do something like the attached patch; my feeling is that it was probably a mistake that we put the `-t STDIN` check in Readline rather than in Teletype, and

Bug#1061480: debconf should automatically be noninteractive if input is /dev/null

2025-03-09 Thread Colin Watson
On Sat, Mar 08, 2025 at 07:17:29AM -0800, Josh Triplett wrote: Given that, the following command will reproduce this, and show the output to the terminal: systemd-run -P apt -y install wireshark-common &1 | cat Thanks for the reproducer! That helps a lot. I'm more inclined to do something lik

Bug#1061480: debconf should automatically be noninteractive if input is /dev/null

2025-03-08 Thread Josh Triplett
On Fri, 7 Mar 2025 18:02:01 + Colin Watson wrote: > On Sun, Dec 29, 2024 at 01:25:38PM -0800, Josh Triplett wrote: > >Colin Watson wrote: > >> It would be helpful for me to have a reproducer for this. If I just try > >> `env -u TERM apt install tzdata >> somewhat buggy, is not the same as wh

Bug#1061480: debconf should automatically be noninteractive if input is /dev/null

2025-03-07 Thread Colin Watson
On Sun, Dec 29, 2024 at 01:25:38PM -0800, Josh Triplett wrote: Colin Watson wrote: It would be helpful for me to have a reproducer for this. If I just try `env -u TERM apt install tzdata I'll follow up with the right transcript. Ping - I can't seem to find anything from you with the right t

Bug#1061480: debconf should automatically be noninteractive if input is /dev/null

2024-12-29 Thread Josh Triplett
Colin Watson wrote: > Sorry for my long delay in replying to this. No problem; thank you for the response! > On Mon, Sep 30, 2024 at 02:47:53PM -0700, Josh Triplett wrote: >> I've written a draft patch for this, at >> https://salsa.debian.org/pkg-debconf/debconf/-/merge_requests/18 . I've >> also

Bug#1061480: debconf should automatically be noninteractive if input is /dev/null

2024-12-29 Thread Colin Watson
Sorry for my long delay in replying to this. On Mon, Sep 30, 2024 at 02:47:53PM -0700, Josh Triplett wrote: > I've written a draft patch for this, at > https://salsa.debian.org/pkg-debconf/debconf/-/merge_requests/18 . I've > also attached it here. > > I'm happy to try other approaches for this,

Bug#1061480: debconf should automatically be noninteractive if input is /dev/null

2024-09-30 Thread Josh Triplett
tags 1061480 + patch thanks I've written a draft patch for this, at https://salsa.debian.org/pkg-debconf/debconf/-/merge_requests/18 . I've also attached it here. I'm happy to try other approaches for this, as well; this was the simplest. >From f8614d612b3474fa68d5747417ff5f62204daa81 Mon Sep 17

Bug#1061480: debconf should automatically be noninteractive if input is /dev/null

2024-01-25 Thread Josh Triplett
Package: debconf Version: 1.5.84 Severity: normal X-Debbugs-Cc: j...@joshtriplett.org I'm building a system for remotely running noninteractive commands. That system lets people run commands like `apt-get install xyz` to install packages, but it by design has no specific knowledge of any software