error of processing hwaddr kernel option

Bug #1536597 reported by Alexandr Larin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Fix Released
Medium
Andy Whitcroft

Bug Description

The file /usr/share/initramfs-tools/init contains a error of processing hwaddr kernel option: the prefix "BOOTIF" is removed from the option string "hwaddr=*".

    hwaddr=*)
        BOOTIF=${x#BOOTIF=}
        ;;

It should be

    hwaddr=*)
        BOOTIF=${x#hwaddr=}
        ;;

The patch is attached.

Tags: patch
Revision history for this message
Alexandr Larin (larin-alexandr) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Fix-hwaddr-option-processing.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Andy Whitcroft (apw) wrote :

@Alexandr -- could you indicate which series of Ubuntu you are seeing this in, as this appears to have been correct at least since 0.120 was merged from Debian, and so it is correct in Xenial. Thanks for reporting.

Changed in initramfs-tools (Ubuntu):
assignee: nobody → Andy Whitcroft (apw)
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Alexandr Larin (larin-alexandr) wrote :

The bug has been found on 12.04 and 14.04 Ubuntu releases. Versions of the package are 0.99ubuntu13.5 and 0.103ubuntu4.2 respectively. I did not check non-LTS releases.

Revision history for this message
Benjamin Drung (bdrung) wrote :

This is fixed at least since 0.122ubuntu8.17 in Ubuntu 16.04 (xenial).

Changed in initramfs-tools (Ubuntu):
status: Incomplete → 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.