From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6487873763254730752 X-Received: by 10.80.222.130 with SMTP id c2mr3195802edl.8.1510577467697; Mon, 13 Nov 2017 04:51:07 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.80.170.121 with SMTP id p54ls13451576edc.7.gmail; Mon, 13 Nov 2017 04:51:07 -0800 (PST) X-Google-Smtp-Source: AGs4zMZILrC+1n+tK18+A7FRrd0kr8geRRwJ806AUDA9zlD03yqd6fsq1cPLMjJiUOE5M9BZ11Xt X-Received: by 10.80.167.162 with SMTP id i31mr3206785edc.9.1510577467221; Mon, 13 Nov 2017 04:51:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510577467; cv=none; d=google.com; s=arc-20160816; b=dsIPac+Dj23FJE8gOKtaZ9xrGQAbmfa8y+h3f4XVVH9s4H1WhxEo1AGKpGIWBTA7sZ /TztDx67uzxLq8mJ5v+Yoxk41kcA9Vts2XH+dbCiFbnKipeSLOZEkpPiOdN4rlJkTMag quyC8QwJw1BOtTHSolUNkcoeDNx5XIk++CoUC3mbeYgGISc0188r7tcpnFyN5v+xzo+J HD7unh+S5xnOfvwel5C2F/yrTa84HmnmRSCKfW/2MOuKKgLhske8nhj84yHFX/4ypCza 1dBoxAhEG6HgZd8ruzGgmft+oWM2zZszq+OIQkuK7fAUgcpOfs5rguWyL6QNfgo9zr9h KmiQ== 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:from:references:to:subject :arc-authentication-results; bh=t/V/u+qHr1s2SSFr3dv4TGmXNlyZaw6TBHNYOeVAEGk=; b=w/sCdCzx1TjIQx8Ua4vEF9SudNjWhRqcx/Z8woC2ykMVJwGsRfmS1UESMIwSNbLLrg 1RdZ9pEts4Eyvz3FLMFQRE68K/gdbQGp+PoGSBp23tuDoKz0Woot4IvZJun+Zqgnd7Ax XdlHWcykRgyy+pAK16+1fkYtMrkpY8ULp85D40LbObKvTMYRiIivj4Z3K49lgKvz6Sey rseo5wA5Ct79rKb1a5VJF+nLMJjL6OjUpaBdUi8I8BMFyPknLdrEoH9hWyKV16vMntoA TyEB3GQT1S3VNvdCRZrrVO+63eZBzn6ozsnCWhCznaK/ar1dttsJCwbv8fUmUSWxKlap t68A== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id h23si1641985ede.4.2017.11.13.04.51.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Nov 2017 04:51:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Received: from [10.0.2.15] ([188.227.110.165]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id vADCp3bJ005348 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Mon, 13 Nov 2017 13:51:06 +0100 Subject: Re: [PATCH] isar-image-base: fix some dangling mounts To: isar-users@googlegroups.com References: <20171113122239.19792-1-christian.storm@siemens.com> From: Alexander Smirnov Message-ID: <4c30798e-62b8-6252-25fb-f7e680213bec@ilbers.de> Date: Mon, 13 Nov 2017 15:50:58 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171113122239.19792-1-christian.storm@siemens.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: wFdLYQUnGkeP Hi, On 11/13/2017 03:22 PM, Christian Storm wrote: > As bitbake/lib/bb/build.py's shell_trap_code() injects > `set -e` into scripts, the premature end of scripts leaves > dangling mounts around. Fix these dangling mounts by hooking > into the EXIT trap handler also setup by shell_trap_code(). Could you please specify which mounts are dangling and how you reproduce this? Alex