[opensuse-factory] Dovecot packaging rework
hi, when we tried to submit dovecot 2.2 to factory, we got asked why we want the packaging of multiple versions. The main points are - allow easier parallel maintenance especially for long term distros (Evergreen + SLES) - one those distros allow admins to time the upgrade more easily because they have both packages avaible. - allow parallel maintenance of plugins for multiple versions in 1 project. Those goals come at a price. Our problems so far have been. - no unversioned dovecot package for easier installation. - when upgrading from dovecot 2.1 to dovecot 2.2 it would uninstall all old config files without changes, rename your edited config files to .rpmsave. after the upgrade you had a clean server again and had to merge the configs manually. While you could argue that this isnt too bad and makes sure the config stays update with the latest format. Dovecot is actually pretty forgiving in parsing old configs. So this is unneeded and can cause trouble. The solution -------------- 1. created an unversioned dovecot package again 2. that package will own all files that are shared between different dovecotXY packages. pam config, firewall config, init script, systemd unit files. 3. this package will pull a dovecot implementation via requires, with a recommends on the version that we ship in the respective release. 4. this package will also "own" the files in /etc/dovecot. This ensures that the config survives version upgrades. 5. If there is no existing configuration found, it will copy the example config for the version that is installed with it. While working on this issue, we also fixed a bug in the package upgrade process. [1] If there are no objections, I would like to submit those packages to server:mail and then factory soon. with kind regards darix [1] https://bugzilla.redhat.com/show_bug.cgi?id=134325 -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
submitted it now. -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (1)
-
Marcus Rueckert