Summary: | dev-util/buildbot-0.7.11_p3 buildmaster init script exits with error but service starts | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Stutzman <gentoo> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | dustin, rey4 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | http://pastebin.org/23583 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
David Stutzman
2009-09-24 17:58:04 UTC
I have the same problem with dev-util/buildbot-0.7.11_p3 and I figured out what's going on. The init script is failing because the start-stop-daemon command is returning 1. Strangely this happens even though /usr/bin/twistd and /sbin/start-stop-daemon both return 0. The 1 comes from the start-stop-daemon wrapper function in /lib/rcscripts/sh/rc-daemon.sh. This wrapper seems to have a problem locating the twistd pid after it forks. I didn't look into this problem because I found I could work around it by adding RC_WAIT_ON_START=0 to the top of /etc/conf.d/buildslave. With that variable set to 0, the start-stop-daemon wrapper just uses the twistd exit status and doesn't look for the pid on its own. *** This bug has been marked as a duplicate of bug 286191 *** |