Opened 17 years ago

Closed 17 years ago

#2302 closed defect (fixed)

dhcpcd Service Script Broken

Reported by: jciccone@… Owned by: dnicholson@…
Priority: normal Milestone: 6.3
Component: Bootscripts Version: SVN
Severity: normal Keywords: dhcpcd bootscript service
Cc:

Description

The paths in the dhcpcd service script appear to be wrong. Without this patch I can not bring my device down, view it's status, or bring it up without an error.

Attachments (1)

blfs-bootscripts-20060910-dhcpcd_fix-1.patch (806 bytes ) - added by jciccone@… 17 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by dnicholson@…, 17 years ago

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

Using the variables is a good change regardless, but are you sure the path changed to /var/lib/dhcpcd? I'm looking at the source right now, and it's hardcoded to /var/lib/dhcpc in src/pathnames.h.

comment:2 by jciccone@…, 17 years ago

Maybe it changed in the newer version, I have 3.0.7 installed on 4 systems here. They all needed that mod. (I recently went from static to dhcp.)

If the older version is dhcpc, should it be changed to dhcpcd? or should the bootscript have a conditional on the version?

comment:3 by dnicholson@…, 17 years ago

Priority: highestnormal
Severity: blockernormal

I didn't know about version 3, but looking at the project page, it first got released in November. We should work on getting that into BLFS.

http://dhcpcd.berlios.de/

As long as we have 2.0.8 in the book, I'd rather not the default for now and wait till we move to version 3 and get the change by default.

I will check in the changes to use the variables, though.

comment:4 by dnicholson@…, 17 years ago

Resolution: fixed
Status: assignedclosed

OK, the variables are fixed in r6810. I am also playing with 3.0.17 right now. You're right, the paths have changed. I'll be sure to fix that when I update. Thanks, Joe.

Note: See TracTickets for help on using tickets.