support for biosdevname in livecd's

Bug #962546 reported by Jared Dominguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
casper (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Enabling biosdevname (described at http://linux.dell.com/files/whitepapers/consistent_network_device_naming_in_linux.pdf) is an option for Ubuntu and has been since 11.04. It is not yet enabled by default, but it is an option that can be enabled by passing the "biosdevname=1" option at boot. I am not sure if it is desired to allow this feature in live images (such as the Ubuntu Cloud live image), but, if it is, it seems like there may be a couple of bugs one may encounter when doing so because of a couple files in the casper package:

dell@dhcp-164-224:~/precise/casper-1.312$ egrep -r "eth" * | egrep -vi "([a-z]eth|eth[a-z]|^test|^doc|^po|^man)"
debian/changelog: * Write /etc/network/interfaces entries for eth0, eth1, eth2, ath0 and
scripts/casper-bottom/23networking: for interface in /sys/class/net/eth* /sys/class/net/ath* /sys/class/net/wlan*; do
scripts/casper-bottom/23networking: for i in eth0 eth1 eth2 ath0 wlan0; do
scripts/casper-bottom/24preseed: chroot /root dhclient eth0 3>&- 4<&-
scripts/casper-bottom/24preseed: chroot /root ifconfig eth0 down

I am not familiar with how casper functions, so I'm not sure if this would be a bug or if these files in scripts/casper-bottom are harmless. I will note that on an Ubuntu Cloud live image that I tried, passing "biosdevname=1" did not do anything, so it may be that this is not possible for that build anyway.

Tags: biosdevname
Colin Watson (cjwatson)
tags: added: biosdevname
Changed in casper (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package casper - 1.327

---------------
casper (1.327) quantal; urgency=low

  [ Tim Lunn ]
  * add gnome-shell favorites tweak to 25adduser
  * Add 16gdmnopasswd script, removes gdm password dialog for live user.

  [ Stéphane Graber ]
  * Fix casper when running on some RAID systems. (LP: #1047316, LP: #965735)
  * Apply patch by Tyler Gates to try and better handle dm devices, should help
    with the above change too. (LP: #865529)
  * Use /sys/class/net/ instead of hardcoded eth* devices.
    (LP: #905828, LP: #962546)
  * Allow overriding username/userfullname/hostname on the boot command line
    as is mentioned in the manpage but was never implemented.
    Note that when using persistence, those used for the first boot will be
    remembered through /etc/casper.conf (LP: #907482)
  * Reset oem-config/enable to false every boot. (LP: #838680)
  * Add Breaks/Replaces to ubiquity-casper to properly upgrade when both
    casper and ubiquity-casper are installed. (LP: #1046300)
  * Apply patch by cleary to avoid hang in 41apt_cdrom when .disk/info doesn't
    exist. (LP: #909919)
  * Eject by block device instead of mountpoint, this should avoid ejecting
    the cdrom on USB installations. (LP: #869238)
  * Add 'check' target to debian/rules based on ubiquity's (LP: #570243)
 -- Stephane Graber <email address hidden> Wed, 03 Oct 2012 17:46:39 -0400

Changed in casper (Ubuntu):
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

Related questions

Remote bug watches

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