Hmm,
I rechecked that, there really should be no way to trigger that bug.
As I said dovecot-core will make the dir available, and is a hard dependency.
And no matter how I look at it, it feels wrong to fix without understanding why 
it happened in the first place.
If it was just a dir deletion by a user, well this will trigger a million more 
bugs and code for all of these makes now sense.

I tried more combiantions I felt were vaguely possible:
1. removing all of /etc/dovecot/conf.d - still works, as UCF will catch this
    Not replacing deleted config file /etc/dovecot/conf.d/90-sieve.conf
    Not replacing deleted config file 
/etc/dovecot/conf.d/90-sieve-extprograms.conf
2. removing the file /etc/dovecot/conf.d/90-sieve.conf - still work, ucf 
catches by
     Not replacing deleted config file /etc/dovecot/conf.d/90-sieve.conf
3. remove /etc/dovecot
     Not replacing deleted config file /etc/dovecot/conf.d/90-sieve.conf
     Not replacing deleted config file 
/etc/dovecot/conf.d/90-sieve-extprograms.conf

In all those cases it is retaining the deleted config as that (as it is
supposed to)

The only one I found was
1. removing /etc/dovecot or /etc/dovecot/conf.d
2. purging dovecot-sieve
3. installing dovecot-sieve

IMHO too much of a broken-config case to be worth the effort.
If you'D not be stopped by the error on the install it would still break later 
on, maybe worse.
So better realize it right away right?
  $ apt install --reinstall dovecot-core
Will get you back (combine that with purge or not as needed).

Sorry, but unless convinced otherwise, this became a Won't Fix from my
POV

** Changed in: dovecot (Ubuntu)
       Status: New => Won't Fix

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

Title:
  dovecot-sieve post-installation fails when directory
  /etc/dovecot/conf.d/ is missing

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

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

Reply via email to