[gutsy] [patch] iftab migration fails if mac addresses are uppercase

Bug #151786 reported by MaxNegro
18
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: udev

I think the summary says it all, but anyway... :)

I had the following interfaces in /etc/iftab, and with feisty this was ok:

eth0 mac 00:0E:7B:A2:F7:2C
eth1 mac 00:0E:35:A9:3A:FF

When upgrading to gutsy, a couple of days ago, /etc/iftab was converted in /etc/udev/rules.d/70-persistent-net.rules. Migration script commented out said interfaces in iftab, and copied mac addresses verbatim in new file. Then, it (i presume) added a couple more interfaces (eth2 and eth3) with same mac addresses, only lower case.

At boot, my interfaces were then named eth2 and eth3, breaking some of my previous configurations. A quick edit on 70-persistent-net.rules switched all back to normality, anyway I think this case should be addressed properly by upgrade process, in order not to confuse users.

Thank you for your time.

Revision history for this message
MaxNegro (maxnegro) wrote :

Quick patch to solve the problem. Did not investigate whether a more "global" approach should be used.

Revision history for this message
Mary Gardiner (puzzlement) wrote :

I confirm that this happened to me upgrading Feisty to the released version of gutsy.

Changed in udev:
status: New → Confirmed
Revision history for this message
Sridhar Dhanapalan (sridhar) wrote :

Confirmed for me as well, after an upgrade to Gutsy. Manually editing 70-persistent-net.rules did the trick.

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

udev (117-1) hardy; urgency=low

  * New upstream release:
    - udev ancillary tools merged into a single udevadm binary.
    - dynamic rules may be created in /dev/.udev/rules.d
    - SYMLINK=="value" matches currently defined symlinks.
    - RUN{ignore_error} will ignore errors from programs.
    - vol_id recognises FAT partitions with 8192 sector size. LP: #147807.

  * debian/patches/10-git-linux_raid-1.0-metadata.patch:
    - Dropped, included in new upstream version.
  * debian/patches/80-extras-firmware.patch:
    - Change to add a new extra helper rather than patch the existing one,
      makes updating easier.

  * 00-init.rules:
    - Rename to 05-udev-early.rules to match upstream
  * 05-options.rules:
    - Do not remove static devices
  * 20-names.rules:
    - Update to 2.6.24-style usb_device objects
  * 40-permissions.rules:
    - Update to 2.6.24-style usb_device objects
    - Place SCSI type 4 devices into the cdrom group
  * 65-persistent-storage-tape.rules:
    - New upstream rules file for tape devices containing rules separated
      out from 65-persistent-storage.rules
  * 90-modprobe.rules:
    - Fix strange syntax error introduced by mjg59 leaving a note in the
      rule that wasn't in a comment.
  * 99-udevmonitor.rules:
    - Rename to 95-udev-late.rules to match upstream
    - Run REMOVE_CMD environment if it exists.

  * debian/migrate-iftab.pl:
    - Lowercase MAC addresses on migration. LP: #151786.
  * debian/udev.init:
    - Update all binaries to be calls to udevadm.
  * debian/udev.initramfs-hook:
    - Copy in udevadm rather than the symlinks to it.
    - Update filenames of early rules file.
    - Copy in late rules now we have udev monitor there.
  * debian/udev.initramfs-nfs:
    - Update all binaries to be calls to udevadm.
  * debian/udev.initramfs-premount:
    - Update all binaries to be calls to udevadm.
  * debian/udev.installer-startup:
    - Update all binaries to be calls to udevadm.

 -- Scott James Remnant <email address hidden> Fri, 14 Dec 2007 12:15:30 +0000

Changed in udev:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.