network interface renaming doesn't work with usb tethering

Bug #1570800 reported by Santiago Gala
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dbus-property-service (Ubuntu)
New
Undecided
Unassigned

Bug Description

Each time I tether my android phone it "invents" a new link mac, which means it appears as a completely new connection.

This disables any possibility to script around it, and also spams the network-manager connections. See for instance:

$ LC_ALL=C ls -l /etc/NetworkManager/system-connections/enx*
-rw------- 1 root root 274 Apr 8 14:56 /etc/NetworkManager/system-connections/enx0e6f8a3e2e15
-rw------- 1 root root 274 Apr 6 16:28 /etc/NetworkManager/system-connections/enx0ea18f9e836a
-rw------- 1 root root 274 Apr 7 17:39 /etc/NetworkManager/system-connections/enx22cc150ee0b4
-rw------- 1 root root 274 Apr 15 13:12 /etc/NetworkManager/system-connections/enx2e9fcfdefa59
-rw------- 1 root root 274 Apr 8 09:51 /etc/NetworkManager/system-connections/enx32425d1a7a70
-rw------- 1 root root 274 Apr 12 16:38 /etc/NetworkManager/system-connections/enx4a322318b6cf
-rw------- 1 root root 274 Apr 7 12:11 /etc/NetworkManager/system-connections/enx8a5fba99d94a
-rw------- 1 root root 274 Apr 13 17:47 /etc/NetworkManager/system-connections/enx965abc0d0f95
-rw------- 1 root root 274 Apr 6 07:21 /etc/NetworkManager/system-connections/enx96f7e764ccd1
-rw------- 1 root root 274 Apr 8 09:46 /etc/NetworkManager/system-connections/enxae86f6debca2
-rw------- 1 root root 274 Apr 14 11:31 /etc/NetworkManager/system-connections/enxb211686fc216
-rw------- 1 root root 274 Apr 14 17:56 /etc/NetworkManager/system-connections/enxb2363bfd7e9d
-rw------- 1 root root 274 Apr 9 16:38 /etc/NetworkManager/system-connections/enxb2faef0e351f
-rw------- 1 root root 274 Apr 11 20:06 /etc/NetworkManager/system-connections/enxbe1c074d36e5
-rw------- 1 root root 274 Apr 8 15:17 /etc/NetworkManager/system-connections/enxbebbbac838e6
-rw------- 1 root root 274 Apr 5 19:56 /etc/NetworkManager/system-connections/enxfe990c161b66

For usb devices the old behavior of keeping usb0 (or maybe usp1d1 depending on where it is plugged), should be kept. Else the usb vendor/product is could be used to keep a stable name

Revision history for this message
Santiago Gala (sgala) wrote :

who assigned the bug to "dbus-property-service"? Not me

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.