Bug#724644: initramfs-tools: Parsing of ip= option is brittle
tags 724644 pending
stop
Dear Matto,
On Wed, 25 Sep 2013, Matto Marjanovic wrote:
>
> The configure_networking() function in scripts/functions fails
> to parse an "ip=" kernel option if it has more than one parameter
> following the device name. For example:
>
> ip=client-ip:server-ip:gw-ip:netmask:hostname:device:autoconf
>
> works just fine, however,
>
> ip=client-ip:server-ip:gw-ip:netmask:hostname:device:autoconf:dns0:dns1
>
> does not, and that happens to be the format described in
> https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt
Thanks for the good description.
> A one character change to configure_networking() will make it immune to
> any number of parameters following the device name:
patch merged and pushed, will be uploaded shortly.
Best,
--
maks
Reply to: