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; Wed, 31 Jul 2024 08:46:35 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f56.google.com (mail-lf1-f56.google.com [209.85.167.56]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 46V6kYuG006713 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 31 Jul 2024 08:46:35 +0200 Received: by mail-lf1-f56.google.com with SMTP id 2adb3069b0e04-52efb8b8320sf4532439e87.1 for ; Tue, 30 Jul 2024 23:46:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1722408389; cv=pass; d=google.com; s=arc-20160816; b=nUejrdtTWhdhvEdvsAt9x62JJuAn6VN88D+tEtFKW3SI92y1xIxvLPOGHpA1LsJCwD Xfhgu2scg/VQJ9ZlL6Tjn1gjxgDGuwHWmmxWh0txO19UfXnhN686aDR+jELFoxryoNSi upspTUEwurW/YE6RsgkdJQLXgQknTcx8TpmcFrbaU395d44UyK0As+DMyBfIzof8Pt7D pvhlKnqlv473LqCsA3V7oRGjf0ONd8t6bCMy4B48tC4jXybSzSNczf+wUUnoKjqK92aH 7HjUpSt54i6h/tG1JOtY/uaiWIy5siAiP2UTb7X9/UEp7mWzGA5g/BYi6sCjWOinbr10 x6dg== 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:autocrypt:references:in-reply-to:date:to :from:subject:message-id:sender:dkim-signature; bh=740Td+J7d+Y+1eVjI1GADEzZkpyPVlboVdtUgLjWhyQ=; fh=2qRq+cbjX8Lk/wX91FsfTnbx8AtRyM48ED1v/0CwYmg=; b=a2N1wrMQdQ6TGIZm3rMM9o8B/4vGqWXgaWarbHSH3MhR8s65sYtrQUWv/5x0jwNpfX /YZfRc8zMNcnchNkjLv861rMRUtbvSD4fkDHwINYDG5IltPFQusOhOO9edhtct508RGD 8wR9nxqD8Nx6mb4qGIzpuyV+A0f0q9FQSsChL5WZZ41Dgmc+iOJavjX6NWILrZVDT0d5 lbxc3vFm2W9Wbp+ae2dfSPULUjxeBBhYE7NAAf3ZEIP9hgx9a4NYR4od//cvZqGZ2Jc6 89jKiWG0UW2FL7ZX3ILpZ+HkGQouUq629t2wvF8xh4QlOZyM+cuqwEiHRipcDGeZbV0f Plgg==; 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=1722408389; x=1723013189; 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 :autocrypt:references:in-reply-to:date:to:from:subject:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=740Td+J7d+Y+1eVjI1GADEzZkpyPVlboVdtUgLjWhyQ=; b=xp+JEYVxBLdvmFXF20z7PvkVSMgAeprlVxTkAWG4lyO2Zlev6Cbt4NLeD8rR+4f4Ze WUwwhNIO+m2IB6mJJPRi1l06dKWZLvuTy+36MnHtr3nXmezZx5N+YztrJpXwsI2GDwZb XusaZo3iEgafCZVYFQH4aBUcc2EZj8Aw8KmGAXXLrPZVPf+dCakxcTkW6xG7sgutbbLf N2XmrwHKRu90LUmbNIN/CqmSIiEKjQnIiCRvbQpPzYD+IEkH1JtazXqLFcZ1L/guvJQu vZhpte0IAgrJoG33bSOZyv1SvlF85/aqjZwUpI60hthZocKpxqhgMg3N4zXReyY5d+EX LqTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722408389; x=1723013189; 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: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=740Td+J7d+Y+1eVjI1GADEzZkpyPVlboVdtUgLjWhyQ=; b=W4VuVpRwB19XejhQ7abkKvD4vsg/kxcPeOEGH8mjUsXIOirsL1kn0Cyq/hnsiAr5lE L3xogWwDmeuMWHQo/kEorOaKMp3g8i1z3S5Y8xktvd3V7wVvfEoESmDIp91AJKU0/tPm JUXIlIREagkwxqzDxXFeiyura6XlU9ZconG6s5f2tkbknrO58kSUUtQvQll21abo3E3j ge9myvAE0UN+U7+5MxZ3v08dfBpSBwAvuhR3dujREJMhw9EdDdAZemc6sQQc9SQ4cDj+ knYA+CU1JmX7lbIIN0m8uTgKjyziRX8DrhRKcNh1LCtTbo2/yeoo1KS/kFDlOgYD0muY //RQ== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCU/5Sfm+6J2NnfwG3J8ruwB8ZNtuJ6A9rBHYUltMBSDqIkxg0KpmSuoTO/TY47iHryGHg53GCnFBhD+rAY0ITsWKck= X-Gm-Message-State: AOJu0YyyY7W93JWWKZlJd+pFgZ6E34Jn1eWq9q7caxBY12e3deEHCPY2 KccQ67lDSxHzZD4dQ8d0i8gHXVnYby/4FKD8w1cl7kPSIpEFVba7 X-Google-Smtp-Source: AGHT+IH3mmEPKxZclCtfT+up2nzj4Vkxg+6E+bZK2pB5wC4YB23AzVHPOwBbIRNinEQz3FvjA8G9Dw== X-Received: by 2002:a05:6512:12c4:b0:52e:8475:7c2a with SMTP id 2adb3069b0e04-5309b2708aamr10448439e87.15.1722408388941; Tue, 30 Jul 2024 23:46:28 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:e0d1:0:b0:368:31b2:9e93 with SMTP id ffacd0b85a97d-36b31abfcfdls2011559f8f.1.-pod-prod-02-eu; Tue, 30 Jul 2024 23:46:27 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVt2GaiE/3fLECwz+1w344LawkLzgf7s1zp0TD1x7ZdI4Fe1TH2NsUklqsKqZTKDU/glCOJhFqaW4ZBAfl1AEQiYYRHjv7LwzfnkS4= X-Received: by 2002:adf:f7c1:0:b0:368:4226:4084 with SMTP id ffacd0b85a97d-36b5cee49f1mr8731068f8f.6.1722408386663; Tue, 30 Jul 2024 23:46:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1722408386; cv=none; d=google.com; s=arc-20160816; b=vRLlVYOlsrDnOL0NYef+g3nNTDR1GYTHR/exC/HTLTfwjczPHmpJkh9711NLuLwr4S NGV2ETs5lCZqyTv+fgrR/InBHT7OYU+DjFlnM/l/src+ykptVJA9bPAlRvVLqfdVEu2f PeL87ZnDlrBM2gOextxkQaIZb+K3rJhKoBtnC0cnuucbf/F16QK3A23E1YzpdPNVu7AW 57OJzwYoGXUUBP7cYGHGxFyYX9RnIv8p5lTd9E4jmJiGLWdxyLaVj+R1s0hgEoOoWAHr /MkKIy/Ij9sZ/r6MhFcBORBpANzUMtan5SOZmyuvcEJDtF412aEz8xnv/FIgTYHgBES3 hSHw== 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:autocrypt :references:in-reply-to:date:to:from:subject:message-id; bh=wm9uqvoIOepdYaZdnFtEHeRcI2vOPlEtOpxKo92cFFU=; fh=lOecfPjbysiGzlRBef36l/WlHWoMC0vHaB+pO6uJ+To=; b=wFCCTR23RgvFyQif/ufkmIcQnVfnK5bh2F/kWTBqgwZwPCoN4pTTQ6ki/Y2z1oCQc2 F9q1G6lLp0Ts+uS5sEaddnMoIuV/hBOONQ3QR/5H/dozF1oMiaD6eHG2uYtqNot/+Waw Nnw2l1vgfyQsDBu/GVx6JMYFem2iAbQyPU0FuwSDX/Xw7JfGliZGou1z+SaDcTR5tNMf JsAkLv20oUu3CI82Q3d933fInH94R7hK2c2dT6F+Ap5MAhq4XRyjN45Unx4iRqHxpSKl uFcA3UsTwJxanVZtKgBOfsrmDVNUPxTWmDf4qLzMF+/s6CqDpTJXqFpAseQeSsqgRAEe bvHg==; 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 ffacd0b85a97d-36b36844834si284590f8f.6.2024.07.30.23.46.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 30 Jul 2024 23:46:26 -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 46V6kOTm006705 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 31 Jul 2024 08:46:25 +0200 Message-ID: Subject: Re: [PATCH v3] expand-on-first-boot: Ensure that /tmp is writable From: Uladzimir Bely To: Clara Kowalsky , isar-users@googlegroups.com Date: Wed, 31 Jul 2024 09:46:24 +0300 In-Reply-To: <20240725141729.1344298-1-clara.kowalsky@siemens.com> References: <20240725141729.1344298-1-clara.kowalsky@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" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.2 (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: YOkxi3SK79rw On Thu, 2024-07-25 at 16:17 +0200, 'Clara Kowalsky' via isar-users wrote: > By setting PrivateTmp, a new file system namespace is created for > this > service and private /tmp//tmp and /var/tmp//tmp > subdirectories are mounted, which are only used for processes of this > namespace. The service unit receives a mount unit dependency for all > mounts required to access /tmp and /var/tmp. > This ensures that the /tmp directory is writable for the service, as > mktemp is used in expand-last-partition.sh and creates a temporary > file. >=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=C2=A0 | 1 > + > =C2=A01 file changed, 1 insertion(+) >=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..8e76998b 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 > @@ -16,6 +16,7 @@ Type=3Doneshot > =C2=A0ExecStart=3D/usr/share/expand-on-first-boot/expand-last-partition.s= h > =C2=A0ExecStartPost=3D-/bin/systemctl disable expand-on-first-boot.servic= e > =C2=A0ExecStopPost=3D-/bin/systemctl disable expand-on-first-boot.service > +PrivateTmp=3Dtrue > =C2=A0 > =C2=A0[Install] > =C2=A0WantedBy=3Dsysinit.target > --=20 > 2.45.2 >=20 Applied to next, thanks. --=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/e227148add94c87e5066242bc01b82c18a907a5a.camel%40ilbers.de.