From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7177382063960489984 X-Received: by 2002:a62:4e81:0:b0:56c:12c0:a89b with SMTP id c123-20020a624e81000000b0056c12c0a89bmr98192072pfb.40.1671118406491; Thu, 15 Dec 2022 07:33:26 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:902:8601:b0:189:b2b2:56d5 with SMTP id f1-20020a170902860100b00189b2b256d5ls25781007plo.0.-pod-prod-gmail; Thu, 15 Dec 2022 07:33:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf7peSK/I0KifQGxTChuOm2Xp21IvEY64BaMzkS5wqebAadnvocWyfOivyHrvxz8zyq86OOR X-Received: by 2002:a17:902:f283:b0:189:6c9a:7d8b with SMTP id k3-20020a170902f28300b001896c9a7d8bmr24145175plc.32.1671118405526; Thu, 15 Dec 2022 07:33:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671118405; cv=none; d=google.com; s=arc-20160816; b=ZFHdZaoM8htGzoc7e9Yopivd+2vnKhaffVl+mkU/RMIPzzk2JI7ZbgzXL8cKBcggdO zlUtLNoov0gPhA1CGA5spPIiy0bkfNi/BBmbieRQJJ4e1zc3h+vaozLbZVcCLO8UOrwZ fY+8pvDSD/sWgWAw7sEKcMDWPa4BcjahPJ+5wro9Osif0gqtFDBaXLUt36GS7bJcr9jA qVoCvY8heTFEy65T4WscrkCU/nvn3xijWZLeDc0RjwhXse20Nn0iRf6GksREWfunRVDR vq3VBcPP1wVguDHmtShA841MiXtMhmdUqFjlp4hpZ/elBhERe7eWJIXVaBbH4cja5mCt 3sLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=BNgZVP+pTC0dw5xKaHuFn9kwhTdSIist7n/lD6XEjsk=; b=wx1L6ywdpvuBuEGRBXAFxXsI7YhBNBkXcN8ogvXT1WaUWaIKa+HrKn5BJ+570Ejk+5 sqfMWBXwFW2pnTvP4+76KXA//uajcHkdwJAmURXs+ZuA9tx3ru0h6d7p87aLpDH+DdkW sluME5IjRzabDVYIOywG1g2tjvZeyDbip8UxBmSE3zFBceZB2+RMoqug7Q+RVJS2+DmR L7ZvLFML+BqK5YQMlwpOSmHqdMKN53+gUOql+XdyGpdkyc7BGG6DaBEc+mATbNkXbOOC WupdbvBJhCgzYijDb/aMo5U68ANd9kqTPYdM7IqzQVESZt14sZUKmOG1Wr2zwVa7EnZk E/xg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dD9BekML; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::830 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com. [2607:f8b0:4864:20::830]) by gmr-mx.google.com with ESMTPS id s14-20020a170902ea0e00b00189ad838080si669830plg.8.2022.12.15.07.33.25 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Dec 2022 07:33:25 -0800 (PST) Received-SPF: pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::830 as permitted sender) client-ip=2607:f8b0:4864:20::830; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dD9BekML; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::830 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-qt1-x830.google.com with SMTP id z12so5388197qtv.5 for ; Thu, 15 Dec 2022 07:33:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=BNgZVP+pTC0dw5xKaHuFn9kwhTdSIist7n/lD6XEjsk=; b=dD9BekMLe0TQtdHs4a4gKJlihHgnr59EYKSHBEVCVhoUY60VqKNOODlmyIQ7swoyxy SxP7mkOfw4+WBKU9k9kONGFNM+Jy2vkTUt50vgECeRwqb9fDK2GIxx3GZMSdmWRslEp/ Tjv5AmEe7lHrluBI2TCByGi9tLBiuhjpYFBUu3FLKYeSgK9Fqs0leFHIOHzcYicb0BPq 8s/DRJFMncSk8wRfK3PI8tsZDxMzTuTo2RGKtNYTHMEEvU1mufQmUT7BFY0RNvQ4JfCx G5y6XCHzMDFOW1NKqIyWD3pMN0iG3Z4+iUozYCR7WiniUxuNQC+PGq89kjlXJpB6qDi6 bt/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BNgZVP+pTC0dw5xKaHuFn9kwhTdSIist7n/lD6XEjsk=; b=gJVg66paOi3ghKT1At/N5tu3XcDrwU5+DPxzdky99pbC6YYJC0jXmx9RzJxu1R0x56 s9JqmIU4yum9jOr1tw45LXbposmHdsBdhpt4ENgdI+lBTBkwLGb7tvmoBzcsda3paU5x GODtxY1oK0JvfixEnkNTEtS/NMVwFLJ5cJaT5SIIpBG+J0CffBVhBELdmz1j9ktLW5hK 3EfQKn1pojxbMrqcI46ZwnMKNJXvS5DedEgM3+wYFJjtzuWXu5deL0qhnd3qHDQlKiHt jVsbUqdqc+d334d7J/CKqdTVu3T1ZCFlYwFoIeMnvblDba2F6rb4lvLVbvk6IpSacpro kD0g== X-Gm-Message-State: ANoB5pku7EzPBatUvLMY6SoBJyQbujvH2D27ErkjQO1X3qoiapX8oi3F Y9XZvo+p0ByYmW0bmpOOZB7bogpl077ukCGzceHVKjUbzA== X-Received: by 2002:ac8:4e14:0:b0:3a7:648d:23d3 with SMTP id c20-20020ac84e14000000b003a7648d23d3mr18033950qtw.19.1671118404443; Thu, 15 Dec 2022 07:33:24 -0800 (PST) MIME-Version: 1.0 References: <20221215142759.26327-1-henning.schild@siemens.com> <20221215142759.26327-2-henning.schild@siemens.com> In-Reply-To: <20221215142759.26327-2-henning.schild@siemens.com> From: "Roberto A. Foglietta" Date: Thu, 15 Dec 2022 16:32:46 +0100 Message-ID: Subject: Re: [PATCH v5 1/6] expand-on-first-boot: really only do that once, especially on failure To: isar-users@googlegroups.com Cc: henning.schild@siemens.com, Joe MacDonald , "Moessbauer, Felix" Content-Type: text/plain; charset="UTF-8" X-TUID: P0ts87Bocuhv On Thu, 15 Dec 2022 at 15:28, wrote: > > From: Henning Schild > > We do hope the expand will work but we also know very well that it can > fail. The script is written in a way that currently only supports one > try. And not a retry if it failed in an earlier boot. > So make sure to disable the service also on failure. Disabling the expansion of last partition service at the first failure: - decreases the chance that the human operator will notice the failure in the boot logs and thus create a barrier to investigate that failure and/or report it promptly. - it is not compatible with the case of an unsupervised embedded system that should not be able to go in service unless it is provided with the full storage space. - does not solve any real problem but just masquerading any related issue and limits the options above. My suggestion is to not apply this patch. I did a test and without this patch the service continues to be active unless it completes successfully. I hope this helps, R-