Mantis - orcallator
Viewing Issue Advanced Details
4505 regular use block always 2010-07-30 18:20 2011-11-21 17:45
hudesd  
dam  
normal  
closed  
fixed  
none    
none  
0004505: init script fails to remove lock
The /etc/opt/csw/init.d fails to remove the lock file when it exits. If therefore your orca runs out of memory or crashes for any other reason the service cannot restart.

The fix is very simple. See "additional information" for the one line addition.
--- csworca.csw Fri Jul 30 12:07:12 2010
+++ csworca Mon Apr 26 14:35:41 2010
@@ -18,6 +18,7 @@
     ;;

   stop)
+ rmdir /etc/opt/csw/orcallator.cfg.lock
     if test -f /var/run/orca.pid; then
       kill `cat /var/run/orca.pid`
       rm -f /var/run/orca.pid
Issue History
2010-07-30 18:20 hudesd New Issue
2010-08-04 10:59 dam Status new => assigned
2010-08-04 10:59 dam Assigned To => dam
2010-08-04 11:21 dam Note Added: 0008169
2010-08-04 11:21 dam Status assigned => feedback
2010-08-05 17:14 hudesd Note Added: 0008174
2010-08-06 13:43 dam Note Added: 0008175
2010-08-10 23:53 hudesd Note Added: 0008193
2010-08-10 23:53 hudesd Note Edited: 0008193
2011-11-21 17:45 dam Note Added: 0009430
2011-11-21 17:45 dam Status feedback => closed
2011-11-21 17:45 dam Resolution open => fixed

Notes
(0008169)
dam   
2010-08-04 11:21   
This has been fixed in r10693:
  http://sourceforge.net/apps/trac/gar/changeset/10693 [^]
New packages
  orca-snapshot_r535,REV=2010.08.04-SunOS5.9-all-CSW.pkg.gz
  orca_web-snapshot_r535,REV=2010.08.04-SunOS5.9-all-CSW.pkg.gz
are available at
  http://mirror.opencsw.org/experimental.html#setoolkit [^]
Please verify so I can close this bug.
(0008174)
hudesd   
2010-08-05 17:14   
yes I see the changed file with the additional line.

I look forward to the release of this to production.
(0008175)
dam   
2010-08-06 13:43   
Released to current/. Would you do me a favor and see if
  https://www.opencsw.org/mantis/view.php?id=4371 [^]
is also fixed for you?
(0008193)
hudesd   
2010-08-10 23:53   
The /etc/opt/csw/init.d/csworca file is completely missing when I install orca on Solaris 9 from the experimental version. Package has the right date.

I'm not even sure anymore if it got delivered in Solaris 10 since it was in my system in the first place.

(0009430)
dam   
2011-11-21 17:45   
CSWorca version snapshot_r535,REV=2010.08.04 has been released to unstable a long time ago and the issue is fixed.