Network devices with a MAC with prefix 2c:c2:60 should not be have a persistent rule

Bug #1099278 reported by Boris Figovsky
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
Fix Released
Medium
Brian Murray
Precise
Fix Released
Medium
Unassigned

Bug Description

[Test Case]
1) using your preferred virtualization technology create an Ubuntu guest with a MAC address starting with 2c:c2:60.
2) boot the Ubuntu guest
3) cat /etc/udev/rules.d/70-persistent-net.rules

The file will contain a line with an address containing "2c:c2:60". With the version of the package from -proposed it will not.

[Regression Potential]
Low as this is limited to MAC address assigned to Ravello Systems.

The MAC prefix 2c:c2:60 should be treated like 52:54:00 (KVM) and 00:0c:29 VMWare (VMWare):
network devices with a MAC that starts with 2c:c2:60 shall not be persistent.

This MAC prefix belongs to Ravello Systems:
http://hwaddress.com/mac/2CC260-000000.html
http://www.ravellosystems.com

A patch to Precise's version of udev is attached.

Revision history for this message
Boris Figovsky (boris-figovsky) wrote :
Revision history for this message
Boris Figovsky (boris-figovsky) wrote :

Same patch for Lucid's udev

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Skip persistent rule generation of MACs with prefix 2c:c2:60" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Changed in udev (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
summary: - Netword devices with a MAC with prefix 2c:c2:60 should not be have a
+ Networ devices with a MAC with prefix 2c:c2:60 should not be have a
persistent rule
summary: - Networ devices with a MAC with prefix 2c:c2:60 should not be have a
+ Network devices with a MAC with prefix 2c:c2:60 should not be have a
persistent rule
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package udev - 175-0ubuntu17

---------------
udev (175-0ubuntu17) raring; urgency=low

  * Add ignore-ravello-systems-virtual-ifaces.patch: Do not create persistent
    net rules for Ravello Systems MAC addresses. Thanks to Boris Figovsky for
    the patch. (LP: #1099278)
 -- Brian Murray <email address hidden> Mon, 14 Jan 2013 09:35:56 -0800

Changed in udev (Ubuntu):
status: Triaged → Fix Released
Changed in udev (Ubuntu):
assignee: nobody → Brian Murray (brian-murray)
Changed in udev (Ubuntu Precise):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Brian Murray (brian-murray) wrote :

I've uploaded this to the precise-proposed queue but a test case would be helpful.

Revision history for this message
Boris Figovsky (boris-figovsky) wrote :

Here is a test case for the patch:
- Boot an Ubuntu guest (with the new udev package version) on top of Ravello, KVM or VMWare, while specifying the MAC to start with 2c:c2:60;
- Ensure that /etc/udev/rules.d/70-persistent-net.rules inside the guest has no rules.

Before I submitted the patch I tested it by:
- copying /lib/udev/rules.d/75-persistent-net-generator.rules to /etc/udev/rules.d/75-persistent-net-generator.rules inside guest hard-disk;
- patching /etc/udev/rules.d/75-persistent-net-generator.rules with the proposed patch inside guest hard-disk; and -
- booting the guest as described above.

In case injecting a new udev package is impossible before boot:
- boot with old udev package;
- clean-up /etc/udev/rules.d/70-persistent-net.rules;
- install new udev package;
- reboot.

description: updated
Revision history for this message
Dave Walker (davewalker) wrote : Please test proposed package

Hello Boris, or anyone else affected,

Accepted udev into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/udev/175-0ubuntu9.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in udev (Ubuntu Precise):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Boris Figovsky (boris-figovsky) wrote :

I have tested version 175-0ubuntu9.3 from precise-proposed.
The test was:
1) Boot the latest release of Ubuntu Precise Cloud-image (http://cloud-images.ubuntu.com/releases/precise/release/ubuntu-12.04-server-cloudimg-amd64-disk1.img) using my preferred virtualization technology, while specifying a random MAC of the form 2c:c2:60:XX:XX:XX;
2) Clean-up /etc/udev/rules.d/70-persistent-net.rules
3) Install proposed udev package
4) Reboot the guest
5) Verify that /etc/udev/rules.d/70-persistent-net.rules is clean

Note: due to https://bugs.launchpad.net/ubuntu/+source/udev/+bug/381104, I could not install proposed package inside the guest using chroot (so I do not have to boot it).

tags: added: verification-done
removed: verification-needed
Revision history for this message
Colin Watson (cjwatson) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package udev - 175-0ubuntu9.3

---------------
udev (175-0ubuntu9.3) precise-proposed; urgency=low

  * Add ignore-ravello-systems-virtual-ifaces.patch: Do not create persistent
    net rules for Ravello Systems MAC addresses. Thanks to Boris Figovsky for
    the patch. (LP: #1099278)
 -- Brian Murray <email address hidden> Mon, 14 Jan 2013 16:22:22 -0800

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

Other bug subscribers

Remote bug watches

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