Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 1A716E00B6C; Wed, 5 Sep 2018 18:49:43 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [147.11.146.13 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id BCB92E00A94 for ; Wed, 5 Sep 2018 18:49:31 -0700 (PDT) Received: from ALA-HCB.corp.ad.wrs.com ([147.11.189.41]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id w861nVqj009263 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 5 Sep 2018 18:49:31 -0700 (PDT) Received: from pek-hostel-deb01.wrs.com (128.224.153.151) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.408.0; Wed, 5 Sep 2018 18:49:30 -0700 From: Chen Qi To: Date: Thu, 6 Sep 2018 09:38:59 +0800 Message-ID: <1536197940-688-5-git-send-email-Qi.Chen@windriver.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536197940-688-1-git-send-email-Qi.Chen@windriver.com> References: <1536197940-688-1-git-send-email-Qi.Chen@windriver.com> MIME-Version: 1.0 Subject: [PATCH V2 5/6] fs-perms-nagios.txt: add perms conf file X-BeenThere: meta-virtualization@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Discussion of layer enabling hypervisor, virtualization tool stack, and cloud support" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2018 01:49:43 -0000 Content-Type: text/plain Add this perms conf file to avoid do_rootfs failure due to conflicts among nagios packages. The error message is like below. Error: Transaction check error: file /etc/nagios conflicts between attempted installs of \ nagios-core-4.0.8-r0.core2_64 and nagios-nrpe-plugin-2.15-r0.core2_64 Signed-off-by: Chen Qi --- files/fs-perms-nagios.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 files/fs-perms-nagios.txt diff --git a/files/fs-perms-nagios.txt b/files/fs-perms-nagios.txt new file mode 100644 index 0000000..1334cd1 --- /dev/null +++ b/files/fs-perms-nagios.txt @@ -0,0 +1,2 @@ +${sysconfdir}/nagios 0755 nagios nagios false - - - +${libdir}/nagios/plugins 0755 nagios nagios true 0644 nagios nagios -- 2.7.4