From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bastet.se.axis.com (bastet.se.axis.com [195.60.68.11]) by mail.openembedded.org (Postfix) with ESMTP id 7851A6FF78 for ; Tue, 12 Apr 2016 13:04:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by bastet.se.axis.com (Postfix) with ESMTP id 7424A18109 for ; Tue, 12 Apr 2016 15:04:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at bastet.se.axis.com Received: from bastet.se.axis.com ([IPv6:::ffff:127.0.0.1]) by localhost (bastet.se.axis.com [::ffff:127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1cQ2u7bTAwg5 for ; Tue, 12 Apr 2016 15:04:21 +0200 (CEST) Received: from boulder.se.axis.com (boulder.se.axis.com [10.0.2.104]) by bastet.se.axis.com (Postfix) with ESMTP id D3E831806C for ; Tue, 12 Apr 2016 15:04:21 +0200 (CEST) Received: from boulder.se.axis.com (localhost [127.0.0.1]) by postfix.imss71 (Postfix) with ESMTP id B657E1523 for ; Tue, 12 Apr 2016 15:04:21 +0200 (CEST) Received: from seth.se.axis.com (seth.se.axis.com [10.0.2.172]) by boulder.se.axis.com (Postfix) with ESMTP id AB853151B for ; Tue, 12 Apr 2016 15:04:21 +0200 (CEST) Received: from saur-2.se.axis.com (saur-2.se.axis.com [10.92.3.2]) by seth.se.axis.com (Postfix) with ESMTP id A9E05103B for ; Tue, 12 Apr 2016 15:04:21 +0200 (CEST) Received: from saur-2.se.axis.com (localhost [127.0.0.1]) by saur-2.se.axis.com (8.14.5/8.14.5) with ESMTP id u3CD4L0O031822 for ; Tue, 12 Apr 2016 15:04:21 +0200 Received: (from pkj@localhost) by saur-2.se.axis.com (8.14.5/8.14.5/Submit) id u3CD4Lun031790 for openembedded-core@lists.openembedded.org; Tue, 12 Apr 2016 15:04:21 +0200 From: Peter Kjellerstedt To: openembedded-core@lists.openembedded.org Date: Tue, 12 Apr 2016 15:04:19 +0200 Message-Id: X-Mailer: git-send-email 2.1.0 Subject: [PATCH 0/1] Revert cleaning of users/groups 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, 12 Apr 2016 13:04:25 -0000 About a week ago the "solution" to https://bugzilla.yoctoproject.org/show_bug.cgi?id=9262 was accepted into OE-Core. This is supposed to solve the problem that users/groups are not removed from the sysroot when the recipe is cleansstated. The solution, however, totally fails to handle the case where multiple recipes have installed the same user/group causing the build to fail all over the place. We have a lot of recipes that installs users and groups, many of which are created by multiple recipes. An example of how this change broke for us: Recipe libwsd creates the wsd group. Recipe wsd creates the wsd group and the wsd user which has the wsd group as it primary group. When the libwsd recipe needs to be rebuilt the following error occurs: groupdel: cannot remove the primary group of user 'wsd' and the build aborts. If a solution like this is supposed to be implemented it needs to keep track of all recipes that install a particular user/group and only when all of them have been removed can the user/group be removed. Until that has been solved, the current solution needs to be reverted... //Peter The following changes since commit 5602f64ab8c3654737273c0e7ac1c966fa8afb6a: archiver: Fix ASSUME_PROVIDED issues (2016-04-11 09:03:58 +0100) are available in the git repository at: git://git.yoctoproject.org/poky-contrib pkj/clean_users http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=pkj/clean_users Peter Kjellerstedt (1): Revert "useradd.bbclass: remove user/group created by the package in clean* task" meta/classes/sstate.bbclass | 5 ----- meta/classes/useradd.bbclass | 29 ----------------------------- 2 files changed, 34 deletions(-) -- 2.1.0