[Bug 802538] Re: /etc/udev/rules.d/70-persistent-net.rules not automatically generated

Serge Hallyn 802538 at bugs.launchpad.net
Mon Jun 27 20:26:55 UTC 2011


Ah, the bootdmesg shows that eth0 is mac '00:50:56*', which is a VMWare
NIC.  For some reason, extras/rule_generator/75-persistent-net-
generator.rules filters out that NIC.  It didn't use to in lucid, but
does in both debian sid and in ubuntu natty.

I don't know exactly what the reason for this is, so marking this
confirmed so a udev pro can answer whether it's meant to be like this.

Ben,  you should be able to work around this by editing
/lib/udev/rules.d/75-persistent-net-generator.rules and commenting out
line 35, which reads:

ENV{MATCHADDR}=="00:0c:29:*|00:50:56:*",
GOTO="persistent_net_generator_end"


** Changed in: udev (Ubuntu)
       Status: New => Confirmed

** Changed in: udev (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/802538

Title:
  /etc/udev/rules.d/70-persistent-net.rules not automatically generated

Status in “udev” package in Ubuntu:
  Confirmed

Bug description:
  previous to 11.04, if /etc/udev/rules.d/70-persistent-net.rules was
  deleted, it would be automatically regenerated at boot.  this appears
  to now not be happening.

  if run manually, write_net_rules complains "missing valid match" -
  although i don't know if this is necesarily meaningful.

  i did find this debian bug, which appears to maybe be similar/related
  [although it's a bit old at 2008]:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492193

  1] 11.04

  2] udev:
          Installed: 167-0ubuntu3
          Candidate: 167-0ubuntu3
          Version table:
        *** 167-0ubuntu3 0
                500 /http://us.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
                100 /var/lib/dpkg/status

  3] i expected /etc/udev/rules.d/70-persistent-net.rules to be automatically created by the system
  4] it was not
  --- 
  Architecture: amd64
  CurrentDmesg: [   21.320072] eth0: no IPv6 routers present
  DistroRelease: Ubuntu 11.04
  Lsusb: Error: command ['lsusb'] failed with exit code 1:
  MachineType: VMware, Inc. VMware Virtual Platform
  Package: udev 167-0ubuntu3
  PackageArchitecture: amd64
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-server root=/dev/mapper/vg_1-root ro
  ProcVersionSignature: Ubuntu 2.6.38-8.42-server 2.6.38.2
  Tags:  natty
  Uname: Linux 2.6.38-8-server x86_64
  UpgradeStatus: Upgraded to natty on 2011-05-02 (56 days ago)
  UserGroups:
   
  dmi.bios.date: 09/22/2009
  dmi.bios.vendor: Phoenix Technologies LTD
  dmi.bios.version: 6.00
  dmi.board.name: 440BX Desktop Reference Platform
  dmi.board.vendor: Intel Corporation
  dmi.board.version: None
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 1
  dmi.chassis.vendor: No Enclosure
  dmi.chassis.version: N/A
  dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvr6.00:bd09/22/2009:svnVMware,Inc.:pnVMwareVirtualPlatform:pvrNone:rvnIntelCorporation:rn440BXDesktopReferencePlatform:rvrNone:cvnNoEnclosure:ct1:cvrN/A:
  dmi.product.name: VMware Virtual Platform
  dmi.product.version: None
  dmi.sys.vendor: VMware, Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/802538/+subscriptions




More information about the foundations-bugs mailing list