Merge ~sergiodj/ubuntu/+source/postfix:support-netword-dispatcher into ubuntu/+source/postfix:ubuntu/devel
Status: | Merged |
---|---|
Merged at revision: | 172181b9e9d0d3bff1406efcfd0d9a8c3f433af9 |
Proposed branch: | ~sergiodj/ubuntu/+source/postfix:support-netword-dispatcher |
Merge into: | ubuntu/+source/postfix:ubuntu/devel |
Diff against target: |
43 lines (+13/-0) 3 files modified
debian/changelog (+9/-0) debian/postfix.dirs (+2/-0) debian/rules (+2/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Bryce Harrington (community) | Approve | ||
Canonical Server | Pending | ||
Review via email: mp+412054@code.launchpad.net |
Description of the change
This MP fixes bug 1718227 and implements support for networkd-dispatcher on postfix.
This has been submitted (a while ago) to Debian here:
https:/
After waiting a long time without replies, I decided to file a bug there:
https:/
Let's hope this gets some attention now.
The gist of the feature is simple: Ubuntu is moving towards deprecating and removing ifupdown, and therefore we need to make sure that the existing ifupdown scripts are converted to networkd-
The idea, then, is to simply install the scripts inside the /usr/lib/
I tested this inside an Ubuntu VM and verified that it works as expected:
# ip link set enp5s0 down
Oct 14 18:45:25 ifupdown-bug1718227 systemd-
Oct 14 18:45:25 ifupdown-bug1718227 systemd-
...
Oct 14 18:45:25 ifupdown-bug1718227 systemd[1]: Reloading Postfix Mail Transport Agent (instance -).
Oct 14 18:45:25 ifupdown-bug1718227 postfix/
Oct 14 18:45:25 ifupdown-bug1718227 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-
Oct 14 18:45:43 ifupdown-bug1718227 systemd-
...
Oct 14 18:45:43 ifupdown-bug1718227 systemd[1]: Reloading Postfix Mail Transport Agent (instance -).
Oct 14 18:45:43 ifupdown-bug1718227 postfix/
Oct 14 18:45:43 ifupdown-bug1718227 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.
There's a PPA with the proposed changes here:
https:/
autopkgtest is still happy:
autopkgtest [18:23:19]: @@@@@@@
postfix PASS
Something I forgot to mention: I'm purposedly leaving the Debian BTS reference in the d/changelog entry. This is to signal future contributors that there is a Debian bug related to this feature.