Bug#824025: udev: Please split rule for MAC-based name of USB network interface out of 73-special-net-names.rules

Martin Pitt mpitt at debian.org
Wed May 11 22:13:06 BST 2016


Control: tag -1 pending

Hello Raphael,

Raphael Hertzog [2016-05-11 15:27 +0200]:
> Kali opted to revert the new names of network interfaces and as such
> we used to run the following command in our live image:
> ln -sf /dev/null /etc/systemd/network/90-mac-for-usb.link
> ln -sf /dev/null /etc/systemd/network/99-default.link
> 
> But the 90-mac-for-usb.link has now been obsoleted by a single udev
> rule in /lib/udev/rules.d/73-special-net-names.rules. To disable that
> rule only, I have to provide /etc/udev/rules.d/73-special-net-names.rules
> with all the other rules except that one.
> 
> I would really prefer if that rule could be split into its own file
> so that it can be disabled in the same way with a single symlink instead
> of having to maintain a forked version of 73-special-net-names.rules.

Done: http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/commit/?id=b72e3d3b

I also changed the rule to be inert when "net.ifnames=0" is given on
the kernel command line, to be consistent with the *.link files:

  http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/commit/?id=b3e7c6ee792

Marco d'Itri [2016-05-11 16:41 +0200]:
> Since you are touching the file, do you mind adding an entry for the IBM⎵
> management interface as well?
>> # On IBM systems the Integrated Management Module is reachable using a
> # USB Virtual NIC.
> ACTION=="add", SUBSYSTEM=="net", SUBSYSTEMS=="usb", \
>   ATTRS{idVendor}=="04b3", ATTRS{idProduct}=="0325", NAME="ibmimm"

Done: http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/commit/?id=845af7b

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)





More information about the Pkg-systemd-maintainers mailing list