From 59e0116b6b55f729708a0b864ad2bd19556ebcf6 Mon Sep 17 00:00:00 2001
From: Russ Allbery
Date: Thu, 3 Jun 2010 09:31:35 -0700
Subject: [PATCH] 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.
---
policy.sgml | 9 +++++++++
1 file changed, 9 insertions(+)
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.
+
--
2.39.5