[Reportbug-maint] Bug#507600: bug script not ready for scripts

Nis Martensen nis.martensen at web.de
Sun Jan 21 17:32:20 UTC 2018


On Wed, 03 Dec 2008 05:03:58 +0800 jidanni at jidanni.org wrote:
> Package: apt
> Version: 0.7.19+b1
> File: /usr/share/bug/apt/script
> 
> Your script never expected stdin to be closed.
> I.e., one cannot use reportbug --template in a script then. E.g.,
> $ echo reportbug --template -f /usr/share/bug/apt/script|batch
> 
> May I include your apt configuration (/etc/apt/apt.conf et al)? [Y/n] stty: standard input: Inappropriate ioctl for device
> stty: standard input: Inappropriate ioctl for device

Bug scripts are free to use interactive actions, so this is not a bug in
apt. On the reportbug side, non-interactive report generation was not
possible until the "--no-bug-script" option was implemented in 2010.

This was introduced in reportbug 4.12. Since then, this is also
documented in the manpage:

>        --no-bug-script
>               Do not execute the bug script (if present); this option can be useful together  with  --template  to  suppress
>               every interactive actions, since some bug scripts can ask questions.



More information about the Reportbug-maint mailing list