Bug#854475: postfix: systemd needs postfix at .service to have "After=network.target"

Scott Kitterman debian at kitterman.com
Mon May 15 21:30:14 BST 2017


On Sunday, May 14, 2017 05:28:51 PM Michael Biebl wrote:
> Am 14.05.2017 um 17:02 schrieb Michael Biebl:
> > - debian/postfix.postinst: drop the postfix.service.d/override.conf and
> > make sure to remove that conffile on upgrades
> 
> Seems due to some C&P failure I duplicated this point. I wanted to
> clarify that postfix.service.d/override.conf is not actually a conffile,
> as it's generated dynamically.
> 
> As for my reasons to not generate this configuration dynamically:
> - It's less opaque. I was puzzled for a moment where this drop-in was
> coming from
> 
> - It makes it easier to override postfix at .service. Atm you e.g. don't
> respect if the admin removed that drop-in deliberately and you always
> recreate it.
> 
> - It's more robust in case of local modifications which don't use
> dpkg-reconfigure.
> 
> - The penalty of pulling in network-online.target is simply that for the
> local case postfix is started a bit later then necessary during boot.
> 
> - The behaviour is more consistent with the old SysV init script which
> had Required-Start: $network (The $network LSB facility translates to
> network-online.target)
> 
> Michael

Thank you very much for the clear and complete input.  I've just uploaded a 
fixed package that puts your suggestions into operation (modulo I screwed it 
up).

Scott K
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20170515/afd1e1b3/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list