opscode/chef — pull request #706 by adamsb6 (2013-04-09 17:48:27+00:00)
Title: Keep a daemonized chef-client's forked process from reaping the parent pid file

This is a proposed fix for CHEF-3367. It also includes an rspec test for the fix.

Without this fix a forked process will reap its parent's pid file,
breaking init script functionality. A start call to the init script
will then launch a new process, since the init script is ignorant of the
already running process.