[Bug 1752329] Re: dovecot-sieve post-installation fails when directory /etc/dovecot/conf.d/ is missing

2018-05-16 Thread  Christian Ehrhardt 
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

[Bug 1752329] Re: dovecot-sieve post-installation fails when directory /etc/dovecot/conf.d/ is missing

2018-05-15 Thread  Christian Ehrhardt 
Hi, Marcel
thanks for the suggestion and mkdir would not be too hard, but 
dovecot-sieve pulls in dovecot-core via a hard dependency which in turn creates 
that dir.
So it works just fine.

I'd be tempted to call removing /etc/dovecot/conf.d/ a broken config the we 
don't want to support.
People will later on run into other issues, so I'm not very eager to fix this 
to only have the next issue due to it being missing.

But you are right still, since this is breaking the install it is really not 
nice.
I'd rather add the dir to debian/dovecot-sieve.dirs thou.

I'll consider it on the next merge

-- 
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