From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6548708150105604096 X-Received: by 2002:aa7:d40f:: with SMTP id z15-v6mr3358774edq.9.1527168865005; Thu, 24 May 2018 06:34:25 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:aa7:d281:: with SMTP id w1-v6ls12310463edq.5.gmail; Thu, 24 May 2018 06:34:24 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoUKpnmpq+j/4jcKqWznAweihvQxy9yAacuXd2mF1RcQevcHVesN1JNiRbjmJg2S7/KP2+o X-Received: by 2002:aa7:d40f:: with SMTP id z15-v6mr3358760edq.9.1527168864576; Thu, 24 May 2018 06:34:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527168864; cv=none; d=google.com; s=arc-20160816; b=CU7Ix51LTZrqUoohD5cIkrPf1ky3VFVYmuuLDuMtPDI32uCIx7mUqGtQ8yFZc1v8Rb h7zMu/6YtUOSFs74IG4O8dVH0Pyd+lfdEfE8oIzdRXF7dE7n5PPnuwVHwuXlVOKPhk/v hU06S5NS7A6/RHT3ikqSfDR7d4zFKysS5vbFXAmsiO2kVP3hfzGeR+mxjetUUF8ZftQA 2fjm8FoDY2F8wl9HG9WzQFQP5lkyvWiJPg65O9Xig3o8QUJ7qYrHxtmZ0p1sQbo3lLdj cZUMT21RbQOXeA95/i3DawPwtQANgzDhUBGcCLDVfS7MEIGRXQK3XeIpWSNho4Sj5kH8 KYbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:references:to:from:subject :arc-authentication-results; bh=2tptkLqLvIl1aXrn6Uj2fTEcgUh3nOOMJqKZ+2B+/N8=; b=sQ96MZWlYI4dU8+EEO+vFELgUIpQ3IWwdVkJPmAFsT4V1mvExwIOALeCGrKoo4Rinx CMpbQ2/guqAoeRcMnyFcPptyRZlS2nM8TRMkGj+O0xmPBxtJv8pRLYfZgAeBoqK6j0IQ Dkcvtm1cgUiSJefWfQE3QmRKCjN1IkwT0d0jAbRCBtxUTkipNEbAFJSYZkLgxzmmMaN3 2mOwD3LcqSTMewMvK2+K3/YHf64dBVSNi0axO1/UvvGim/0bzzyVAE1NZYviBFIuyzF/ rjX21+hUZub1ktcjkNKs25i2UlpMH7AWEmNmCLBiVrXfSk3b5G6MYkVlqpPw2tgeVob5 Gyxg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from gecko.sbs.de (gecko.sbs.de. [194.138.37.40]) by gmr-mx.google.com with ESMTPS id v28-v6si922891edd.1.2018.05.24.06.34.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 06:34:24 -0700 (PDT) Received-SPF: pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.40 as permitted sender) client-ip=194.138.37.40; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id w4ODYNUE017505 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 24 May 2018 15:34:23 +0200 Received: from [139.25.69.69] (linux-ses-ext02.ppmd.siemens.net [139.25.69.69]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id w4ODYNlN016143; Thu, 24 May 2018 15:34:23 +0200 Subject: Re: Overview over my outstanding patches From: Claudius Heine To: Alexander Smirnov , isar-users References: <988a13f4-5a03-0ca5-7b68-8b95d91fc222@ilbers.de> <1e1bc52c-05bc-2b75-ed50-b41b571cdbfb@siemens.com> Message-ID: Date: Thu, 24 May 2018 15:34:23 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <1e1bc52c-05bc-2b75-ed50-b41b571cdbfb@siemens.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-TUID: cyNgC+lNadjq Hi, On 2018-05-24 11:21, [ext] Claudius Heine wrote: > Hi Alex, > > On 2018-05-14 15:47, Alexander Smirnov wrote: >> Remaining: >> ========== >>   - meta-isar/isar-image-base: added removal of qemu-*-static binaries: >> >> Here is the question about case, when user wants to install >> qemu-user-static package to target rootfs. > > If the user wants to install qemu-user-static to the image, apt > overwrites the one already there and then the linux kernel complains > about infinite symlink since it wants to execute the new foreign > 'qemu-*-static' binary with the foreign 'qemu-*-static' binary on and on. > > Installing qemu-user-static is simply forbidden until qemu-debootstrap > changes the deployment path and binfmt settings to avoid this conflict. With Hennings help we further investigated this. The binfmt_misc flag 'F' would prevent this issue [1]. So installing qemu-user-static could be possible if that flag is used. I will prepare a patch that removes the qemu-*-static binaries only if that package is not installed. Claudius [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/admin-guide/binfmt-misc.rst?h=v4.16#n83 -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de