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; Thu, 03 Oct 2024 18:15:16 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-ot1-f59.google.com (mail-ot1-f59.google.com [209.85.210.59]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 493GFEbZ025671 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 3 Oct 2024 18:15:15 +0200 Received: by mail-ot1-f59.google.com with SMTP id 46e09a7af769-7110a850735sf899086a34.3 for ; Thu, 03 Oct 2024 09:15:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1727972109; cv=pass; d=google.com; s=arc-20240605; b=Weq3cG2IyuKdLEdVh0gKnz7zMsAv/Cnj8W3ASkGHv+Vmc6FS84DOcmVAbLnXC7wMeL zmECdDqA8lrFo8FHx0G0O6jxCoPa0Socdlx5kAp+cbOobqodYHW2PVjk6bIyGwakyZDe +Eq1Yz7LXvCALEsgn9/TKLjVLOOoojVQW5edtHmmTq5iHGt4LllT1JXzri03O8ajNxnP NY6Tkt11M+qooGgo63jgiGbzbmw4YzfqWlnnsdIaq9668fkEVIrwfT7dfCab0C7phNDb e8pqePfzJegWzllKhsS/oGwUNTNz05Cwzq48/ebKQD8qO8R2ywQvsu1j+o4j9DLkgIBV x/iA== 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:in-reply-to:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date:sender:dkim-signature; bh=0PU6yGXwyWjC+iQ8VFmhM4E1tWF1TyYXRjg1RGMIzEc=; fh=YYCO57y8/TD6FlJp/orE8Jk17kLlkvE3KKOXrJJvOxo=; b=hrGafnLFJWpcEb9PwAxX6ww39MoR5IS/JeK79L804Sg7EK5eS+f3DJni3ydIYDNMA6 AVMvRkQhi6kWadvcSZOWiNBFf3PzVlQHpNDEGuS1ggmnhIc1NegFIQyDrQGelMTys2ZU 2nV2RjsEJHULEC9cliNxzRwvOJMqLFNTOd60et587aeGIehDIhwIhac4r8i18VzjrLNJ fp8OmlbuBpUzjr57MKobbBjuCBvHo2BjA+Jj++THOpFO3XfZzJkLoKue0WZg+J7jFpaR CIsTtveDLOfcIv7s6OLjnkuBEnF8AubSFuv+KR2WFj29F+v2fZg4MH33yYm19gp//bR/ MZAA==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of ibr@radix50.net designates 85.214.156.166 as permitted sender) smtp.mailfrom=ibr@radix50.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1727972109; x=1728576909; 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:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=0PU6yGXwyWjC+iQ8VFmhM4E1tWF1TyYXRjg1RGMIzEc=; b=XwMEl9QYCoxFXojr7fB/gi8vRiUbt+8WP0AnGkLSzF+cv2Nhyb/9GwG8WnbvkgmXYM IKISyhfeRNrH0UFwdKvgyBjyd/GC3JYV7QxpyYVbtMtS5/XBambsCan1RV8owqea8mU0 wq3G3Dj7RpbeFHhBoZDhy2KiG14VOP33PpkabMjdCrjwgq8A6XzwIdCOqkSz5n/UMsxH gGG2N0NajTsATC9KRljPzudVWCKaOB6nEGtt5lVtaHIFIii79ESoZubepiNMMlFwSTHo MFaYY+qEuJX3vyi3LleGE2DbJkzroVURYrRqQD8zDJQyj3Y3UYB/sKzrNbwIsxIzwtfW cH2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727972109; x=1728576909; 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:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=0PU6yGXwyWjC+iQ8VFmhM4E1tWF1TyYXRjg1RGMIzEc=; b=cXO1zzBXDt27awrxTUkkaT9VmczGebVlLSnGvoUEe0acvsKpot0UMPWJwdgC6Gj/mJ RGXk83z9uy+v4/kTKX9dRO6Dl5f6FwOLhG5A/LMQEe/A2/CbmWyJItC2Yuj0s8J40eI9 cBoZdQkXkx4wqwtwf6rnw9mXL6FO8fKQ/EZr4iImXolXMKJ7ZpI9jJQB6Vi/MVrLmBUF 4LvBp43x+g74smu++p9RW0lGtEUHY8hQ1pzgCZMI+uikNfOwJst7j1Zju2R6V9TYaFe7 ollE00UKcspffzyKfeHujj8QGS/Tfef0PPy2pUWV5YJ1XLSn0MnndiELMGBCc3RCGcfr PzUQ== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUWbehLALvknanLfUNh1VlBC9PI0IzxAjCWDIuMQ3XrRCSWCe0wLy2kTee/2I80ZqW/Q3Hl@ilbers.de X-Gm-Message-State: AOJu0Yy6Tl/SOuTDxWTl0W7ze45dkUZqNoudDi8PtK20vkCMWhKttAyu 3OXIVm1X7qjraOT7C2dLcICATI98PvGhwpoAsWYlIM5vu+Ys/eE6 X-Google-Smtp-Source: AGHT+IGd06DGQp6TJTjDPBmDGT4EshxYIAGmCYmRC1zN2pObzqpHPy9Jrf6ZCTm1ZGjDIyCzNnBtkA== X-Received: by 2002:a05:6830:2b0b:b0:710:f3cb:5b85 with SMTP id 46e09a7af769-7153cd47e52mr5900025a34.6.1727972108675; Thu, 03 Oct 2024 09:15:08 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a4a:cf09:0:b0:5e1:eb03:5d8e with SMTP id 006d021491bc7-5e7bd73d5e3ls641790eaf.2.-pod-prod-09-us; Thu, 03 Oct 2024 09:15:07 -0700 (PDT) X-Received: by 2002:a05:6830:44a9:b0:715:3894:a97b with SMTP id 46e09a7af769-7153cd79699mr6125234a34.8.1727972107580; Thu, 03 Oct 2024 09:15:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727972107; cv=none; d=google.com; s=arc-20240605; b=JWW90pdsyUsdnQ9Q4scR6GZ28vFARd7oVtgVn4GUci00GOaCtyCVMLWcwXRN2lwzdU UTZ5dgZcaBYNQ7m7+ddVVXNMsEnpmqmL+zQl3MEVf0YZt3S3nlRg0BG8371A6avH5vVh 8EIjwS16ixMR/Q7OSQSa7cdZx4uNDyOOuaRBgIyNWr0WDvSTeh1BD1KCN9NMX0JgM077 oopSdSdSU/uVTX0j2032y5FCHR+SuTUfXQOaGPKnW7GXZpX3emCmV3POmwv6gOAiCTWt gq+8Y5bR73QKL7Ns0+0S36h5KLV5q2YCDPxOUHvOzYzi/onA9g97v6d/jau/4oOv+my6 98cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date; bh=weD6b5+FURv+nQ1JBe+WLVbtnHH7T0Oxzq1iFaI1c2A=; fh=XzerRoZw4/qNHRb2dV0cd/44tFQV6TVrdfglphSf5PM=; b=JIVq7vD67AK/GbJBlQGpfxZKifw7cRDcst6tB1GFw8DUF08Xkdh9EOFd268R56oyui 6eFJek7qEvkW1VxckWRqZwdPYMhbLndOZnGjzvtFwbI8p/Go7JZqni7oL76jR1AlsS1G +NYclcPUVa46CGFPALThuiOg6HqIu7jsNjKW79gwjpMrQTDjFaFvSFvtfXp+pfEMHzNK krm3jeiQsRr9mW7F34H9zL8CE8k1HaGJXhRnJQ76hPhgANc8/zbORZdjmZd4GczKDe// F4+oe/hJb2jzGLQ9hWydws+PFEDgaULOOk/2UlxXXyz40KYcZ3d/M1/dO6QJ/x8TFsqE mscA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ibr@radix50.net designates 85.214.156.166 as permitted sender) smtp.mailfrom=ibr@radix50.net Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 46e09a7af769-71547f12781si48787a34.2.2024.10.03.09.15.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Oct 2024 09:15:07 -0700 (PDT) Received-SPF: pass (google.com: domain of ibr@radix50.net designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from abai.m.ilbers.de ([88.130.203.42]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 493GF3Fa025660 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 3 Oct 2024 18:15:05 +0200 Date: Thu, 3 Oct 2024 18:15:03 +0200 From: Baurzhan Ismagulov To: isar-users@googlegroups.com Cc: Florian Bezdeka , "Moessbauer, Felix (T CED OES-DE)" , Jan Kiszka Subject: Re: [PATCH] initramfs: Add missing umounts after generation Message-ID: Mail-Followup-To: isar-users@googlegroups.com, Florian Bezdeka , "Moessbauer, Felix (T CED OES-DE)" , Jan Kiszka References: <1646de44-c244-43b3-ad57-b3bf702608b0@siemens.com> <855415c409c8a24b672ed64dba8f3227edf23355.camel@siemens.com> <4271f8a5-45d8-4e75-9a39-7c11a3411ef6@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline In-Reply-To: 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_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: ibr@radix50.net X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ibr@radix50.net designates 85.214.156.166 as permitted sender) smtp.mailfrom=ibr@radix50.net 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: CkgY/4UqGJto Hello Jan, On 2024-10-02 12:28, 'Jan Kiszka' via isar-users wrote: > Lazy umount was apparently dropped without review/testing of the safety > mechanisms and the code that is involved in mounting. We all assumed to > world would be fine while things de facto work not that well. On top > comes that most users are in containers and only notice those issues on > rebuilds or due to further special factors. I'll share a bit of background on this: This is not about assumptions, we knew there were issues (and worked on them -- e.g., [1]). The occurrence rate was several times per year. After migrating to sbuild, mounts moved into per-package schroots, and the errors became even more rare. Debugging cycles of weeks to months are not practical because you can dump the mounts or similar stuff, but the necessary number of iterations is not reachable, not in reasonable time. Before sending the lazy umount removal patch, we've checked the archives why "umount -l", "umount || true" were introduced but couldn't reproduce any of those (I personally found the problem descriptions and root cause analysis quite spare and often not actionable -- I think we can improve here). Even now, the issue seems to occur more frequently downstream than in meta-isar CI. Given that the downstreams have control of meta-isar revision and can also apply patches, the question for me was whether to keep the problems under the rug or work with downstreams to analyze them. If you have specific suggestions what we could do better the next time, please share. For this specific occurrence, if we don't have the races with package building left after the sbuild introduction (this is why mounts and umounts were asymmetric with buildchroot), the latest patches might be enough without central mount / umount tracking or moving the mounts to individual schroots altogether. We'll need to understand the failure mode because otherwise proper testing is challenging. 1. https://lists.isar-build.org/isar-users/20210421145855.66257-1-amikan@ilbers.de/#b With kind regards, Baurzhan -- 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/Zv7DB35UdWbBLpW2%40abai.m.ilbers.de.