HomePhorge

(#13966) Fix default pidfile race condition
bbda9d21ce19Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#13966) Fix default pidfile race condition

Commit 8b81794 introduced a race condition for the pidfile that
incorrectly defaulted all pidfiles to user.pid because of when in load
time defaults.rb was read. Run_mode bootstraps as user and then
switches to [master|agent] if necessary. This change modifies the
default pidfile value to interpolate run_mode at time of pidfile use
rather than bootstrapped run_mode. This commit restores proper
functionality for the pidfile names.

Details

Provenance
Jeff Weiss <jeff.weiss@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU32f91d11e149: Merge 'pluginsync-error' from pcarlisle
Branches
Unknown
Tags
Unknown

Event Timeline

Jeff Weiss <jeff.weiss@puppetlabs.com> committed rPUbbda9d21ce19: (#13966) Fix default pidfile race condition (authored by Jeff Weiss <jeff.weiss@puppetlabs.com>).Apr 25 2012, 6:44 PM