severity 798821 normal
tags 798821 unreproducible
--

Am Sonntag, 13. September 2015, 09:38:04 schrieb Jaldhar H. Vyas:
> On Sun, 13 Sep 2015, Frank Engler wrote:
> > Package: dovecot-core
> > Version: 1:2.2.13-12~deb8u1
> > Severity: serious
> > 
> > Dear Maintainer,
> > 
> > last update introduced /lib/systemd/system/dovecot.socket
> > and /lib/systemd/system/dovecot.service to handle startup.
> > Despite the fact customized configuration - especially
> > /etc/init.d/dovecot - might get ignored and these changes
> > are within a /stable/ release these changes are not
> > documented at all.
> 
> I'm curious as to which version you upgraded from and could you have
> installed anything else which would trigger the use of systemd?  systemd
> support was added way back in 1:2.1.7 (May-June 2012) and hasn't been
> touched since then.

That may be the reason the issue didn't show up on a test system.

> Certainly there is nothing in the latest update which
> involves it?  In your last upgrade did you lose systemd-shim perhaps?

I just installed the 8.1 -> 8.2 update at once. So any package of 
https://www.debian.org/News/2015/20150905 may be the cause. But most likely 
there are:
# tail -50 /var/log/aptitude | grep dovecot
[AKTUALISIERUNG] dovecot-core:amd64 1:2.2.13-11 -> 1:2.2.13-12~deb8u1
[AKTUALISIERUNG] dovecot-imapd:amd64 1:2.2.13-11 -> 1:2.2.13-12~deb8u1
[AKTUALISIERUNG] dovecot-ldap:amd64 1:2.2.13-11 -> 1:2.2.13-12~deb8u1
[AKTUALISIERUNG] dovecot-lmtpd:amd64 1:2.2.13-11 -> 1:2.2.13-12~deb8u1
# tail -50 /var/log/aptitude | grep systemd
[AKTUALISIERUNG] libsystemd0:amd64 215-17+deb8u1 -> 215-17+deb8u2
[AKTUALISIERUNG] systemd:amd64 215-17+deb8u1 -> 215-17+deb8u2
[AKTUALISIERUNG] systemd-sysv:amd64 215-17+deb8u1 -> 215-17+deb8u2

I got to see it, because etckeeper told of two new symlinks:
/etc/systemd/system/multi-user.target.wants/dovecot.service
/etc/systemd/system/sockets.target.wants/dovecot.socket

Your postinst does some systemd stuff:
|if deb-systemd-helper --quiet was-enabled dovecot.socket; then
|        # Enables the unit on first installation, creates new
|        # symlinks on upgrades if the unit file has changed.
|        deb-systemd-helper enable dovecot.socket >/dev/null || true|
|else
|        # Update the statefile to add new symlinks (if any), which need to be
|        # cleaned up on purge. Also remove old symlinks.
|        deb-systemd-helper update-state dovecot.socket >/dev/null || true|
|fi
But that should not raise this issue.

I tried to reproduce the issue on a test system. But as last time, it doesn't
occur there.

Reply via email to