Project

General

Profile

Bug #1754

DHCP at initrd time broken (ip=dhcp)

Added by Hugo Landau about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Boot sequence
Target version:
Start date:
04/04/2013
Due date:
% Done:

100%

Estimated time:
Affected versions:
Security IDs:

Description

The Alpine kernel is built with CONFIG_IP_PNP=y and CONFIG_IP_PNP_DHCP=y, which means that it should obtain an IP address if booted with ip=dhcp. However, this appears to require that the relevant network drivers are built into the kernel itself rather than as modules.

We should therefore disable CONFIG_IP_PNP and call udhcpc at initrd time if ip=dhcp is spotted in the command line. This will require modification to the initrd init script and inclusion of an appropriate udhcpc handler in the initrd.

This is a blocker for allowing Alpine to boot usefully with PXE (i.e., with a NFS or HTTP server as alpine_dev.)

Associated revisions

Revision 7dc60785 (diff)
Added by Natanael Copa about 6 years ago

main/linux-grsec: disable CONFIG_IP_PNP

fixes #1754

History

#1 Updated by Natanael Copa about 6 years ago

  • Target version set to Alpine 2.6.0

#2 Updated by Natanael Copa about 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#3 Updated by Bartłomiej Piotrowski about 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF