Re: 2.1.27: problem with --sysconfdir and Sendmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--On Thursday, April 25, 2019 1:15 AM +0400 Sergey <a_s_y@xxxxxxx> wrote:

Hello.

I have a problem with Cyrus-SASL 2.1.27 release and Sendmail. Sendmail
uses SASL's paths for find Sendmail.conf. It searchs configuration in
"sysconfdir" and "plugindir". I build sasl with --sysconfdir=/etc/sasl2
and --with-plugindir=/usr/lib/sasl2-3 (i586 version). Sendmail works
with 2.1.26 and 2.1.27rc8. It starts with one error

safesasl(/usr/lib/sasl2-3/Sendmail.conf) failed: No such file or directory

and finds Sendmail.conf in the directory /etc/sasl2. However, with 2.1.27
release an extra directory "sasl2" is added and the file is not found:

safesasl(/usr/lib/sasl2-3/Sendmail.conf) failed: No such file or directory
safesasl(/etc/sasl2/sasl2/Sendmail.conf) failed: No such file or directory

Is this a bug or Is using of --sysconfdir was changed?

The behavior was changed.  If you look at 2.1.27's configure:

 configdir='${plugindir}:${sysconfdir}/sasl2'

There's even a new option to configure:

  --with-configdir=DIR    set the directory where config files will

I believe sysconfdir was never intended to be "/etc/sasl2", just "/etc".

The config dir is intended to be "/etc/sasl2" (or /usr/local/etc/sasl2, etc, depending on the prefix).

--Quanah



--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>




[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux