[Buildbot] #3608: Running with --nodaemon and PID files

Buildbot trac trac at buildbot.net
Mon Sep 12 18:06:59 UTC 2016

#3608: Running with --nodaemon and PID files
Reporter:  gracinet  |      Owner:
    Type:  defect    |     Status:  new
Priority:  minor     |  Milestone:  0.9.+
 Version:  0.8.12    |   Keywords:
 Both the master and the worker still use PID files while running with
 --nodaemon. I've had issues with workers running with --nodaemon not
 starting because of an old, stale PID file, corresponding to an actual
 process belonging to another user.

 This can be thought to be inconsistent, and harms the writing ofreally
 simple non forking configuration files to manage the process through an
 external service manager (systemd, supervisord etc.).

 It seems that the cousin ``twistd`` executable has a --pidfile argument,
 that can be used to mean "no pid file". This is explained notably in

 We could expose that, or we could decide that --nodaemon implies no pid

 I believe this is true in Eight and Nine, and that a fix could be easily
 (marking this as minor, because it's easy to circumvent by putting
 appropriate rms in unit files or other confs)

Ticket URL: <http://trac.buildbot.net/ticket/3608>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation

More information about the bugs mailing list