netplan does not generates .network files just for ethernet
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netplan.io (Ubuntu) |
Triaged
|
Low
|
Unassigned | ||
systemd (Ubuntu) |
Won't Fix
|
Low
|
Unassigned |
Bug Description
On my pi3 I have an image with the ubuntu-core snap rev 354 and I get the following netplan configuration file after the first boot:
ubuntu@localhost:~$ cat /etc/netplan/
network:
version: 2
ethernets:
all:
match:
name: "*"
dhcp4: true
This generates the following .networkd file
ubuntu@localhost:~$ cat /run/systemd/
[Match]
Name=*
[Network]
DHCP=ipv4
If I look now at the output of networkctl I see it also tries to manage my mlan0 device which is a WiFi one and should be managed according to the netplan rule:
ubuntu@localhost:~$ networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier configured
5 eth1 ether no-carrier configuring
6 eth0 ether routable configured
7 mlan0 wlan no-carrier configuring
In summary, the networkd generator inside netplan currently does not limit the generated .network file to tell networkd to only look at ethernet devices but rather tell it to control every device available on the system.
Expectation: Specifying a wildcard rule in a netplan configuration file for ethernet devices should tell the configured networking system to only consider ethernet devices and nothing else.
description: | updated |
description: | updated |
Changed in nplan (Ubuntu): | |
status: | Confirmed → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Martin Pitt (pitti) |
Changed in nplan (Ubuntu): | |
milestone: | none → ubuntu-16.09 |
tags: | added: patch |
tags: |
added: rls-kk-incoming removed: rls-jj-incoming |
tags: | removed: rls-kk-incoming |
no longer affects: | nplan (Ubuntu) |
Changed in netplan.io (Ubuntu): | |
importance: | Medium → Low |
Status changed to 'Confirmed' because the bug affects multiple users.