Your message dated Mon, 29 Sep 2025 18:19:22 +0200 with message-id <799561cf0fcd265b07f9def0c8c0fd9ae918c75e.camel@decadent.org.uk> and subject line Re: udev: multiple mac80211 interfaces created on the same physical device are incorrectly renamed has caused the Debian Bug report #499868, regarding udev: multiple mac80211 interfaces created on the same physical device are incorrectly renamed to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 499868: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499868 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: udev: multiple mac80211 interfaces created on the same physical device are incorrectly renamed
- From: Celejar <celejar@gmail.com>
- Date: Tue, 23 Sep 2008 01:46:57 -0400
- Message-id: <20080923054657.6179.22143.reportbug@localhost.localdomain>
Package: udev Version: 0.125-6 Severity: normal mac80211 drivers allow multiple interfaces to be created on the same physical device, so the underlying wmaster0 device can have eth0, eth1 and eth2. When the driver is first loaded, a udev rule like this is written: # PCI device 0x14e4:0x4318 (b43) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:xx:xx:xx:xx:xx", ATTR{type}=="1", KERNEL=="wlan*", NAME="eth0" (originally 'NAME="wlan0"', I changed it to eth0) When I subsequently add an interface with iw dev wmaster0 interface add eth1 type station a udev rule like this is added: # PCI device 0x14e4:0x4318 (b43) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:xx:xx:xx:xx:xx", ATTR{type}=="1", KERNEL=="eth**", NAME="eth1" Then, if I add another interface with iw dev wmaster0 interface add eth2 type station it gets caught by the existing rule and I get the infamous 'eth2_rename' instead of 'eth2'. I have seen this behavior with both b43 and ath5k. Perhaps creating multiple ethX interfaces is a corner case, but the documentation should at least warn about it. -- Package-specific info: -- /etc/udev/rules.d/: /etc/udev/rules.d/: total 133 -rw-r--r-- 1 root root 1547 2008-07-16 18:38 024_hpmud.rules lrwxrwxrwx 1 root root 19 2007-04-19 15:03 025_libgphoto2.rules -> ../libgphoto2.rules -rw-r--r-- 1 root root 115 2008-07-16 18:38 45-hplip.rules -rw-r--r-- 1 root root 210 2007-11-22 03:03 45-hplip.rules.dpkg-old -rw-r--r-- 1 root root 3586 2008-08-06 19:48 50-udev.rules -rw-r--r-- 1 root root 115 2008-07-16 18:38 55-hpmud.rules -rw-r--r-- 1 root root 1543 2008-07-07 07:04 60-persistent-input.rules -rw-r--r-- 1 root root 4554 2008-08-04 06:33 60-persistent-storage.rules -rw-r--r-- 1 root root 1582 2008-07-11 09:40 60-persistent-storage-tape.rules -rw-r--r-- 1 root root 523 2008-07-07 07:04 60-persistent-v4l.rules -rw-r--r-- 1 root root 1083 2008-07-17 05:53 65_dmsetup.rules -rw-r--r-- 1 root root 603 2007-02-04 12:37 70-persistent-cd.rules -rw-r--r-- 1 root root 884 2008-09-23 01:26 70-persistent-net.rules -rw-r--r-- 1 root root 452 2008-07-07 07:04 75-cd-aliases-generator.rules -rw-r--r-- 1 root root 3081 2008-09-23 01:16 75-persistent-net-generator.rules -rw-r--r-- 1 root root 2282 2008-07-20 13:08 80-drivers.rules lrwxrwxrwx 1 root root 15 2007-02-04 12:42 85-pcmcia.rules -> ../pcmcia.rules -rw-r--r-- 1 root root 82 2008-08-17 14:15 90-hal.rules -rw-r--r-- 1 root root 4247 2008-07-20 13:08 91-permissions.rules -rw-r--r-- 1 root root 593 2008-07-29 19:07 95-late.rules -rwxr-xr-x 1 root root 221 2008-09-19 15:50 regulatory.rules lrwxrwxrwx 1 root root 19 2007-02-09 13:59 z60_alsa-utils.rules -> ../alsa-utils.rules lrwxrwxrwx 1 root root 15 2007-02-04 12:54 z60_hdparm.rules -> ../hdparm.rules -rw-r--r-- 1 root root 1914 2008-02-08 10:08 z60_libccid.rules -rw-r--r-- 1 root root 2656 2008-01-03 03:15 z60_libpisock9.rules -rw-r--r-- 1 root root 14883 2008-03-01 10:19 z60_libsane-extras.rules -rw-r--r-- 1 root root 72908 2008-09-10 10:49 z60_libsane.rules -- /sys/: /sys/block/hda/dev /sys/block/hda/hda1/dev /sys/block/hda/hda2/dev /sys/block/hda/hda3/dev /sys/block/hda/hda4/dev /sys/block/hda/hda5/dev /sys/block/hda/hda6/dev /sys/block/hda/hda7/dev /sys/block/hda/hda8/dev /sys/block/hda/hda9/dev /sys/block/hdb/dev /sys/block/loop0/dev /sys/block/loop1/dev /sys/block/loop2/dev /sys/block/loop3/dev /sys/block/loop4/dev /sys/block/loop5/dev /sys/block/loop6/dev /sys/block/loop7/dev /sys/block/ram0/dev /sys/block/ram10/dev /sys/block/ram11/dev /sys/block/ram12/dev /sys/block/ram13/dev /sys/block/ram14/dev /sys/block/ram15/dev /sys/block/ram1/dev /sys/block/ram2/dev /sys/block/ram3/dev /sys/block/ram4/dev /sys/block/ram5/dev /sys/block/ram6/dev /sys/block/ram7/dev /sys/block/ram8/dev /sys/block/ram9/dev /sys/class/drm/card0/dev /sys/class/input/input0/event0/dev /sys/class/input/input13/event10/dev /sys/class/input/input1/event1/dev /sys/class/input/input2/event2/dev /sys/class/input/input3/event3/dev /sys/class/input/input4/event4/dev /sys/class/input/input5/event5/dev /sys/class/input/input5/mouse0/dev /sys/class/input/input6/event6/dev /sys/class/input/input7/event7/dev /sys/class/input/input8/event8/dev /sys/class/input/input9/event9/dev /sys/class/input/input9/mouse1/dev /sys/class/input/mice/dev /sys/class/misc/agpgart/dev /sys/class/misc/cpu_dma_latency/dev /sys/class/misc/device-mapper/dev /sys/class/misc/hpet/dev /sys/class/misc/hw_random/dev /sys/class/misc/network_latency/dev /sys/class/misc/network_throughput/dev /sys/class/misc/psaux/dev /sys/class/misc/snapshot/dev /sys/class/rtc/rtc0/dev /sys/class/sound/audio/dev /sys/class/sound/controlC0/dev /sys/class/sound/dsp/dev /sys/class/sound/mixer/dev /sys/class/sound/pcmC0D0c/dev /sys/class/sound/pcmC0D0p/dev /sys/class/sound/pcmC0D4c/dev /sys/class/sound/seq/dev /sys/class/sound/sequencer2/dev /sys/class/sound/sequencer/dev /sys/class/sound/timer/dev /sys/class/usb_endpoint/usbdev1.1_ep00/dev /sys/class/usb_endpoint/usbdev1.1_ep81/dev /sys/class/usb_endpoint/usbdev2.1_ep00/dev /sys/class/usb_endpoint/usbdev2.1_ep81/dev /sys/class/usb_endpoint/usbdev2.3_ep00/dev /sys/class/usb_endpoint/usbdev2.3_ep81/dev /sys/class/usb_endpoint/usbdev2.4_ep00/dev /sys/class/usb_endpoint/usbdev2.4_ep81/dev /sys/class/usb_endpoint/usbdev2.4_ep82/dev /sys/class/usb_endpoint/usbdev3.1_ep00/dev /sys/class/usb_endpoint/usbdev3.1_ep81/dev /sys/class/usb_endpoint/usbdev3.2_ep00/dev /sys/class/usb_endpoint/usbdev3.2_ep81/dev /sys/class/usb_endpoint/usbdev4.1_ep00/dev /sys/class/usb_endpoint/usbdev4.1_ep81/dev /sys/class/usb_endpoint/usbdev5.1_ep00/dev /sys/class/usb_endpoint/usbdev5.1_ep81/dev /sys/dev /sys/devices/pci0000:00/0000:00:1d.0/usb1/dev /sys/devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1.1/dev /sys/devices/pci0000:00/0000:00:1d.1/usb2/2-1/dev /sys/devices/pci0000:00/0000:00:1d.1/usb2/dev /sys/devices/pci0000:00/0000:00:1d.2/usb3/3-1/dev /sys/devices/pci0000:00/0000:00:1d.2/usb3/dev /sys/devices/pci0000:00/0000:00:1d.3/usb4/dev /sys/devices/pci0000:00/0000:00:1d.7/usb5/dev -- Kernel configuration: isapnp_init not present. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.27-rc6-wl-lizzie Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages udev depends on: ii debconf [debconf-2.0] 1.5.23 Debian configuration management sy ii libc6 2.7-13 GNU C Library: Shared libraries ii libselinux1 2.0.65-5 SELinux shared libraries ii libvolume-id0 0.125-6 libvolume_id shared library ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip udev recommends no packages. udev suggests no packages. -- debconf information: udev/new_kernel_needed: false udev/reboot_needed:
--- End Message ---
--- Begin Message ---
- To: 499868-done@bugs.debian.org
- Subject: Re: udev: multiple mac80211 interfaces created on the same physical device are incorrectly renamed
- From: Ben Hutchings <ben@decadent.org.uk>
- Date: Mon, 29 Sep 2025 18:19:22 +0200
- Message-id: <799561cf0fcd265b07f9def0c8c0fd9ae918c75e.camel@decadent.org.uk>
Version: 4.7-0.1 It looks like this was fixed in upstream version 4.0 by: commit ced5522d199b7b1b5b10cf94b276b74314ca8da3 Author: Ben Greear <greearb@candelatech.com> Date: Fri Oct 24 08:35:42 2014 -0700 iw: support setting vif MAC during creation This saves an extra call to change it later, and will also keep udev from potentially messing with a vif it should not be messing with. Ben. -- Ben Hutchings Horngren's Observation: Among economists, the real world is often a special case.Attachment: signature.asc
Description: This is a digitally signed message part
--- End Message ---