Return-Path: X-Original-To: apmail-incubator-deltacloud-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-deltacloud-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9EE8682E3 for ; Sun, 11 Sep 2011 15:54:38 +0000 (UTC) Received: (qmail 25523 invoked by uid 500); 11 Sep 2011 15:54:38 -0000 Delivered-To: apmail-incubator-deltacloud-dev-archive@incubator.apache.org Received: (qmail 25500 invoked by uid 500); 11 Sep 2011 15:54:38 -0000 Mailing-List: contact deltacloud-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltacloud-dev@incubator.apache.org Delivered-To: mailing list deltacloud-dev@incubator.apache.org Received: (qmail 25492 invoked by uid 99); 11 Sep 2011 15:54:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2011 15:54:38 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mmorsi@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2011 15:54:31 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p8BFs8po012449 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 11 Sep 2011 11:54:09 -0400 Received: from localhost.localdomain (vpn-10-138.rdu.redhat.com [10.11.10.138]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p8BFs7U5011110 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 11 Sep 2011 11:54:08 -0400 Message-ID: <4E6CD9A0.7030506@redhat.com> Date: Sun, 11 Sep 2011 11:54:08 -0400 From: Mo Morsi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 MIME-Version: 1.0 To: deltacloud-dev@incubator.apache.org Subject: Re: deltacloud init script fix References: <4E6AB3F2.6050001@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Virus-Checked: Checked by ClamAV on apache.org On 09/10/2011 06:36 PM, Francesco Vollero wrote: > Ack'd > > On Sat, Sep 10, 2011 at 2:48 AM, Mo Morsi wrote: >> Currently running 'service deltacloud-core status' fails to report the >> status of the service as the following fix is needed to the init script: >> >> $ diff -sup /etc/init.d/deltacloud-core.orig /etc/init.d/deltacloud-core >> --- deltacloud-core.orig 2011-09-09 20:41:51.307087246 -0400 >> +++ /etc/init.d/deltacloud-core 2011-09-09 20:41:31.760082220 -0400 >> @@ -89,7 +89,7 @@ case "$1" in >> restart >> ;; >> status) >> - status $PROG >> + status -p $PIDFILE $PROG >> retval=$? >> ;; >> *) >> >> >> >> -Mo >> Could you please push, I don't believe I have commit rights (though I wouldn't mind having this as well, I already signed the apache CLA) Thank you, -Mo