Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-transfer-encoding:content-language:content-type :content-type:mime-version:date:date:message-id:subject:subject :from:from:received; s=mail20150812; t=1540853284; bh=kzyjivWjYf 7Ank8VVS9htYb5DuACyvp3rWdApcHGNeg=; b=wV640e8ZeHgmTc92sradifR08c xrHzGta1xw7hffNM3dwhE3gSxlHZMAwWDtNQVNHqm0bmQzsxhO+IyGWeNUvVLPAy kv5ScXlDP3+1iHcc4b7d9kzR+Bv1ECHTaSrNWTO/gSwwVoOg9Th2WWEQK7PQmfbH JmNrY2og+Q5WalwV7P+Etz+LQBBAHp0bg1tGGnxmiq3/UdEMFJPhjwtUmeNXAvAr vDvVemOLcsRTUXKJ4J3lfvZH+rUOOe22RhvcUTG6KyoctTJqKUPoY/MXnPSPB140 XWApsxERklEvUfPIE+VCl9kWHCAYMQMSVpuT1yFkWZE2gf4TIU3o9jC696wg== From: Georg Piewald Message-ID: Date: Mon, 29 Oct 2018 23:48:03 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: [Fuego] Dockerfile problem: cannot add group List-Id: Mailing list for the Fuego test framework List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: fuego@lists.linuxfoundation.org Hi Tim, Because I just read that you plan a release this week, I thought I better report this problem right away. In the Dockerfile, there's an issue with this command: RUN groupadd -g ${gid} ${group} \ [...] In several Linux distros the the primary group of each user is "users", with GID 100. In this case, ${gid} in the above command will be 100 (which is passed through docker-build-image.sh). However, in Debian Jessie, which is the guest OS in the container, exactly this group with GID 100 already exists. Thus the above command fails and the container won't be created. My solution was to first check if a group with this GID already exists, and only create it if it doesn't: RUN getent group ${gid} > /dev/null || groupadd -g ${gid} ${group}; \ [...] You might prefer any other solution, but it should fixed anyhow, because it's a quite annoying problem to newbies. BR, Georg