Hi,

Seems like the kernel have started to create l2tp devices as device type
l2tpeth, when running 'ip l2tp ....'. Before it did not set the type, so it
got default (ethernet) type.

https://github.com/torvalds/linux/commit/a485c2b877619935f7346146791f0d22f5da723a

# cat /sys/class/net/Gigabit0_1/uevent
DEVTYPE=l2tpeth
INTERFACE=Gigabit0_1
IFINDEX=6

When NetworkManager starts, it sets the type to unknown
Mar 16 13:16:48 node1 NetworkManager[9542]: nm_device_get_device_type:
assertion 'NM_IS_DEVICE (self)' failed
Mar 16 13:16:48 node1 NetworkManager[9542]: <info>  [1521206208.4854]
manager: (Gigabit0_1): new Generic device
(/org/freedesktop/NetworkManager/Devices/3)

# nmcli dev
DEVICE         TYPE      STATE         CONNECTION
Gigabit0_1     unknown   unmanaged     --

I'm running:
# cat /etc/issue
Ubuntu 16.04.4 LTS \n \l
# uname -a
Linux node1 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
# /usr/sbin/NetworkManager --version
1.2.6

I have looked after updates for fixing this in the NetworkManager sources,
but could not find any indications for that this is fixed for later
versions.

Any plans for supporting l2tpeth type in NetworkManager?

Is there some trick I can use to change type of created devices using
nmcli? (At the moment I use LD_PRELOAD to have NetworkManager read from
another uevent file.)


Regards,

Hans Ole Rafaelsen
_______________________________________________
networkmanager-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to