Hi timeless,
Thanks for taking the time to report this bug.
There are snippets from the bionic d/changelog:
[snip...]
dovecot (1:2.2.25-1ubuntu1) zesty; urgency=medium
[snip...]
* Dropped Changes as they got accepted in Debian:
[snip...]
+ Add ufw integration:
- d/dovecot-core.ufw.profile: new ufw profile.
- d/rules: install profile in dovecot-core.
- d/control: dovecot-core - suggest ufw.
[snip...]
dovecot (1:2.2.25-1) unstable; urgency=medium
[snip...]
* [16db179] Merged in some features of the Ubuntu dovecot package.
[snip...]
+ dovecot-imapd,dovecot-pop3d: Added ufw profiles.
[snip...]
dovecot (1:2.2.24-1ubuntu1) yakkety; urgency=medium
* Merge with Debian; Remaining Changes:
[snip...]
+ Add ufw integration:
- d/dovecot-core.ufw.profile: new ufw profile.
- d/rules: install profile in dovecot-core.
- d/control: dovecot-core - suggest ufw.
From the logs above, it seems that:
- we introduced the profiles in a single file (dovecot-core) in yakkety
- Debian merged the change, but split it in separate files
(dovecot-imapd,dovecot-pop3d)
- we dropped the old file when merging the new Debian change for zesty
The solution here would be to remove the old profile (dovecot-core) if
it was not touched by the user.
A workaround for anyone facing this issue is to remove
/etc/ufw/applications.d/dovecot-core if it does not contain custom
configurations.
While this issue does differ from LP: #937040 because this is not cause by
dovecot-common, but by an old version of dovecot-core, the arguments exposed in
https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/937040/comments/7
still seem to apply here.
I am marking this bug as triaged and setting the priority to low given
the assumption that there are not many users facing the issue and that
there is a straightforward workaround here. IMHO, this would also hinder
the case for an SRU.
I will not target bionic because this would still be an issue if one
kept upgrading the package all the way to jammy. However, the priority
may go down (or the bug may be set to invalid) once bionic hits its end
of standard support.
Unless someone is willing to drive this bug providing a patch and filing
an SRU (do notice that it could be hard to make a case for this one with
the SRU team), I am not sure if we will see much progress here other
than the aforementioned workaround.
** Changed in: dovecot (Ubuntu)
Status: New => Triaged
** Changed in: dovecot (Ubuntu)
Importance: Undecided => Low
** Tags added: bitesize
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1976395
Title:
Duplicate ufw rules installed by dovecot packages
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/1976395/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs