Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#3272 closed task (fixed)

dhclient sysconfig file breaks boot scripts

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

Description

The chapter on dhcp client, http://www.linuxfromscratch.org/blfs/view/svn/basicnet/dhcpclient.html, instructs the user to create a directory in /etc/sysconfig called ifconfig.eth0.

This breaks /etc/init.d/network and related scripts, which seek a file called ifconfig.eth0.

I propose changing this piece:

install -v -d /etc/sysconfig/ifconfig.eth0 &&
cat > /etc/sysconfig/ifconfig.eth0/dhclient << "EOF"

to this:

cat > /etc/sysconfig/ifconfig.eth0 << "EOF"

This allows the script generated by the rest of the block to perform correctly.

Change History (3)

comment:1 by bdubbs@…, 12 years ago

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

You're right. This page needs to be updated for LFS 7.0. I'll try to get this done today or tomorrow.

Thanks for the report.

comment:2 by bdubbs@…, 12 years ago

Resolution: fixed
Status: assignedclosed

Fixed at revision 9351.

comment:3 by bdubbs@…, 10 years ago

Milestone: 6.7

Milestone 6.7 deleted

Note: See TracTickets for help on using tickets.