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, 18 Jul 2024 07:35:33 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f63.google.com (mail-lf1-f63.google.com [209.85.167.63]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 46I5ZWhr023818 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 18 Jul 2024 07:35:32 +0200 Received: by mail-lf1-f63.google.com with SMTP id 2adb3069b0e04-52e994d8e26sf402664e87.2 for ; Wed, 17 Jul 2024 22:35:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1721280927; cv=pass; d=google.com; s=arc-20160816; b=LYuJ5SMUkRgSAOop3Kr086a+OTqLaemQFweKQf8uHP1jmlnfdnAvwOs8nmBm39v3GU yJ6bje1QDoT/xeIHRrSLiHA9/PViLnXfbinLKPGWU2XEVOdkFuOCFhsURANCsdpshPRe pH4U8tcGIPiKLOV4YDVZCUHeuvY1ZJyCsjALEd6YEVGl/hq/LXzyGJNzD8E+L6PgjONG 1J6QiOqvuNU67IkyioGgKvkI8T0iXmeDonE/dU5DqNrCBwNK0wQWoQWOQQ5Xwa8Pz/d3 rXT7zkYYEPUrSqzLW5fTkOy6NyIQ2weCjSTmkkdaXUnUpkcyzZEb4gS9JcrmS3O9XFmS bX7A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:to:from :subject:message-id:sender:dkim-signature; bh=GQfi4D8C/54E7uBWA/zsT2Uy0tIL5NxXbgEmFx+TaYw=; fh=NOV0+hLZdrMB7NhCG5pNjohzOGa/asQHm8eEld4WS90=; b=Q2K8vh5Dgua7jhLPLfmSZlvWHbGbUPLWdJoVoL8uKKkpdxNo97GHvG7JtgfBm9aqyW IDfUh6hpwITM5k8o3C0vtr9wGkfxaH/4x3MVwXKpB9RPHTt0//s/2qBBbgPRrjs0FU3G UUZXWRwbOzN/iFdFOwarelBGd8G4vfFAqh1mlsp00o3ITckq6/VmtoE7VpaWFhZv1wrE v6fqdNn6xCsmZMrZPWy5CxVee07P+cwUEnrFEdhHTmjBt4nWBSCcI+NQN3FFtqE9lrTP 4r1LLRtbsVhCRkMAfauyWHiBh9Nlm34ktLWs2fqly3iyOQV1z5zcu7sQHAowxCHk6tPg Ki5g==; darn=isar-build.org 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=1721280927; x=1721885727; darn=isar-build.org; 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:content-transfer-encoding :references:in-reply-to:date:to:from:subject:message-id:sender:from :to:cc:subject:date:message-id:reply-to; bh=GQfi4D8C/54E7uBWA/zsT2Uy0tIL5NxXbgEmFx+TaYw=; b=DBKAQndPXnlWH2odW3H3ksABCkVHhgBIpjJlFrlxJDY0NG2OYFV6EweY/Sg8fle+9c AnD1OtDfn2UohWxUpk/zalAq0cnsMj+cPXxG4M9ndS6PRdukDzRQ2L9s6ip/W0MZf+qb qyFRqmSX6y0FaJiQeNNimzbm1qeyv30mK6Xkng2S/lF6CDut81s1azeHPVOSRxTXtIT8 npSSl6fIcgjjvNrVeBJ652nAENa1KiZZk/VjLehoOdREdB04KXQ3GzRt0jzV2/rHgFab 5tTCm3I4bvddsrBhES6SMjpaBilMqVwmS0/Vm/zdUbk7w68PEnr+6e3ps7VvNzxA5kDU dKNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721280927; x=1721885727; 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:content-transfer-encoding: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=GQfi4D8C/54E7uBWA/zsT2Uy0tIL5NxXbgEmFx+TaYw=; b=p4f0h55qMjPDLwGA8o2nwYmS8HJx0JoP6/1bvDqB7WB+CJDYz53WMhKI9/1LxnQAkb gASrZpX9pss4cqBcWiTUxi7OpC55ZZu22y6mlY/V33LXcEvYpCG3rV5dMBQhdQdTF5PA aH9Nz7yDL5fqUCkti7ietLKnehq0VecKK97S5j40H1r8ZYMfLYhK4OA7+gjcbI8PhoYf 4lALxd5MbXSe7/ArwlBLmMvV1wmq8jwcNZOLRg7JrmdBSMmhW0ArgTXpUalMawVUqKtA EFw9R3BhfYw0Gl5+JiZaCngKjOoCpSpm62eMNYuhLLZdnfLrBUkiHfOwcMb/xLv3hQpH lwOA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCVrN2vH1sRGe+ZhjSztljkTW+hkXuw3OTAIT0paNs+92eLQqJl9eH3dCQOuXhWgrq4gECYXgfWmt3Mas+EqhlQCuuA= X-Gm-Message-State: AOJu0YwkEtH5S/QbqqscfHc4QXYNmY7VKA5NpHvPUvZNZUJhzczTKQ8x Lqw74H9eJ0o6HD3gQ0Im7pQAuMB9GlBDg1eM/TXlBSgxSjvGYzw+ X-Google-Smtp-Source: AGHT+IEVlUv/k5HcCbwRGMQW+Zz2kRjvH3PfSiotymk3wV8psBlhvqfbibZtuy0jzLwbV583aYdi8g== X-Received: by 2002:a05:6512:1591:b0:52c:8b03:99d6 with SMTP id 2adb3069b0e04-52ee53a583cmr2704096e87.6.1721280926123; Wed, 17 Jul 2024 22:35:26 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:3b0d:b0:52e:9bed:f9c4 with SMTP id 2adb3069b0e04-52eeab55f0cls247526e87.0.-pod-prod-01-eu; Wed, 17 Jul 2024 22:35:23 -0700 (PDT) X-Received: by 2002:a05:6512:3b0d:b0:52e:9407:ddcd with SMTP id 2adb3069b0e04-52ee53b6a71mr2947711e87.18.1721280923256; Wed, 17 Jul 2024 22:35:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721280923; cv=none; d=google.com; s=arc-20160816; b=KE6weMFuNSTGuxquLuD900//ZE+/HnwpsaOb2QdabRJiWfI/q0w6hOK11vc44JTH4p qd5rtaB5ZmTCfT1DyhLcyDci9/WoqQg0KVa8SAUSyKBrjmK0lPYf7ZCFm4+KuADQGrM0 pcw9Jpf2PIMEf3G0z9Q3xBrIDdv8vxZrrnUBwOVbTEkD/vqio9PsxUUyMZFli1JprJQ8 ev4De/NpJtoL51oxrTUjHelFD6kzMMxOxHnWZoJFS9jAl/eUDSz5IWHCL2CVumPb84kE Vevd4zplRtbE18Wiyj2DFwmIJ2+w+Otsx+3UVNp/fhXpVDYtKHI0XYFw1rAdzz/UXpdy ea8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id; bh=NpzNokRwSrZ7DggQYPWyWfD/xFCpQfWqWigVNUsqQ3w=; fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=; b=hF7LJkIjvLsXW5qyMQelyS/yvBtp8puEkaEwDkQgDCj51YHEL28PMT59MIc1T+Bojv wLxHX5ZBmw2BLTurW/BCI+S59WW2QC8MXVVzhyubi6ai0PYJiWaEcdBjRv5IRTAk0HoI tDWI7YbIwtHKkBAzGWulhfd0ot6Ewx18kJ+SpJr0VVP9ZrORbYm3quoRKXuiZvWDFnqj E4NftR+81qBYWAX6swxQqtSSKLtFB74akKcOBnmCfLHXCnShsuMgn3MEeK+Jb4qp44b2 +VisD4IZ5J0ScsKId5otiF9NSu+kRDMh2STD+UqlGpeQ0LqxkYiBJF/GsMDe5x5XGIv1 P4oA==; 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 2adb3069b0e04-52ed253a522si205353e87.4.2024.07.17.22.35.23 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Jul 2024 22:35:23 -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 [127.0.0.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 46I5ZHqg023809 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 18 Jul 2024 07:35:21 +0200 Message-ID: Subject: Re: [PATCH v2] expand-on-first-boot: Add /tmp to ConditionPathIsReadWrite From: Uladzimir Bely To: isar-users@googlegroups.com Date: Thu, 18 Jul 2024 08:35:17 +0300 In-Reply-To: <20240712153929.772552-1-clara.kowalsky@siemens.com> References: <20240712153929.772552-1-clara.kowalsky@siemens.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.3 (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_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-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: aj2AtcxUyd2M On Fri, 2024-07-12 at 17:39 +0200, 'Clara Kowalsky' via isar-users wrote: > Since mktemp is used and creates a temporary file, we need to ensure > that /tmp is writable. >=20 > Signed-off-by: Clara Kowalsky > --- > =C2=A0.../expand-on-first-boot/files/expand-on-first-boot.service=C2=A0= =C2=A0=C2=A0=C2=A0 | 2 > +- > =C2=A01 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/meta/recipes-support/expand-on-first-boot/files/expand- > on-first-boot.service b/meta/recipes-support/expand-on-first- > boot/files/expand-on-first-boot.service > index 90c92a39..9daae719 100644 > --- a/meta/recipes-support/expand-on-first-boot/files/expand-on- > first-boot.service > +++ b/meta/recipes-support/expand-on-first-boot/files/expand-on- > first-boot.service > @@ -9,7 +9,7 @@ DefaultDependencies=3Dno > =C2=A0Conflicts=3Dshutdown.target > =C2=A0After=3Dsystemd-remount-fs.service > =C2=A0Before=3Dlocal-fs-pre.target shutdown.target > -ConditionPathIsReadWrite=3D/etc > +ConditionPathIsReadWrite=3D/etc /tmp > =C2=A0 In a downstream we have read-only rootfs and some writable last partition that we want to expand. Having writable "/etc" condition in Isar recipe makes us use .bbappend rewrite the service file. Would not it be better not to depend on writable "/etc" at all in Isar? > =C2=A0[Service] > =C2=A0Type=3Doneshot > --=20 > 2.45.2 >=20 BTW, in the same downstream something close we do for sshd-regen-keys service. Due to readonly rootfs, instead of writable "/etc" condition we use more narrow "/etc/ssh" one. So it might be changed in Isar also, but it is a topic for a separate discussion. --=20 Best regards, Uladzimir. --=20 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 e= mail to isar-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/= isar-users/a822d75f4c1e85d483e1b32809c818faf95f0226.camel%40ilbers.de.