Source: postfix
Version: 3.5.13-1
Severity: medium

Hello,

I am taking the liberty to file this bug in order to replicate the
following Merge Request:

  https://salsa.debian.org/postfix-team/postfix-dev/-/merge_requests/13

Ubuntu uses systemd-networkd and is working towards supporting
networkd-dispatcher instead of ifupdown. I'd like to propose this change
(to be attached in a future comment) so that Debian can also benefit
from this.

I noticed that the debian/ip-{up,down}.d scripts are simple enough that
they can be easily shared with networkd-dispatcher. I'd like to suggest
this change, which simply installs the existing scripts into the right
directories for networkd-dispatcher.

I did a quick test inside an Ubuntu VM with the new version of the
package. I brought the network interface down and then up. Here's the
log:

--8<---------------cut here---------------start------------->8---
# ip link set enp5s0 down
Oct 14 18:45:25 ifupdown-bug1718227 systemd-networkd[286]: enp5s0: Link DOWN
Oct 14 18:45:25 ifupdown-bug1718227 systemd-networkd[286]: enp5s0: Lost carrier
...
Oct 14 18:45:25 ifupdown-bug1718227 systemd[1]: Reloading Postfix Mail 
Transport Agent (instance -).
Oct 14 18:45:25 ifupdown-bug1718227 postfix/postfix-script[5970]: refreshing 
the Postfix mail system
Oct 14 18:45:25 ifupdown-bug1718227 postfix/master[5888]: reload -- version 
3.5.6, configuration /etc/postfix
Oct 14 18:45:25 ifupdown-bug1718227 systemd[1]: Reloaded Postfix Mail Transport 
Agent (instance -).
Oct 14 18:45:25 ifupdown-bug1718227 systemd[1]: Reloading Postfix Mail 
Transport Agent.
Oct 14 18:45:25 ifupdown-bug1718227 systemd[1]: Reloaded Postfix Mail Transport 
Agent.


# ip link set enp5s0 up
Oct 14 18:45:43 ifupdown-bug1718227 systemd-networkd[286]: enp5s0: Link UP
Oct 14 18:45:43 ifupdown-bug1718227 systemd-networkd[286]: enp5s0: Gained 
carrier
...
Oct 14 18:45:43 ifupdown-bug1718227 systemd[1]: Reloading Postfix Mail 
Transport Agent (instance -).
Oct 14 18:45:43 ifupdown-bug1718227 postfix/postfix-script[6005]: refreshing 
the Postfix mail system
Oct 14 18:45:43 ifupdown-bug1718227 postfix/master[5888]: reload -- version 
3.5.6, configuration /etc/postfix
Oct 14 18:45:43 ifupdown-bug1718227 systemd[1]: Reloaded Postfix Mail Transport 
Agent (instance -).
Oct 14 18:45:43 ifupdown-bug1718227 systemd[1]: Reloading Postfix Mail 
Transport Agent.
Oct 14 18:45:43 ifupdown-bug1718227 systemd[1]: Reloaded Postfix Mail Transport 
Agent.
--8<---------------cut here---------------end--------------->8---

I will attach a debdiff as soon as I have a bug number.

Thank you,

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/

Attachment: signature.asc
Description: PGP signature

Reply via email to