[JIRA] Updated: (CC-1009) Currupt cc.pid
"John Patrick (JIRA)" <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.devel |
|---|---|
| Message-ID | <1836958374.1287258589848.JavaMail.jira@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.patch
This patch, fixes all cruisecontrol.sh instances, so that they check the current value of cc.pid before launching cruisecontrol.
The patch double checks the cc.pid value against currently active process, and processes that are cruisecontrol. Just incase the pid has been recycled by another process.
> 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
>
> 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
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev