From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 04 Oct 2024 10:00:50 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-oo1-f58.google.com (mail-oo1-f58.google.com [209.85.161.58]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 49480kQT029496 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 4 Oct 2024 10:00:47 +0200 Received: by mail-oo1-f58.google.com with SMTP id 006d021491bc7-5e7c40d04c6sf157038eaf.3 for ; Fri, 04 Oct 2024 01:00:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1728028840; cv=pass; d=google.com; s=arc-20240605; b=EWKOgcP1U2rR0uofQCm6BBGjLAf5PibiOAldTmbA1KnnHrv7CKVcEjXie2nQ301y8l Ct88tjXpvqkbnti0wyqskg5eVQ4QKM6NQmxrQv2j+CnM1g5jITh3jnm4/fFHqnaQYU37 BNrtVXs4vFRHhnX/y7TooSeGk/2eOmGOxmm+3T61aAYzesAuGhNJxSJXrC5Dh6Z8AaM/ 77NizFtJUoewSX4iOn3+N9ojW1LVikinKUxEqtCzxRcqP5N6eN7Xbwu9hxmzX48OiJAI 6gXYI63FTmooMzxMPyRoACovAkMC3C1Xzl0S31D1Jvku7D4iJuYxsy4CvyPBKlzZTkHl rxng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:user-agent:autocrypt :references:in-reply-to:date:to:from:subject:message-id:sender :dkim-signature; bh=z3EYwQr/MKLus27uTsIIKHDq0RHKqgSGMfabTQ8gmY0=; fh=1S1Gqb4FdwAWHUiUak01JpvGizw3EQpElhQ8Z9p/X4Y=; b=T45sE7yM8OVdwpkrgQRvNf/PHz1i2zzQtivqtiI8/+Lh3VeRHk7w9pFE4f5OxBtUFi syfHZFs/ZqR2cKNM53NYGi+M6igNHmCYWjvctj2fp4zi5uak4wf4oFJzkNHaqOD2D7s4 K82jFNUqNISOQAzqie6PU0m6YlhA+rzDGaHcjFVfDRmL8UmNQEFksyY4pSAdMHeolQLJ uUSxKGglJVotQDOL785MSeUvADHNAdH9+LKEJdeUQ7/RnB/g8zRYxFvCBpX2R2OuBvWv wd7eancwYL1oXR3QNLKxyGTk1BNxOeekJKC75X+8ahXGPJjoX3oYj5dhMsD2Jb5RKCC3 bOIQ==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1728028840; x=1728633640; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:user-agent:autocrypt:references :in-reply-to:date:to:from:subject:message-id:sender:from:to:cc :subject:date:message-id:reply-to; bh=z3EYwQr/MKLus27uTsIIKHDq0RHKqgSGMfabTQ8gmY0=; b=kZozrSpY9BhFP16ndXeD26ozhqWYICB9CgxUtJCbxmcQ6uy+iF7Cm70sh23d3nbOkf OuVtY5pL9bpqoTJfEIh+SuyYe4FmG1WpbHxUwTtA255DM1M6YD4pk1aix3MmJ4DkquUY EbtJEKgrKISJ+LtclzRZT7xkaX3CI5AfPsJt3PRdDxwxva9VAE7ioVskBh/+aw2jrSok pGjc5Jv0fdcDLZGyHdo449u9FWvgYqoSgHln+LPxrx9P/yUBefrVIYEYL6IzyPUiyNt1 Pap78+Z0Zv45oluaKpwn+wKl2BdAwSHtiZtSqNK6yi5ggXzL7KgfBhnzFg+RTsT7pLGb fzoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728028840; x=1728633640; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :user-agent:autocrypt:references:in-reply-to:date:to:from:subject :message-id:x-beenthere:x-gm-message-state:sender:from:to:cc:subject :date:message-id:reply-to; bh=z3EYwQr/MKLus27uTsIIKHDq0RHKqgSGMfabTQ8gmY0=; b=XmzynAZ09Ojb+b3EBgMwmakBQF7UnLS3e6gSeJmnII4e2aRrNDRNmQmbBx8XKIYaEl 4OHvRpHUV4M8s4pXQi5tptyI/Wi9ztf3KitUoj34NIltRqKVDz5JrVTueLhIAi/1g7qN FPUQIg78tqBwPfefeaNuOKdGhfray4cxmhIbR8CowsoC3/mZLFDnVwotNzXGSlmOIi7f a83/Kf2Dnjzv5taFDx7nHegomVqGIl0qV3FnEQ2H3FYVd688dD+sY8qD62h199VKs01m vg4SB71b9catF+BefO1e9HkFX/SzBriWU4Ehmb4/MFFNLx9h52YH3bx5l7FwWLhbfelQ BlCg== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCX2sry/CHKSRVblCAsO9uf+F05JqO7YY/UQ06zAn2kLCyPVewTRAsV6Yu1JjKq9cznAfzBO@ilbers.de X-Gm-Message-State: AOJu0Ywiw1X5miRyBQ0H78Si4QVbuKfFYRbW5lQpFBlx+lY3rI92KiSP S700CD5SVdeytvyX8fvLkxiZsIcR2Xa6+qDvyZBISi9k07rqoTn4 X-Google-Smtp-Source: AGHT+IEzlxK/jHpKwrHlnVauzoK0kp0p0DJ/IYztaA5CSPqcCk2Si2IOerCdzxaDZ4G4CN94sVKC6w== X-Received: by 2002:a05:6870:1603:b0:278:35b:e9ef with SMTP id 586e51a60fabf-287c200bafbmr408184fac.10.1728028840247; Fri, 04 Oct 2024 01:00:40 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6870:d3ca:b0:277:de3a:8aab with SMTP id 586e51a60fabf-287a49e2e9als1150891fac.2.-pod-prod-04-us; Fri, 04 Oct 2024 01:00:39 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWpaLTTSjzx4OxquwqqZHRC09UZLIbFyLEj4z01cvdlonKTF9BjmyW05GTJS+EjX3t1SNytwheXnxfW@googlegroups.com X-Received: by 2002:a05:6870:1608:b0:26f:ddfa:3564 with SMTP id 586e51a60fabf-287c1d3e18fmr1233160fac.6.1728028839121; Fri, 04 Oct 2024 01:00:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1728028839; cv=none; d=google.com; s=arc-20240605; b=YYVwgF7+3TTgoZKMS/salPTS23ARQigB09cdm32oP83KVhrGvujVOfr22Tdr3cYzvo U/8eunPq21+4zRwdahi9xndA4wr0dONiAP+0jgOEyjwiwaH68Yb5cnmXvoe7fcQrkaSr sTo12k6rW+5pN72BBFP9EkRat16GmONNis0HlwIkI1S+Qc6EGyMlqdj17qQElKydM5ds qSU//ryHfK8qnTC2EEORnxoQFt7kU5K0/4+ybMs5YC7U8YEYZDfAbg//qLUwE2lKjsXQ P2uhRQnPKeN5zjYYebU40K7GrdiLIpM/r2kU5DTMeNEY07XIfdqLEbrbmcdOnwSBndt0 O2Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:to:from:subject:message-id; bh=poyPuGLyyAAnl9YW3PdeVDRORGK9q1trHJ6Ij+jcd/I=; fh=L1M7uymPDHHSfDrLA4PbzVa595U+Yngefsdi4HN69Qc=; b=BzD9WryimI5vwkDORYlpSW0rr72+LGp4cynPee5ndeaSzC034N6EUXRQ1nqDuN4Wyc FCSadDPblaSOmuMSTXzmeWirFUbEaoCGgGdfkR3kRKqPCYJxYXIEO7Lwv6pSJ22jXqjv wZSJ2yjC7flGtjdpl/SUCEwiFt5nGzoGufd9ynTiWgoD3vLGNbdxL7UutcMAZ0DDC5ET 9B04a6CJdeVmIi8R8jmhXDtoAmjQfQe6QpVxmTImfWDq3QMl5/I4FBvrYA/b0eVB6TGK ZWuIBaTj7EzXDJpZFr/lpg++dM4ScItphyjc7/NE2WFI9Xxq4rQFLDNpJSMepBOmFIgB GbOw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id af79cd13be357-7ae6a07a7fasi11384685a.0.2024.10.04.01.00.38 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Oct 2024 01:00:38 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [IPv6:::1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 49480YqD029490 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 4 Oct 2024 10:00:36 +0200 Message-ID: <0fb46eeddf91578871a624d51c76e79958760a24.camel@ilbers.de> Subject: Re: [PATCH] meta: Drop lazy and recursive unmounts From: Uladzimir Bely To: Florian Bezdeka , isar-users@googlegroups.com, Anton Mikanovich , Jan Kiszka Date: Fri, 04 Oct 2024 11:00:34 +0300 In-Reply-To: <143d65f425959b3510c96ae08f20791ea46655d5.camel@siemens.com> References: <20240619104126.105252-1-amikan@ilbers.de> <9ecb2ac7-9abd-4782-8498-7c5216fc99ca@ilbers.de> <8086840c9b7bcf8dbcd6d3141d493c87f9e6d5c8.camel@siemens.com> <143d65f425959b3510c96ae08f20791ea46655d5.camel@siemens.com> Autocrypt: addr=ubely@ilbers.de; prefer-encrypt=mutual; keydata=mQENBGO2eUkBCACtT+T3OrPVSExBmqfgXT3lp9XcdxRzjYp26wezkgYjjBXaf36bxtaAf S471VoQtpar0RVeFfW7WDDdfX9ZclSj36zBQe+RVSJzoNoNQfjOXWuSHb5Z+cpAFtqBY4muxK4+ia IlLJd6CN3ejOsLHATtCeHHq8wi0z2T+KdLQO+wQRgo2hjj0Lp9pGTrKJry50HP/o7Vbdu14dOx2xq r8+wPc6SQbBIrcqaa4MqCQC00vQG7eXvo+k2MOw59FDdpMH0KR9mHgp3u/s4I+4YRBArukt9G9xz/ rsEFmxAIBC6N/a6Hzwg4puc91n7ABDsPg8Vp+X3MDraujN0dvR6OKVNtABEBAAG0IFVsYWR6aW1pc iBCZWx5IDx1YmVseUBpbGJlcnMuZGU+iQFOBBMBCAA4FiEEJqPNVhVGyk12Eh+PAUQYBM/2FkoFAm O2eUkCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQAUQYBM/2FkprlAgAmuna8Hm9EyoEtTl DBGDg6Zm4ZLp5ffvZBE946h92jepDrteoxsJ7pSzJVC2HmDLa4iZUao7lLLbDsUj5x45/iLJcqBZK k3YnAxP2r6a+kI+1VVQY1pxdG1nlJAbdNzoojm/qmezNPSrqni61KVMQKsXBCWhIjSXDSM9CsBj21 a+9qaVqfxovJGTn9lgrZO+xzKQNMKZeOouJlscVuFj21P0ww3/YENiU/nMeTSuYypO76mDtAd08Jo nc3yuHa9MJGei5ixN3wT+IrGR2aL2hdw2M6NgH7sYbL2Zi4ugD6RXHJai1Bh2yvFSVqSQ+M6QOInT 4ud7wslm1XRB065dXtA== Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.54.0 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-Original-Sender: ubely@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: wgkaRnuxhzI0 On Fri, 2024-10-04 at 09:28 +0200, 'Florian Bezdeka' via isar-users wrote: > On Thu, 2024-10-03 at 16:37 +0200, Baurzhan Ismagulov wrote: > > Hello Florian, > > > > On 2024-10-01 13:59, Florian Bezdeka wrote: > > > I scanned the logs and searched for /dev mounts. Typical example: > > > > > > tmp/work/debian-bookworm-amd64/isar-exclude-docs/0.2.2- > > > r0/temp/log.do_dpkg_build.18089 > > > 521:devpts on /dev/pts type devpts > > > (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666) > > > 522:tmpfs on /dev/shm type tmpfs (rw,relatime,inode64) > > > > We'll address the patches with priority. Could you please provide > > 1. the output > > of bitbake ... 2>&1 |tee bitbake.txt and 2. the related failed task > > log.do_build? Off-list if sensitive. > > I already sent patches for fixing this issue. There is no failed > task. > rootfs::do_rootfs_postprocess and rootfs::do_rootfs_install both call > rootfs::rootfs_do_mounts but never clean up. > > In case the mounts are left behind I will run into "can not umount, > device still active" later. > > > > > > > > At the end I still have one active /dev mount: > > > tmpfs on /builds/myproject/build/tmp/work/debian-bookworm- > > > amd64/sbuild-chroot-target/1.0-r0/rootfs/dev type tmpfs > > > (rw,nosuid,size=65536k,mode=755,inode64) > > > > Thanks for the info, this looks like an sbuild migration bug. > > Checking. > > Reviewing patches should do it... > Hello all. I've checked this case and we are really have this mount left. It's not related to sbuild (e.g., building packages) but to producing sbuild- chroot itself. E.g., entering kas shell and running "bitbake sbuild-chroot-target" always results in "/dev" mount left in sbuild-chroot workdir rootfs. For "image" targets we have umount routiness in image.bbclass. For initramfs, we now have Jan's patches. But I guess that "[PATCH 0/2] Fix leftover mounts in rootfs.bbclass" patchset should itself cover all cases. And we might not even need special handling in image.bbclass and initramfs.bbclass. Probably, only the case when an error happens before rootf_postprocess (e.g., in image_install) may lead to some mounts left. > > > > > > With kind regards, > > Baurzhan > -- Best regards, Uladzimir. -- You received this message because you are subscribed to the Google Groups "isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/0fb46eeddf91578871a624d51c76e79958760a24.camel%40ilbers.de.