From 4aea1f449c392ffc0ef093dfe932c26d368f64db Mon Sep 17 00:00:00 2001
From: Charles Plessy
Date: Wed, 16 Oct 2013 08:13:01 +0900
Subject: [PATCH] Policy: on upgrades, recommend removing obsolete unchanged
conf. files.
Wording: Paul Wise
Seconded: Jonathan Nieder
Seconded: Charles Plessy
Closes: #707077
---
debian/changelog | 5 +++++
policy.sgml | 6 ++++--
upgrading-checklist.sgml | 6 ++++++
3 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 103f90a..0ef998e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -49,6 +49,11 @@ debian-policy (3.9.5.0) UNRELEASED; urgency=low
Seconded: Steve Langasek
Seconded: Julien Cristau
Closes: #707183
+ * Policy: on upgrades, recommend removing obsolete unchanged conf. files.
+ Wording: Paul Wise
+ Seconded: Jonathan Nieder
+ Seconded: Charles Plessy
+ Closes: #707077
* debconf_spec: Document the 'escape' capability.
Wording: Jonathan Nieder
Seconded: Charles Plessy
diff --git a/policy.sgml b/policy.sgml
index 113429b..138d320 100644
--- a/policy.sgml
+++ b/policy.sgml
@@ -9009,8 +9009,10 @@ ln -fs ../sbin/sendmail debian/tmp/usr/bin/runq
package is purged.
- Obsolete configuration files without local changes may be
- removed by the package during upgrade.
+ Obsolete configuration files without local changes should be
+ removed by the package during upgrade.
+ The dpkg-maintscript-helper tool, available from the
+ dpkg package, can help for this task.
diff --git a/upgrading-checklist.sgml b/upgrading-checklist.sgml
index a77413d..a167bcb 100644
--- a/upgrading-checklist.sgml
+++ b/upgrading-checklist.sgml
@@ -62,6 +62,12 @@ Unreleased.
9.1.1.8
- The exception to the FHS for the /selinux was removed.
+10.7.3
+ - Packages should remove all obsolete configuration files without
+ local changes during upgrades. The dpkg-maintscript-helper
+ tool, available from the dpkg package since
+ Wheezy, can help with this.
+
10.10
- The name of the files and directories installed by binary packages
must be encoded in UTF-8 and should be restricted to ASCII when possible.
--
2.39.2