HomeClusterLabs Projects

low: dhcpd: Fixed PID file path for chrooted instances.

Description

low: dhcpd: Fixed PID file path for chrooted instances.

The PID file that was being used was the full chrooted path (when views
from outside the chrooted environment), which was incorrect. This caused
the dhcpd service to fail to start properly due to a failed PID file
creation.

Wrapping the PID references into the DHCPD_ARGS variable allowed for a
simple reference to be used depending on chrooted vs non-chrooted PID
file requirements.

Details

Provenance
Chris Bowlby <cbowlby@tenthpowertech.com>Authored on Aug 14 2012, 9:25 AM
Parents
rRc96a52738a01: low: dhcpd: Added non-chroot support
Branches
Unknown
Tags
Unknown

Event Timeline