#1810: error executing "/etc/dhcpc/dhcpcd.exe /var/lib/dhcpc/dhcpcd-eth0.info new": Permission denied ---------------------+------------------------------------------------------ Reporter: smileaf | Owner: lfs-book@linuxfromscratch.org Type: defect | Status: reopened Priority: normal | Milestone: Component: Book | Version: SVN Severity: normal | Resolution: Keywords: | ---------------------+------------------------------------------------------ Changes (by [EMAIL PROTECTED]):
* resolution: invalid => * status: closed => reopened Comment: Whoops, hit submit instead of preview. To finish this thought now. You can override this hardcoded location by passing -c file to /sbin/dhcpcd. The blfs network script doesn't do this. So, nothing is being executed because it doesn't know about /var/lib/dhcpc/dhcpcd.exe. And, dhcpcd.exe does get installed with 644 permissions. You'd have never seen the errors he's referring to because we always pass --sysconfdir=/var/lib. Chris, I'm not at home to test this out. In /etc/sysconfig/network- devices/services/dhcpcd, could you change the line from `/sbin/dhcpcd $1 $DHCP_START` to `/sbin/dhcpcd -c /var/lib/dhcpc/dhcpcd.exe $1 $DHCP_START` Or just move dhcpcd.exe to /etc/dhcpc and I'd wager that you will see the error he's referring to. -- Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1810> LFS Trac <http://wiki.linuxfromscratch.org/lfs/> Linux From Scratch: Your Distro, Your Rules. -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page