Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#3273 closed defect (fixed)

dhcp make install does not provide /sbin/dhclient-script

Reported by: Michael Westbom Owned by: bdubbs@…
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords: dhcp dhclient
Cc:

Description

/sbin/dhclient-script is required for /sbin/dhclient to properly assign an IP address to an interface.

The file is not copied to /sbin/dhclient-script by the install process. I'm not sure, but it seems as though they decided upstream to make users place the file manually. The iproute2 patch already adjusts it to work with iproute2, but we don't copy it to the system at any time.

EI propose adding an instruction somewhere post-'make install':

cp client/scripts/linux /sbin/dhclient-script

to either http://www.linuxfromscratch.org/blfs/view/svn/basicnet/dhcp.html or http://www.linuxfromscratch.org/blfs/view/svn/basicnet/dhcpclient.html

Or we could write a patch for client/Makefile to copy it. That's above my pay-grade, however.

Change History (4)

comment:1 by bdubbs@…, 12 years ago

Owner: changed from blfs-book@… to bdubbs@…
Status: newassigned

comment:2 by ken@…, 12 years ago

Milestone: 6.77.0

You're right. In my own buildscript for the client I have

install -v -m755 client/scripts/linux /sbin/dhclient-script

comment:3 by bdubbs@…, 12 years ago

Resolution: fixed
Status: assignedclosed

Fixed at revision 9355.

comment:4 by bdubbs@…, 10 years ago

Milestone: 7.0

Milestone 7.0 deleted

Note: See TracTickets for help on using tickets.