[JIRA] Updated: (CC-1009) Currupt cc.pid
"John Patrick (JIRA)" <[email protected]> Fri, 25 Feb 2011 20:04:43 -0600 (CST)
| Newsgroups | gmane.comp.java.cruise-control.devel |
|---|---|
| Message-ID | <470771552.1298685883470.JavaMail.root@chidmzhosting02.thoughtworks.com> |
[ http://jira.public.thoughtworks.org/browse/CC-1009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Patrick updated CC-1009:
-----------------------------
Attachment: cc-1009.r4572.patch
Just tested this on Mac and Ubuntu.
Use CC_PID environment variable else default to cc.pid
If CC_PID is file, ensure it is writable, else exit
If CC_PID is file, read and see if it is a running cruisecontrol process
John
> Currupt cc.pid
> --------------
>
> Key: CC-1009
> URL: http://jira.public.thoughtworks.org/browse/CC-1009
> Project: CruiseControl
> Issue Type: Bug
> Affects Versions: 2.8.4
> Environment: Unix
> Reporter: John Patrick
> Priority: Major
> Attachments: cc-1009.patch, cc-1009.patch-r4568, cc-1009.r4572.patch
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> The current cruisecontrol.sh, does not check if the current value in cc.pid is of an currently active cruisecontrol instance.
> If you execute cruisecontrol.sh again, it overwrites cc.pid.
> I've already done a patch, that will check cc.pid and kill the start if the cc.pid is an active cruisecontrol instance that is already running.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.public.thoughtworks.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev