It seems I don't get the issue when disabling connmand or excluding usb0 from connmand with ---nodevice When disabled or excluded, I can rename my network interface without the previously mentionned error
fred Jukka Rissanen <[email protected]> a écrit sur 01/12/2014 16:11:49 : > De : Jukka Rissanen <[email protected]> > A : [email protected], > Cc : [email protected] > Date : 01/12/2014 16:13 > Objet : Re: Conflict with udev for interface name > > Hi Frederic, > > On ma, 2014-12-01 at 15:51 +0100, > [email protected] wrote: > > Hello all, > > > > I'd like to predefine the name on one of my network interface using udev > > rule but get an error as usb0 is already in use probably by connmand. > > Why do you think it is connmand? Connman just gets rtnl events when > interface name is changed (usually by systemd-udevd) and tries to avoid > using the interface name because the name can change (interface index is > used instead in the code). > > > Any advice how to make it work ? > > > > Here the extract on udevadm test /sys/class/net/usb0 > > ... > > NAME 'usb_s5' /usr/lib/udev/rules.d/80-net-name-slot.rules:16 > > RUN '/usr/lib/systemd/systemd-sysctl > > --prefix=/proc/sys/net/ipv4/conf/$name > > --prefix=/proc/sys/net/ipv4/neigh/$name > > --prefix=/proc/sys/net/ipv6/conf/$name > > --prefix=/proc/sys/net/ipv6/neigh/$name' > > /usr/lib/udev/rules.d/99-systemd.rules:52 > > changing net interface name from 'usb0' to 'usb_s5' > > error changing net interface name usb0 to usb_s5: Device or resource busy > > ... > > > > fred > > > Cheers, > Jukka > > _______________________________________________ connman mailing list [email protected] https://lists.connman.net/mailman/listinfo/connman
