Bug#638045: warning: xsasl_cyrus_server_get_mechanism_list: no mechanism available

Ondřej Surý ondrej at sury.org
Wed Aug 17 13:44:56 UTC 2011


postfix (2.8.3-1ubuntu3) oneiric; urgency=low

  * src/xsasl/xsasl_cyrus_{client,server}.c: don't set a sasl callback for
    the path, only do so for the config path; we shouldn't override the
    already-correct module path built into cyrus-sasl2 itself,
    especially now that said path may change due to multiarch.

 -- Steve Langasek <steve.langasek at ubuntu.com>  Mon, 15 Aug 2011 20:10:53 -0700


On Wed, Aug 17, 2011 at 15:34, Ondřej Surý <ondrej at sury.org> wrote:
> Ccing vorlon, since he is the MultiArch guy :)
>
> On Wed, Aug 17, 2011 at 15:05, Sven Joachim <svenjoac at gmx.de> wrote:
>> And /usr/lib/sasl2 is hardcoded in postfix, see
>> src/xsasl/xsasl_cyrus_log.c:
>>
>> int xsasl_getpath(void * context, char ** path)
>> {
>> #if SASL_VERSION_MAJOR >= 2
>>    *path = concatenate(var_config_dir, "/", "sasl:/usr/lib/sasl2", (char *) 0);
>> #else
>>    *path = concatenate(var_config_dir, "/", "sasl:/usr/lib/sasl", (char *) 0);
>> #endif
>>    return SASL_OK;
>> }
>>
>> So this bug has been triggered by the switch to multiarch paths in
>> cyrus-sasl2, and postfix is to blame for hardcoding /usr/lib/sasl2.
>
> I guess the Ubuntu already have a patch for that
>
> I could remove the MultiArch patch as a quick remedy and wait for
> postfix to catch up. Opinions?
>
> O.
> --
> Ondřej Surý <ondrej at sury.org>
>



-- 
Ondřej Surý <ondrej at sury.org>





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