Bug#798462: libsasl2-2: recreate and use /etc/sasl2/ for new installations

David Magda David.Magda at oicr.on.ca
Thu Sep 10 14:17:08 UTC 2015


Consistency.

Just about all configuration items on a Linux/Unix system are placed in 
/etc, except for the Cyrus SASL packages where there is no 
/etc/sasl{,2}/, but rather a /usr/lib/sasl2 (and 
/usr/lib/x86_64-linux-gnu/sasl2). It's confusing because /etc/sasldb2 
and /etc/saslauthd.conf are in /etc, but not smtpd.conf, slapd.conf, 
etc., by default.

The fact that I had to run strings(1) to figure out that /etc/sasl2 is 
even possible for the Debian packages is slightly silly IMHO.

RH/CentOS has both /etc/sasl2 and /usr/lib64/sasl2 in their RPMs 
(without the (perhaps over-complicated?) linking) I proposed. At the 
very least, having /etc/sasl2 in the .deb file would help in that you 
can easy figure things out with an 'ls -ld /etc/sasl*'. As someone new 
to SASL, /usr/lib/sasl2/*.conf is very odd:

     https://en.wikipedia.org/wiki/Principle_of_least_astonishment

I just think it would be better for everyone if things were more 
consistent, especially those of us who are new to SASL and trying to 
figure things out the first time.

On 2015-09-10 09:42, Ondřej Surý wrote:
> Control: tags -1 +moreinfo
>
> Hi David,
>
> could you please describe what problem are you trying to solve?
>
> Cheers,
> Ondrej



More information about the Pkg-cyrus-sasl2-debian-devel mailing list