Package: udev Version: 0.105-4 Severity: normal Tags: patch Hello, recent UML kernels are randomizing the mac address of internal network interfaces resulting in udev creating new rules at each uml boot, eg:
# Unknown net device (/class/net/eth0) (uml-netdev) SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="2a:36:dc:01:1c:1f", NAME="eth0" # Unknown net device (/class/net/eth0) (uml-netdev) SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="3e:3a:ba:ee:6c:e3", NAME="eth1" This breaks automatically configured interfaces and since it makes little sense to continually create new names (will udev overflow?) the attached little patch makes udev ignore uml network devices. Could you please consider applying such patch? Thanks Mattia -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (300, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.21-rc7-mm2-1 (SMP w/2 CPU cores) Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages udev depends on: ii debconf [debconf-2.0] 1.5.13 Debian configuration management sy ii libc6 2.5-5 GNU C Library: Shared libraries ii libselinux1 1.32-3 SELinux shared libraries ii libvolume-id0 0.105-4 libvolume_id shared library ii lsb-base 3.1-23.1 Linux Standard Base 3.1 init scrip udev recommends no packages. -- debconf information: udev/new_kernel_needed: false udev/reboot_needed:
--- persistent-net-generator.rules.clean 2007-05-07 21:08:36.273466785 +0900 +++ persistent-net-generator.rules 2007-05-07 21:09:13.275575415 +0900 @@ -6,6 +6,9 @@ ACTION!="add", GOTO="persistent_net_generator_end" SUBSYSTEM!="net", GOTO="persistent_net_generator_end" +# ignore uml interfaces +DRIVER=="uml-netdev", GOTO="persistent_net_generator_end" + # ignore the interface if a name has already been set NAME=="?*", GOTO="persistent_net_generator_end"