Finalized SRU template and ran the tests again on a container using the new 
upload (built locally).
Works as expected and is reflected in the [Test Case] section.

Uploaded, so setting Fix committed for now.

** Description changed:

- 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.
+ [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)

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1524526

Title:
  Crashes with undefined symbol

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to