Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-1997

OSE "gear stop" exits before the process is really down

XMLWordPrintable

    • % %
      1. gear stop; jps

      The fuse/bin/control seems to use the "if ps -p" condition incorrectly in several places.

      As a consequence, the wait_for_stop removes the PID file before the process is actually stopped and does not wait the specified time for the process to stop.

      also, the stop function does not attempt to kill the process if needed as the

      "if ! ps -p $PID > /dev/null; then" condition is wrong.

              janstey@redhat.com Jonathan Anstey
              maschmid@redhat.com Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: