Return-Path: Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by mail.openembedded.org (Postfix) with ESMTP id AD26377805 for ; Wed, 11 Oct 2017 02:21:29 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id v9B2LUAF025997 (version=TLSv1 cipher=AES128-SHA bits=128 verify=OK); Tue, 10 Oct 2017 19:21:30 -0700 Received: from [128.224.162.198] (128.224.162.198) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 10 Oct 2017 19:21:28 -0700 To: "Burton, Ross" References: <1506644875-30179-1-git-send-email-yi.zhao@windriver.com> From: Yi Zhao Message-ID: Date: Wed, 11 Oct 2017 10:20:03 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: X-Originating-IP: [128.224.162.198] Cc: OE-core Subject: Re: [PATCH] watchdog: install wd_keepalive service file to its own package X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 02:21:29 -0000 Content-Type: multipart/alternative; boundary="------------96EB93F6712856822DDEF15D" Content-Language: en-US --------------96EB93F6712856822DDEF15D Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit 在 2017年10月02日 20:19, Burton, Ross 写道: > On 29 September 2017 at 01:27, Yi Zhao > wrote: > > Move wd_keepalive.service from watchdog package to watchdog-keepalive > package. Also remove debian specific code from the service file. > > > Remember to say *why*.  Reading the diff tells us that you are putting > wd-keepalive into a separate package, but doesn't explain *why*. My patch just move wd_keepalive.service  file from wathdog package to watchdog-keepalive package to fix commit c14550deb824b3ef8087dede22d664879e85006d .  The package splitting was introduced by commit 7a79aba22be0ca0bc3535dea64a79b697013337d by Fabio Berton and reason is in the log message. Yi > > I suspect its because you should only be running one of them and if > they both start then they'll race.  I also suspect the real solution > is to have them either one or both disabled by default instead, as it > appears to be perfectly reasonable to start with one and then swap to > the other. > > Ross --------------96EB93F6712856822DDEF15D Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 8bit



在 2017年10月02日 20:19, Burton, Ross 写道:
On 29 September 2017 at 01:27, Yi Zhao <yi.zhao@windriver.com> wrote:
Move wd_keepalive.service from watchdog package to watchdog-keepalive
package. Also remove debian specific code from the service file.

Remember to say *why*.  Reading the diff tells us that you are putting wd-keepalive into a separate package, but doesn't explain *why*.

My patch just move wd_keepalive.service  file from wathdog package to watchdog-keepalive package to fix commit c14550deb824b3ef8087dede22d664879e85006d .  The package splitting  was introduced by commit 7a79aba22be0ca0bc3535dea64a79b697013337d  by Fabio Berton and reason is in the log message.

Yi

 

I suspect its because you should only be running one of them and if they both start then they'll race.  I also suspect the real solution is to have them either one or both disabled by default instead, as it appears to be perfectly reasonable to start with one and then swap to the other.

Ross

--------------96EB93F6712856822DDEF15D--