From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id A394976F8C for ; Tue, 1 Sep 2015 07:52:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id t817qZeA006002; Tue, 1 Sep 2015 08:52:35 +0100 Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 90goVcwzVFTT; Tue, 1 Sep 2015 08:52:35 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id t817qKgM005994 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 1 Sep 2015 08:52:31 +0100 Message-ID: <1441093940.26554.57.camel@linuxfoundation.org> From: Richard Purdie To: Christopher Larson Date: Tue, 01 Sep 2015 08:52:20 +0100 In-Reply-To: <1441093853.26554.56.camel@linuxfoundation.org> References: <1441093853.26554.56.camel@linuxfoundation.org> X-Mailer: Evolution 3.12.11-0ubuntu3 Mime-Version: 1.0 Cc: Christopher Larson , openembedded-core@lists.openembedded.org Subject: Re: [PATCH 0/3] Add checks for "host user contamination" 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: Tue, 01 Sep 2015 07:52:38 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Tue, 2015-09-01 at 08:50 +0100, Richard Purdie wrote: > On Mon, 2015-08-24 at 15:19 -0700, Christopher Larson wrote: > > From: Christopher Larson > > > > This adds a QA test, as well as a rootfs_ function for use in > > ROOTFS_POSTPROCESS_COMMAND, to warn/error when paths are owned by the same > > user/group as the user running bitbake. This is useful to catch stuff which is > > written outside of pseudo's control, for example. > > > > The following changes since commit c38acd720b3f6ffbeb544063692eb471dada8593: > > > > binconfig-disabled: write an message to stderr to help confused developers (2015-08-19 17:57:58 +0100) > > > > are available in the git repository at: > > > > git://github.com/kergoth/openembedded-core host-user-contaminated > > https://github.com/kergoth/openembedded-core/tree/host-user-contaminated > > > > Christopher Larson (3): > > insane.bbclass: handle tests which need fakeroot > > insane.bbclass: add host-user-contaminated test > > image.bbclass: add rootfs_check_host_user_contaminated > > On the autobuilder we found: > > http://errors.yoctoproject.org/Errors/Details/16318/ > > which looks like a race against the packaging code and the creation of > package manager files. Not sure why we don't see this in other cases... Also http://errors.yoctoproject.org/Errors/Details/16310/ which looks like the same issue (racing dpkg rather than opkg). Cheers, Richard