From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6659376390151864320 X-Received: by 2002:a17:906:1589:: with SMTP id k9mr1738437ejd.5.1551090850726; Mon, 25 Feb 2019 02:34:10 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:906:3645:: with SMTP id r5ls2452737ejb.4.gmail; Mon, 25 Feb 2019 02:34:09 -0800 (PST) X-Google-Smtp-Source: AHgI3IZe92DgLrCPZPL46nKvfPqi6usfKqlEn1ZqMsjPSH/T3dQmGzNMhjeD2paKYh1GDmpjh6hI X-Received: by 2002:a17:906:6dce:: with SMTP id j14mr1733495ejt.4.1551090849966; Mon, 25 Feb 2019 02:34:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551090849; cv=none; d=google.com; s=arc-20160816; b=AIlNp5D9hTLWasZhbwmr7812wGY02yiusoSJAZoGoVwysZAu4szMDrpHlo96j593vv 8eYObW0MvkcR30AzT/qfWOq8meN4K4RiNL/qovG+rpN0i5WM0s9DzSkQwdklnleTRiM8 xW+naJlIDjDpM0o0LWGt6UUeFx2ydPAuXeJSRPHaeWBmPwIXasGZinUR3q+93Rhi6lOe mdssxUA1LMhSuHElc4XXGGgwiax9kKFrkka0kyzj9xDDe7gTMNmd7WAlYxRDUA+JjMwq SDx6WrmKxVqus2SgbAbC+Qz+IiXaQ8gUaspmopAMb4RQ85NC/+Xt9FyCmrbWrj5M6jsC KV2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date; bh=uAtPkAKMdGF0+2A4zg3pMHM4efyTAgyQodcl5C4ZFME=; b=AjVINP4jFmgbEORl2gW4c/HNZ7Xd7us5xwR8AQWlfxba5rbUoGu3X2QYhDanmAJQsN qCU7ujYMcn6/S+3Qdg2P/FXPIf8IoKbcOezDYZkbBFgyj9KlFNikTlzXADpfluvhih5U DwuD9zKtdKE6ycMT8WG81f6qJbVvUYmQjlHOTEpe03/7Ii71pLh6ZrEVpxMi70YfyKTq VnPw9pxrA2tePIyFbJW9cpMCZMnqxO2e6VYzegHAbaygyOCgj5zOEqkNohfw4gfL5rgV XfYzvVgqMMSqyaDhF89ujRK/b6eRLXQowqcqiZI3uIsPAL9KCJcGlNyVUg0ciBac5NF7 QEMg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id q1si411163edd.5.2019.02.25.02.34.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Feb 2019 02:34:09 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id x1PAY9ZP024665 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 25 Feb 2019 11:34:09 +0100 Received: from md1za8fc.ad001.siemens.net ([139.25.68.188]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id x1PAY6gx017306; Mon, 25 Feb 2019 11:34:06 +0100 Date: Mon, 25 Feb 2019 11:34:06 +0100 From: Henning Schild To: "[ext] Adler, Michael" Cc: "isar-users@googlegroups.com" , "claudius.heine.ext@siemens.com" , Claudius Heine Subject: Re: [PATCH] added 'isar-cfg-userpw' package Message-ID: <20190225113406.373e0ae9@md1za8fc.ad001.siemens.net> In-Reply-To: <20190225101852.6m6uqbaq24upaovp@demogorgon> References: <20190218162113.8538-1-claudius.heine.ext@siemens.com> <20190225101852.6m6uqbaq24upaovp@demogorgon> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: Dcwlcmso1PKc Hi, this is not related to the package. But to any package that goes through common.sh and checks the ids. https://groups.google.com/forum/#!searchin/isar-users/Align$20UID$20and$20GID$20%7Csort:date/isar-users/S5W8D3X4Lkg/n7HbASWnAwAJ The result of this discussion was that we probably need to align the ids and hope we never get in trouble with the host. In this case we do! The alignment should be changed. If the group does exist (100) join the user and do not try and create a group. The check should be changed to make sure the gid is the main group gid, instead of 1000. Henning Am Mon, 25 Feb 2019 10:18:52 +0000 schrieb "[ext] Adler, Michael" : > Just a heads-up, I'm having some issues with this package: > > ==============================SNIP > START======================================= NOTE: Executing RunQueue > Tasks ERROR: mc:qemuamd64-stretch:isar-cfg-rootpw-1.0-r0 do_build: > Function failed: do_build (log file is located > at /work/build/tmp/work/debian-stretch-amd64/isar-cfg-rootpw-1.0-r0/temp/log.do_build.179) > ERROR: Logfile of failure stored > in: /work/build/tmp/work/debian-stretch-amd64/isar-cfg-rootpw-1.0-r0/temp/log.do_build.179 > Log data follows: | DEBUG: Executing shell function do_build | This > script can only be run as root:root or builder:builder! | (Currently > running as builder(1000):users(100)) | WARNING: exit code 1 from a > shell command. | ERROR: Function failed: do_build (log file is > located > at /work/build/tmp/work/debian-stretch-amd64/isar-cfg-rootpw-1.0-r0/temp/log.do_build.179) > ERROR: Task > (multiconfig:qemuamd64-stretch:/work/isar/meta/recipes-support/isar-cfg-rootpw/isar-cfg-rootpw.bb:do_build) > failed with exit code '1' ==============================SNIP END > ======================================= > > My setup: > > - NixOS (most notably: uid=1000, gid=100, uid != gid) > - Isar runs inside a Docker image (kasproject/kas-isar) > > However I could imagine that this also breaks in native mode as soon > as uid != gid (though I will not attempt to run Isar natively). Any > ideas? > > Kind regards, > Michael >