[Bug 1736421] [NEW] Linux boot parameters are not taken to busybox environment

Stefan stefan.felkel at besi.com
Tue Dec 5 14:24:27 UTC 2017


Public bug reported:

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.

** Affects: busybox (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "environment patch from busybox repository (commit 9c143ce52da11ec3d21a3491c3749841d3dc10f0)"
   https://bugs.launchpad.net/bugs/1736421/+attachment/5018797/+files/ash_environment.patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to busybox in Ubuntu.
https://bugs.launchpad.net/bugs/1736421

Title:
  Linux boot parameters are not taken to busybox environment

Status in busybox package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1736421/+subscriptions



More information about the foundations-bugs mailing list