#3272 closed task (fixed)
dhclient sysconfig file breaks boot scripts
Reported by: | Michael Westbom | Owned by: | |
---|---|---|---|
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.
Note:
See TracTickets
for help on using tickets.
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.