Name : systemd (commit c38499d476026d999558a7eee9c95ca2fa41e115)I have a systemd.link file that gives my usb modem a more recognizable name. I saw some renaming errors in the journal and noticed that systemd also tried to rename my VPN device. This shouldn't happen and I investigated. Here's the result: It appears that the `50-usbmodem.link` file is being applied to
the `tunvpn` device, even though the file has a MACAddress filter
to match only the usbmodem.
/etc/systemd/network/50-usbmodem.link
$ udevadm test-builtin net_setup_link /sys/class/net/tunvpn/ The tun device has no ethernet address, as it's a L3 interface, so the MACAddress really really shouldn't match. $ ip link show tunvpn
Driver=huawei_cdc_ncm I'm not entirely sure, but this appears to be a bug. Maybe relevant section: https://github.com/systemd/systemd/blob/c38499d476026d999558a7eee9c95ca2fa41e115/src/udev/net/link-config.c#L218
|
_______________________________________________ systemd-devel mailing list systemd-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/systemd-devel