Include files parsed in reverse order

Bug #597818 reported by Jim Ursetto
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dovecot (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

dovecot-postfix installs a configuration file in /etc/dovecot/conf.d/01-dovecot-postfix.conf.

Users should expect that creating another file in this directory whose filename is lexicographically greater -- for example, 99-myconf.conf -- will override this file.

However, due to a bug in dovecot 1.2.9, the include files are parsed in reverse order.

Evidently this bug was fixed in dovecot 2.0 in http://hg.dovecot.org/dovecot-2.0/rev/e25b0ecfc758. However it was apparently not backported to dovecot 1.2 (see http://hg.dovecot.org/dovecot-1.2/file/659f72bf92ae/src/lib-settings/settings.c).

So, a backport of this bugfix might be in order.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: dovecot-postfix 1:1.2.9-1ubuntu6.1
Uname: Linux 2.6.34-linode26 i686
Architecture: i386
Date: Wed Jun 23 15:07:31 2010
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: dovecot

Related branches

Revision history for this message
Jim Ursetto (jim-3e8) wrote :
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Note that to back-port the patch, the same line would be found in
src/lib-settings/settings.c:155. It looks reasonable to me, though I
get the feeling this is something which we would not want to change in
lucid (behavioral change), and should get pulled in with a merge in
maverick?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dovecot - 1:1.2.12-0ubuntu3

---------------
dovecot (1:1.2.12-0ubuntu3) maverick; urgency=low

  * debian/patches/fix-dovecot-config-parser.patch: Fix ordering of external config
    files. (LP: #597818)
 -- Chuck Short <email address hidden> Thu, 24 Jun 2010 14:09:05 -0400

Changed in dovecot (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.