biosdevname renaming rule not present in initramfs, leads to unpredictable names

Bug #1277436 reported by Margarita Manterola
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
biosdevname (Ubuntu)
Fix Released
High
Unassigned

Bug Description

The biosdevname package includes /lib/udev/rules.d/71-biosdevname.rules, which makes it rename the interfaces when the machine boots. This is now installed by default in trusty, and so most machines will have this rename going on. However, the rule is not present in the initramfs, so that if there's any program that calls configure_networking (like dropbear does) during the initial boot, then the interface stays with the unrenamed name.

What this means is that the interface is called something different depending on the fact that another program (dropbear) is installed or not. This shouldn't be the case.

The biosdevname rule should be copied into the initramfs, like other udev rules are copied.

Tags: trusty
description: updated
Revision history for this message
Margarita Manterola (marga-9) wrote :

I'm attaching a debdiff of a package that includes an initramfs hook that copies both the rule file and the binary necessary to have biosdevname working at boot time, it also includes a postinst hook to regenerate the update-initramfs image.

tags: added: trusty
Changed in biosdevname (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package biosdevname - 0.4.1-0ubuntu6

---------------
biosdevname (0.4.1-0ubuntu6) trusty; urgency=medium

  * Create initramfs hook that copies the rule and the binary to the initramfs
    image. (LP: #1277436)
 -- Margarita Manterola <email address hidden> Fri, 07 Feb 2014 12:40:26 +0100

Changed in biosdevname (Ubuntu):
status: Triaged → 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.