[Pkg-Cyrus-imapd-Debian-devel] Problem with statoverrides after upgrading cyrus22-* to cyrus-*2.2

Henrique de Moraes Holschuh hmh at debian.org
Mon Dec 12 18:59:02 UTC 2005


On Mon, 12 Dec 2005, Sven Mueller wrote:
> Should we document the necessary overrides in README.Debian or should be
> provide a script which checks them and creates them if necessary? At
> least one of these should probably be done.

You can recreate them on the initscript if they are not there, just pull the
code block from postinst.

The correct fix, HOWEVER, is to make the old 2.1 and 2.2 packages
*disappear* (in the dpkg sense) during upgrades, or else we have a very
nasty, very unwelcome bug:

   We will lose user configuration.

Granted, it is not much of one (just the overrides AFAIK), but it is still
not the proper solution.

Not to mention that the only thing that saved us is the fact that we use
conffiles and not config files+ucf... otherwise, /etc/imapd.conf and
/etc/cyrus.conf would be gone too.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



More information about the Pkg-Cyrus-imapd-Debian-devel mailing list