Backport DBus support to 16.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netplan.io (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Won't Fix
|
Undecided
|
Unassigned | ||
nplan (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Snapd will want to make use of the DBus support to call on netplan to apply network configuration changes live, when asked by snap applications.
[Test case]
Run the following command:
$ dbus-send --print-reply --system --type=method_call --dest=
You should expect to see a response like this:
method return time=1567801560
boolean true
Which means the command was run; netplan configuration was applied.
Check that any changes to the netplan YAML were applied to the interfaces.
[Regression potential]
Pay close attention to the behavior of the 'netplan apply' command, which has had to be slightly changed to behave correctly when run in the context of snaps (when the SNAP environment variable is set). Any issues there would have to be considered as potential regressions from the update. Regression potential is very low because the changes are limitted to ensuring there; that 'netplan apply' does the right thing in calling the dbus methods when they should, which will then run the command correctly.
Other changes are limited to providing the new netplan-dbus binary, which is self-contained.
---
Please backport the DBus feature in netplan to Ubuntu 16.04's version of netplan.
netplan is used on Core 16; DBus support would be used by snapd.
Changed in nplan (Ubuntu): | |
status: | New → Fix Released |
Changed in nplan (Ubuntu Xenial): | |
status: | New → In Progress |
description: | updated |
Fix Released in eoan (where netplan is 'netplan.io'); Won't Fix for the netplan.io xenial task, since the name of the source package is 'nplan' there.