[Debconf-devel] Bug#1061480: debconf should automatically be noninteractive if input is /dev/null
Josh Triplett
josh at joshtriplett.org
Mon Mar 10 17:29:24 GMT 2025
On Mon, 10 Mar 2025 12:03:54 +0000 Colin Watson <cjwatson at debian.org> 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 it falling all the way back to
> >Noninteractive, but what causes it to skip using Readline?
>
> Readline inherits from Teletype (see the `use base` near the top of
> Debconf::FrontEnd::Readline), so checking in the parent class is
> enough.
Ah, so it does! I missed that. Thanks.
> Thanks for checking. I'll get this into unstable today.
Thank you very much! I'm really looking forward to debconf Just Working
without having to add `DEBIAN_FRONTEND=noninteractive`. And thank you
for proposing and implementing the better solution that makes the less
conservative assumption about people's workflows around automating
debconf.
More information about the Debconf-devel
mailing list