From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mail.openembedded.org (Postfix) with ESMTP id 98FED71D79 for ; Mon, 30 Oct 2017 09:48:26 +0000 (UTC) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Oct 2017 02:48:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,319,1505804400"; d="scan'208";a="169448775" Received: from kanavin-desktop.fi.intel.com (HELO [10.237.68.161]) ([10.237.68.161]) by fmsmga006.fm.intel.com with ESMTP; 30 Oct 2017 02:48:26 -0700 To: Dengke Du , OE-core , "Burton, Ross" References: <63a935be-505f-c2e9-8ccf-ea5079123098@windriver.com> <73eff1cd-110d-78bb-f1da-3c670c4082b7@linux.intel.com> <605ca23e-8fc8-1b36-1e52-d3489d07d1a1@windriver.com> From: Alexander Kanavin Message-ID: Date: Mon, 30 Oct 2017 11:48:31 +0200 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: <605ca23e-8fc8-1b36-1e52-d3489d07d1a1@windriver.com> Subject: Re: avahi 0.7 : should we need to package /run directory or delete it? 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: Mon, 30 Oct 2017 09:48:26 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit On 10/30/2017 11:39 AM, Dengke Du wrote: > Sorry, nothing placed in /run in 0.7 version now, but it replace the > directory /var/run, > > there are some difference between /run and /var/run, we can reference: > > https://lists.archlinux.org/pipermail/arch-projects/2011-March/000517.html > > I just doubt can we remove /run directly like we remove /var/run in > 0.6.32 version Why do you doubt that? Check if /run is provided by some base package (I honestly don't remember), and if it is, you can simply delete it in avahi recipe do_install(). Also, don't forget to fix: USERADD_PARAM_avahi-daemon = "--system --home /var/run/avahi-daemon \ etc. What I am getting at is that if you are uncertain about your updates, don't just send off the patch to the list. Make an image, boot it, and verify that avahi is running, and all the directories look sane. Alex