Linux boot parameters are not taken to busybox environment

Bug #1736421 reported by Stefan
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
busybox (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

With busybox 1.27.2 (18.04 installer system), my kernel command line parameters that contain "/" or "-" are stripped and not in environment, anymore (e.g. keyboard-configuration/modelcode=SKIP). Furthermore, the parameters are not pushed into debconf database by script env2debconf (where I would need them).

I found this already fixed in busybox, here is the commit:
https://git.busybox.net/busybox/commit/shell/ash.c?id=9c143ce52da11ec3d21a3491c3749841d3dc10f0

Here is the issue:
https://bugs.busybox.net/show_bug.cgi?id=10231

I tested this by patching ash.c (patch is attached), building it and integrated into initrd.gz - works, parameters are in environment, again.

It would be fine if this patch could get into busybox package for 18.04.

Revision history for this message
Stefan (steffel) wrote :
dino99 (9d9)
tags: added: bionic patch upgrade-software-version
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in busybox (Ubuntu):
status: New → Confirmed
Revision history for this message
dino99 (9d9) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "environment patch from busybox repository (commit 9c143ce52da11ec3d21a3491c3749841d3dc10f0)" 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.]

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

This bug was fixed in the package busybox - 1:1.27.2-2ubuntu2

---------------
busybox (1:1.27.2-2ubuntu2) bionic; urgency=medium

  * Fix missing new config setting for Ubuntu flavors.

 -- Steve Langasek <email address hidden> Wed, 06 Dec 2017 22:14:46 +0000

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