From: Charles Plessy Date: Tue, 15 Oct 2013 23:13:01 +0000 (+0900) Subject: Policy: on upgrades, recommend removing obsolete unchanged conf. files. X-Git-Url: https://git.donarmstrong.com/?p=debian%2Fdebian-policy.git;a=commitdiff_plain;h=4aea1f449c392ffc0ef093dfe932c26d368f64db Policy: on upgrades, recommend removing obsolete unchanged conf. files. Wording: Paul Wise Seconded: Jonathan Nieder Seconded: Charles Plessy Closes: #707077 --- 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.