The purpose of any build scripts --sysconfdir is to tell the configuration to build in a path for its binaries configuration file(s). Dovecot 2.1.3, seems to insist that that directory is now /etc/dovecot/ ignoring --sysconfdir=/etc as in 1.2.x and previous majors before that, is this a bug? if not, then I see no point of sysconfdir any more and it should be removed, if dovecot deliberately ignores what it is told to use. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20120321/ff5bc6be/attachment-0004.bin>
On 21.3.2012, at 15.26, Noel Butler wrote:> The purpose of any build scripts --sysconfdir is to tell the > configuration to build in a path for its binaries configuration file(s). > > Dovecot 2.1.3, seems to insist that that directory is now /etc/dovecot/ > ignoring --sysconfdir=/etc as in 1.2.x and previous majors before that, > is this a bug? if not, then I see no point of sysconfdir any more and it > should be removed, if dovecot deliberately ignores what it is told to > use.--sysconfdir=/etc uses /etc/dovecot/ --sysconfdir=/opt/dovecot/etc uses /opt/dovecot/etc/dovecot/ There is now always the dovecot/ suffix, but the the /etc part is still configurable.
On Fri, 23 Mar 2012, dovecot-request at dovecot.org wrote:>> See http://dovecot.org/list/dovecot/2009-January/036131.html > > Yes, I was also thinking about that, but it's about removing the > dovecot/ suffix from other directories as well. That might be > something worth doing (--without-package-suffix or something?).+1. I fake it now with symlinks (e.g. etc/dovecot -> .). Joseph Tam <jtam.home at gmail.com>
Reasonably Related Threads
- sysconfdir
- compiling samba v3x with sysconfdir
- @2.0, --sysconfdir incorrectly populated with dovecot/*.conf
- CHANGE REQUEST: Move config files out of main $sysconfdir
- ./configure --with-mysql --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-ssldir=/etc/ssl --with-ssl=openssl