← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1524526] Re: Crashes with undefined symbol

 

This bug was fixed in the package dovecot - 1:2.2.22-1ubuntu2.1

---------------
dovecot (1:2.2.22-1ubuntu2.1) xenial; urgency=medium

  * Disable dovecot-lucene plugin as it had various issues, universe
    dependencies and is deprecated in favor of solr (LP: #1524526).
    - make dovecot-lucene an empty package.
    - disable building lucene, now --without-lucene.
    - remove libclucene-dev build dependency.
    - drop debian/dovecot-lucene.links, debian/dovecot-lucene.dirs and
      drop debian/dovecot-lucene.lintian-overrides.
    - add dovecot-lucene.README.Debian and dovecot-lucene.NEWS to explain
      to users why it is empty.

 -- Christian Ehrhardt <christian.ehrhardt@xxxxxxxxxxxxx>  Wed, 21 Sep
2016 10:26:44 +0200

** Changed in: dovecot (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1524526

Title:
  Crashes with undefined symbol

Status in dovecot package in Ubuntu:
  Fix Released
Status in dovecot-antispam package in Ubuntu:
  Fix Released
Status in dovecot source package in Xenial:
  Fix Released

Bug description:
  [Impact]

   * Users get segfaults when using dovecot

   * Root cause is that dovecot-lucene is broken, deprecated and builds
  its lucene plugin with bad symbols refernces

  [Test Case]

   * sudo apt-get install dovecot-lucene
   * then enable lucene
   * sed -ie 's/#mail_plugins = $/mail_plugins = $mail_plugins fts fts_lucene/' /etc/dovecot/conf.d/10-mail.conf
   * sed -ie 's/^plugin {$/plugin {\n fts = lucene\n fts_lucene = whitespace_chars=@./' /etc/dovecot/conf.d/90-plugin.conf
   * service dovecot reload
   * doveadm pw -s SSHA256 -p verysecretindeed
   * see error:
  Fatal: Couldn't load required plugin /usr/lib/dovecot/modules/lib21_fts_lucene_plugin.so: dlopen() failed: /usr/lib/dovecot/modules/lib21_fts_lucene_plugin.so: undefined symbol: _ZN6lucene8analysis8snowball16SnowballAnalyzerC1EPFiPKvmP6bufferEPKc

   * Instead of crashing with the fix it will report to not have that plugin
        Fatal: Plugin 'fts_lucene' not found from directory /usr/lib/dovecot/modules

   * on top we now get also:
     The following package was automatically installed and is no longer 
     required:
        libclucene-core1v5

  [Regression Potential]

   * We are removing the dovecot-lucene functionality which some might consider a regression. But it never ever worked, so it is not a regression.
   * Therefore there should be no existing (working) setup that regresses by removing dovecot-lucene.

  [Other Info]
   
   * Discussion was held on #ubuntu-devel what the right match to "dropping binary package" is for an SRU and changing it to become an empty package was the consensus.

  
  ------

  
  dovecot-lucene in wily (and xenial) crashes immediately when enabled due to a bug in the buildsystem which enables use of the Snowball analyser when textcat is available but the code is only built when libstemmer is available.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: dovecot-lucene (not installed)
  ProcVersionSignature: Ubuntu 4.3.0-2.11-generic 4.3.0
  Uname: Linux 4.3.0-2-generic x86_64
  ApportVersion: 2.19.3-0ubuntu1
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Thu Dec 10 09:28:50 2015
  InstallationDate: Installed on 2015-12-01 (8 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151130)
  SourcePackage: dovecot
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/1524526/+subscriptions