Removing obsolete configuration files on upgrade

2013-11-30 Thread Jonathan Nieder
Hi policy experts, Since policy 3.8.5.0, section 10.7.3 says Obsolete configuration files without local changes should be removed by the package during upgrade. I was trying to apply this to the git package and ran into a little trouble. Consider the following sequence of events

Re: Removing obsolete configuration files on upgrade

2013-11-30 Thread Bill Allombert
On Sat, Nov 30, 2013 at 12:03:53PM -0800, Jonathan Nieder wrote: > Hi policy experts, > > Since policy 3.8.5.0, section 10.7.3 says > > Obsolete configuration files without local changes should be > removed by the package during upgrade. > > I was trying to apply this to the git pack

Re: Removing obsolete configuration files on upgrade

2013-11-30 Thread Julian Gilbey
On Sat, Nov 30, 2013 at 12:03:53PM -0800, Jonathan Nieder wrote: > My hunch is to say that a package may remove /etc/greeting in this > case but by no means should. That is, something like the following > but hopefully less awkward: > > Obsolete configuration files without local changes may

Re: Removing obsolete configuration files on upgrade

2013-11-30 Thread Kurt Roeckx
On Sat, Nov 30, 2013 at 12:03:53PM -0800, Jonathan Nieder wrote: > Hi policy experts, > > Since policy 3.8.5.0, section 10.7.3 says > > Obsolete configuration files without local changes should be > removed by the package during upgrade. > > I was trying to apply this to the git pack

Re: Removing obsolete configuration files on upgrade

2013-11-30 Thread Russ Allbery
Kurt Roeckx writes: > I would say an it should only check this the first time it's upgraded > from a version that did have the conffile to a version that doesn't, but > may optionally check this on any upgrade. That sounds right to me too. -- Russ Allbery (r...@debian.org)