incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Clift (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DTACLOUD-63) The /etc/init.d/deltacloud-core script for Fedora/RHEL kills *every* deltacloudd processes when shutting down, rather than just its own
Date Fri, 05 Aug 2011 07:01:28 GMT
The /etc/init.d/deltacloud-core script for Fedora/RHEL kills *every* deltacloudd processes
when shutting down, rather than just its own
---------------------------------------------------------------------------------------------------------------------------------------

                 Key: DTACLOUD-63
                 URL: https://issues.apache.org/jira/browse/DTACLOUD-63
             Project: DeltaCloud
          Issue Type: Bug
         Environment: RHEL 6.1
            Reporter: Justin Clift
            Assignee: David Lutterkort
            Priority: Minor


When shutting down deltacloud-core on a server with several deltacloudd processes (ie Aeolus
0.3.0 release), the deltacloud-core script blindly kills every deltacloud daemon on the server
instead of just the deltacloud-core one.

This is because the init.d script is using:

  stop() {
      echo -n $"Shutting down $prog: "
      killproc deltacloudd

Instead of using the PID of the correct process.

Something like this should work, if the start() function is updated to save the pid in PIDFILE:

      killproc -p $PIDFILE deltacloudd


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message