From: Russ Allbery Date: Thu, 3 Jun 2010 16:31:35 +0000 (-0700) Subject: Allow abort if a required prompt can't be answered X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=59e0116b6b55f729708a0b864ad2bd19556ebcf6;p=debian%2Fdebian-policy.git Allow abort if a required prompt can't be answered Allow, but caution against, maintainer scripts to abort if a required prompt has no reasonable default and there is no controlling terminal. --- diff --git a/policy.sgml b/policy.sgml index 1e9934c..3f6b82d 100644 --- a/policy.sgml +++ b/policy.sgml @@ -3566,6 +3566,15 @@ Files: assume that program will handle falling back to noninteractive behavior.

+ +

+ For high-priority prompts without a reasonable default answer, + maintainer scripts may abort if there is no controlling + terminal. However, this situation should be avoided if at all + possible, since it prevents automated or unattended installs. + In most cases, users will consider this to be a bug in the + package. +