From patchwork Wed Oct 2 20:31:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Bezdeka X-Patchwork-Id: 216 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Wed, 02 Oct 2024 22:32:27 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-qv1-f63.google.com (mail-qv1-f63.google.com [209.85.219.63]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 492KWQiN020786 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 2 Oct 2024 22:32:27 +0200 Received: by mail-qv1-f63.google.com with SMTP id 6a1803df08f44-6cb4619a542sf3668486d6.0 for ; Wed, 02 Oct 2024 13:32:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1727901140; cv=pass; d=google.com; s=arc-20240605; b=gq18kE8TtyxPPKb9TOd/K5ZKmSUOI5g1M9lYfL24K/6OHy17DToDxG2/ALzq2WUYvW iRFfpDFsfa8mjRytwgw3N270fulG9Ift06dCXF5PooHy3GdDaXS3Uo1ey7eVOflSJg5m 09bUpWhQPaPi0vjY0RuSXDEGFEBaulF7yT2vHrtpLVmJN/DPzvN+S3GeOMFQSDWlaO18 Ugak92Bz2xbCdcKQ2y4jxOlZoHS/413uLdRE8idTYQ+1ZJFKglkJscYN5byFnEndKdli obFSQkGwoPHnxmKG+KMaPQ+UZwP7F0WKo2dU7RHJIFzqefjXoR/h/XWyu/BsGjDVv4j8 YJlA== 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:reply-to:feedback-id:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=EsOE90Cjtx7vnFpT75ZrpfaIM6HPz1aJTSe7xOeimJ0=; fh=DxLwINigiQV0VPUAM9WUdwl2HaFeJCekmyKMRFDsVFI=; b=cr4W/nhGoibhkl4WNy0XFb/DrdXUkWTtIG0HEN39WzTi6PwCkkhp+EfCTEEmLGtjlM WzMX89lesOkOJGUtj16XKeMXt8Cv5HNCjm1werTOYC0d30Vz7kAZYmCHVUZw9ej/ZYs/ Z1AzWU/u5F9LgKlG7qXlsMw1G77cn95lab1k6jHA/26kDNSAtLDNx/j0SXyd2lFG+C/Q qEW1fJq3QL9iaKxSR8YiiebZqwx2P8r4WbyIcmsh/Ca0SfvBXfY8o5rtPMZw3A4atcqy APuCCDXgOouX+dI65VRpgydyEhCWV2OI0L2MgDaFRiPtLYvTqq18irzVYp6RD/+1ZKCU l3qw==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=pAAjr6ln; spf=pass (google.com: domain of fm-68982-20241002203217e7f59baf930fb56664-vb6ai6@rts-flowmailer.siemens.com designates 185.136.64.227 as permitted sender) smtp.mailfrom=fm-68982-20241002203217e7f59baf930fb56664-VB6AI6@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1727901140; x=1728505940; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=EsOE90Cjtx7vnFpT75ZrpfaIM6HPz1aJTSe7xOeimJ0=; b=kxS7bdjw7q4Ld+S0ynKyGFbbD7JaV+7Pprs24KfcUqPdsdvjB9Uq4eAkGucBCg0mlo 3du2EYnelP+JE/oejs7LNGBU0Q457Tm488b25BA9cOw8fOEo5hd2fAKMS7zvC+aPQeFl wN8YbaQGpXTj0vMrRLuiLh/shUDF1KX1fWvfb3LbDVcCeofvOrLLAu+h3wPXBfgn482s ATT6qLZ3x4DPltBrVHyVVdiOCPQ1xB91fpheid0YaGk0Lg0Fv/7+beYNUEP27qdgwbod +C67AuLEYjtK4+6HgPOkw15h/0gRh9PSvna8csY2t7KiBYgwnuusJECT0oJlOtm1Lvhi E/vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727901140; x=1728505940; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:message-id:date:subject:cc:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EsOE90Cjtx7vnFpT75ZrpfaIM6HPz1aJTSe7xOeimJ0=; b=G/7AqVLP6nXVz6/8Wu2j0j244qmUWxOW2mREMKMq70NgBoea1FPbiKAh0JTKryT4Cs KqksTulwcbmfg0MqjvCquz8iyRxDOu+0rRe3EgK2Oozrg+MIWfWvRkUDhLfalQFKu1oR Ls+P4gSYClVXP/kXOEj22eTep4u/l7kOnCEf9HjCbgkYFHzINc/W6Hu1XE0KrGdE/W22 NZl7+xynNF/lLr8ujs1oWJ8LURZIN/2U2RVxzgSu65DqmwNwgSrs51hTbPMcgIcThBQ1 9DfYTnrY3n5iMr9JuKbDdhzy5Kl6fMFYYV2OkkeysAjmv0v47ZPZMQSr1+o4WeUVAg+s ovXA== X-Forwarded-Encrypted: i=2; AJvYcCWSRf/AT5T57fsDtStNrSgDU5NSnVaM+bv9+/RplrDUb7PImniz9EH3KxERY4RH0GSM/bgMQ2w=@isar-build.org X-Gm-Message-State: AOJu0YzibkMtgCmYHIedKfQOX75ZpH4l/yXuNj15v/3EM7dc6tSGKAiY GIboyriQUQ3sY52cRwwnjU+YGs7yY4X6LMXcrT3E/UvP9K2YOs0s X-Google-Smtp-Source: AGHT+IHsUxH2PJi2YDCynEJgMX19VaU4yZgnYm6L64/axiFX6lawswtKItiXkepgfWyQLzkmtWGXpg== X-Received: by 2002:a05:6214:5d8e:b0:6cb:72b0:7232 with SMTP id 6a1803df08f44-6cb81a511d5mr60052356d6.29.1727901140192; Wed, 02 Oct 2024 13:32:20 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6214:2249:b0:6c5:1ba8:6e52 with SMTP id 6a1803df08f44-6cb90132273ls4041326d6.1.-pod-prod-06-us; Wed, 02 Oct 2024 13:32:19 -0700 (PDT) X-Received: by 2002:a05:6122:130e:b0:509:e5b5:d133 with SMTP id 71dfb90a1353d-50c5818ce2emr3812080e0c.6.1727901139544; Wed, 02 Oct 2024 13:32:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727901139; cv=none; d=google.com; s=arc-20240605; b=Xs+A8RMqC+GSOz/Z2g0sWPHTU676r5m7hwgt537oDS4lJeH5f8zbq4BT+YWNnoruO1 ihAWou5KLRb3RF4fiAT5rJRiIQtNIbZD3HToyngBf6GFUdqZG/BzoIbPEgV5CoZoRxyy PkZ7Vm9H7hNltQPOgoK1bBR1NFY/9Cfq2qrgCoxWhHyywQchpLgpsnPBvsCdK/JiAU01 GpbzOLQzHpzuBxUjwFL50w8kyrEk/0uPBttRwKzYZrEDHCaNhUj1pJY8MNmCqeZ+YsBl qRJQ3t7m4yN//u5GVXcz9KMTlCfRDBIauoCEHb7ZhOEFyIsYDx2s32xwm013qvAu4GR8 xibw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=feedback-id:content-transfer-encoding:mime-version:message-id:date :subject:cc:to:from:dkim-signature; bh=ewB2fp0FAtz077JEtq4K4DBxo18lmmLJwV+EbKoTtwk=; fh=AOxqZKp50plTW09d0gc4CvjyiY0GFPA4UHtRoJ6Mjrs=; b=dcdZXWpNTkKHgZZGjg4Wz2pqwqgv6dNTF187hDK9U04ZCjdfQwzlBiAHoDvyptO5hW 3FydBKB/zUshFa6PpaQt5K3LyJS5LKKJQommbb445wUHLugjwNVeuo9xLtnjNrVbnRCm uzo2scHoi6aW2ius5dSloY4BTi0Hryb2PksDnOs+Kldh/ig8CKNb7/0NnXgG+HRwWKMu RbTGTm1d9RtnIuAAiKaXBdmAOg43A659xmwBsMMBT3Ib1Kv7nwlZ1DP2rGmT38it5EYl GtyP6RDuv05vbzdr1jGLDDAbILTa8IHHda6lmik0cSoSNAm/onR2gofd+LaH15D131jk KqAw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=pAAjr6ln; spf=pass (google.com: domain of fm-68982-20241002203217e7f59baf930fb56664-vb6ai6@rts-flowmailer.siemens.com designates 185.136.64.227 as permitted sender) smtp.mailfrom=fm-68982-20241002203217e7f59baf930fb56664-VB6AI6@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-64-227.siemens.flowmailer.net (mta-64-227.siemens.flowmailer.net. [185.136.64.227]) by gmr-mx.google.com with ESMTPS id 71dfb90a1353d-50791f881d8si526918e0c.5.2024.10.02.13.32.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Oct 2024 13:32:19 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-68982-20241002203217e7f59baf930fb56664-vb6ai6@rts-flowmailer.siemens.com designates 185.136.64.227 as permitted sender) client-ip=185.136.64.227; Received: by mta-64-227.siemens.flowmailer.net with ESMTPSA id 20241002203217e7f59baf930fb56664 for ; Wed, 02 Oct 2024 22:32:17 +0200 X-Patchwork-Original-From: "'Florian Bezdeka' via isar-users" From: Florian Bezdeka To: isar-users@googlegroups.com Cc: Florian Bezdeka , Jan Kiszka , Felix Moessbauer Subject: [PATCH 0/2] Fix leftover mounts in rootfs.bbclass Date: Wed, 2 Oct 2024 22:31:54 +0200 Message-Id: <20241002203156.149572-1-florian.bezdeka@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-68982:519-21489:flowmailer X-Original-Sender: florian.bezdeka@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=pAAjr6ln; spf=pass (google.com: domain of fm-68982-20241002203217e7f59baf930fb56664-vb6ai6@rts-flowmailer.siemens.com designates 185.136.64.227 as permitted sender) smtp.mailfrom=fm-68982-20241002203217e7f59baf930fb56664-VB6AI6@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Florian Bezdeka Reply-To: Florian Bezdeka 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-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= Hi all, this is a follow up of the umount fixes provided by Jan earlier this week. This series depends on the series sent by Jan to be appied first. See [1] for details. In my case there were mount points in build/tmp/work/debian-bookworm-amd64/sbuild-chroot-target/1.0-r0/rootfs/dev left after the build completed successfully. We have some cleanup handlers that should detect and report such issues. It turned out that for some reason the warnings were silenced by using bb.debug(), which is disabled by default. Best regards, Florian [1] https://lists.isar-build.org/isar-users/1646de44-c244-43b3-ad57-b3bf702608b0@siemens.com/ Cc: Jan Kiszka Cc: Felix Moessbauer Florian Bezdeka (2): rootfs: Add missing umounts in rootfs_postprocess() and rootfs_install() Revert "events: Do not warn on left mounts by default" meta/classes/isar-events.bbclass | 2 +- meta/classes/rootfs.bbclass | 31 +++++++++++++++++++------------ 2 files changed, 20 insertions(+), 13 deletions(-)