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, 23 Oct 2025 11:30:01 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f191.google.com (mail-lj1-f191.google.com [209.85.208.191]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 59N9U0X5026666 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 23 Oct 2025 11:30:00 +0200 Received: by mail-lj1-f191.google.com with SMTP id 38308e7fff4ca-375da0ef7ebsf2840371fa.2 for ; Thu, 23 Oct 2025 02:30:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1761211795; cv=pass; d=google.com; s=arc-20240605; b=D+99E3w9756ROL/jxVN/dRtepf9lA2fnP8q9IsngfwmqUCNg3qS+/VQsBQ0zmZNODD rXIUTp7V+1eT7RiVKoduJwSqnwwyCnjY7Z5SwfAT6042v/hAVA04TZ9M/PnGxXhqD35q QwEjP93XbRXmpPjvj88W2f2FMrmt0D/S4OVCQtm7z+QttCr2e++ZmQt2tMXcgBaekm1t G9Xu4CsM63E8+dKQHkVAxNarhNhE0XvwJzs/x9qcRIzspyshoPgcD8kt/fhXdAl68Hy2 rkXHdO6O0KQnPSCWkVyFv1VljOceiVPKMwvYjqlIr0LUE1qg6TMMexf3og6CiabJJPrw NgaA== 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:content-transfer-encoding :in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:sender:dkim-signature; bh=eY+oAMJPt7bkZDLp0hfotC6qt+o7BM3/VRdoSHex8Kc=; fh=SO2pgUhS42ZVEhczmHnS8Qe0yWbNu/015ARqyszZfPs=; b=Kr+RLWszN2EOoSKJMLfoHpyHNhppgiV0GpTh6Y/GcSfYXF8LLb0ga4e+kOf2MMs3Ve giqL5d8DvxQUlOaBap9S7+32Lx1o+YO2rAJU5IlMxd/O7CW1mFtOaQBwMIdegPAH+5Y7 UdZpmYsKaBysK2jCEesQrGqcDBRQ11qeIagd0X3YQcWTDS2RzTlysqXGmniSKcjuOwh+ a+KX0C4EhJMGd0EJVw/nHLD5QrIEX1w1f+FO4WiV/gb0MTOiZVE4v41BPdcAxUbKkYY9 JEbVFSlPqaecGgF7vA9j8lx86F6whFwWcF1Txr5Jo15tUTD/oOu75Rz/zLd/dg7YXa04 +L1Q==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1761211795; x=1761816595; 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:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=eY+oAMJPt7bkZDLp0hfotC6qt+o7BM3/VRdoSHex8Kc=; b=vV/dSsxeAwHpLrvCR2fHdVU1lO8YqvyRR70a/qctXKtPX+aP56yz5qZ+aL1kpPR83k u2aQ6zOipy34lQ6QQdyOxY/30cr7nxCL5fgjryVtOFpWADVnPkriAP7GNZrq7EvWWe9S /7PyYwOThPjLztrvVaV/n9jrUsL0Cigf9qaASwr6o7FKg+qKoXB4CLHRzIPj1XfYfLze aTwYzTSoIIr2rtxIdyyLGGEZ+K/4LfVfK+alYTLfz1ZRIoJDHe8y/nFbrmiBF9VIgSkn 16fcm5WaTi+5Z5YkNoNU2EeR7fzVPE6VTmzPTmu7unKL5Ek+W5mzwocFsK0cOSYdZ9tO uohg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761211795; x=1761816595; 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 :content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=eY+oAMJPt7bkZDLp0hfotC6qt+o7BM3/VRdoSHex8Kc=; b=n3gTke9CuUE2qFESEoPZjiIm2VoF38oOb6fZPxOSJqqD5hCNnmq34wraWyUYIc4vCd fHrh7bDk1qHyE9TCrdXb+AqD87UjqcngtyYskFUWN+zIVGUjj3uFRoeeNe8Hz3Gzqtvv +4GL8umWXS+lpSanT6YpZA11SIQleMfeHHvURyrijI2pdErJ5yfwGLZKdRjlpcLWOQi5 adPtcJ4gspsCsRkkmuR6KZVGgIFqJykn91PRQv0iVOCBAnW8tAsuyCuxW3kDzVTSD98O ApynrqKkaNkRTXeklK94bBaKr5f6+K8N+XjsPxRpuuqIEEPbNtcFFYoxF6cGQ+zPJ17u s0CQ== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCXJidu6PLZpJb4qT8rVu+pApG0Pgvu7AlFCMTuveKm+X6QpnTikk1a7aZBpISdi9nNZ9cBO@ilbers.de X-Gm-Message-State: AOJu0YxecV07pCqqmYnfOSTr/bsIdTqbVvu9JlYOfu4rgW/fE9myBXcU 6sF/uZlJnjPAiF647c/eHjlzMYBp322mTMehVf0TSgvID9MN6SNhIRkh X-Google-Smtp-Source: AGHT+IGy1CIePM79VyM5SwvwdMJvyVbMaWMDz+yRwQgPn8or9bcM01yomAltXJgi59hTAtuj/dbAdg== X-Received: by 2002:a05:651c:1595:b0:364:f7e2:3908 with SMTP id 38308e7fff4ca-37797a1439bmr67950681fa.26.1761211794584; Thu, 23 Oct 2025 02:29:54 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="ARHlJd5IkMm1ZzeF0blU8X9ASoxwbJn5Nur/wE8WIOo2j+7z5Q==" Received: by 2002:a2e:88c8:0:b0:378:d368:a117 with SMTP id 38308e7fff4ca-378d651c94bls1051421fa.2.-pod-prod-07-eu; Thu, 23 Oct 2025 02:29:52 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUTpZrshSGbWcmrSBlx0s6MHvW+362LiiwIhTeUXBN5GrF7pwFgIx+Wf60SYg4K5TITIRJxmRBxqFE/@googlegroups.com X-Received: by 2002:a2e:b8c1:0:b0:361:5fa3:1d57 with SMTP id 38308e7fff4ca-37797a6f29fmr70821451fa.38.1761211791763; Thu, 23 Oct 2025 02:29:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1761211791; cv=none; d=google.com; s=arc-20240605; b=MBbOQrf9AL7+ibi5A0mNPLc5x4oLxabmZaSCfKW+gHnnjN0oOOfYAqTY7sjbQh8oLb XS0yOAYDqsUjLecRH4djpoZo7nJVV43amp6PfOO95imHyYt1Kn/H92/gw29tgKdT6Ahd PHuSKKM+mrmVSOQnyb5o2UVSyTvQPKJOIGuiIsFC0TPrh2/JxccXeHbgQFt62Vzz/e4V jX1yYSveSSzm7EPh3G7hpyepLGomtdgn4zRbyDFTxD469AnrlaUQGkUF0s3G9AQgS6As d2ws/QwquluyEVvm5mYI+rKNmoWOUOPUyLw/20SsyrFYopPEh5RcK9PCerpuUNmOkboO A0tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=hPz32EOD2pUyDqAY9CraRPp5vsgkEDU2+BOI7r2NxpQ=; fh=8pKNL/KKW5ujqsZnuh/J08Pj0bztoQ0udl9lzh3tOPY=; b=NsYeNibM+khVWBER4qU7korRu0RSmbhIzavMh/ZWj+yQHMK/qoslNTXNoWxAxVl8B7 MFY1esUd8R7yYolzp4zN9cMMZQKlZBA8TkN2xTuCHBqM1ySCPuuLwkaj/HD6yqfOjmZX t3/L4JQ2OoOyKatTreEn1en0SgVXHwwrjDxtqZ/XN5rIm7F5l4N+fFi4SxRSVN/9up4W GnKA0gNp8dZ6XE4ekt2id38i0X42vdE1+ES+proMPIa50oYxwmB80mHPcVMn6KKZ+0yF KDVLek6sW4xjyWtGgSdAg3aygpdqz8r+PJB9w1aCHBENp+e0ICaJbmqK1NZ2pnnuxvKS FNug==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 38308e7fff4ca-378d66942bbsi268321fa.1.2025.10.23.02.29.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 23 Oct 2025 02:29:51 -0700 (PDT) Received-SPF: pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [192.168.178.117] ([88.130.203.42]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 59N9ToVt026655 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 23 Oct 2025 11:29:50 +0200 Message-ID: <1dfe2925-928e-4cde-a4ae-42c61a121603@ilbers.de> Date: Thu, 23 Oct 2025 11:29:50 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/2] Enable systemd units based on systemd presets To: "Heinisch, Alexander" , "isar-users@googlegroups.com" Cc: "Kiszka, Jan" , "MOESSBAUER, Felix" References: <20250917103506.295010-1-alexander.heinisch@siemens.com> Content-Language: en-US From: Zhihang Wei In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable 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_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-Original-Sender: wzh@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@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: A00zAtPva8xK Hi, when testing this patch on CI, the following test failed: - citest.py:DevTest.test_dev Error log from avocado: 2025-10-22 17:42:41,056 cibuilder=C2=A0 =C2=A0 =C2=A0 =C2=A0 L0322 ERROR| E= RROR:=20 mc:qemuarm-bookworm:isar-image-base-sdk-1.0-r0 do_rootfs_postprocess:=20 ExecutionError('/work/build/tmp/work/debian-bookworm-armhf/isar-image-base-= sdk-qemuarm/1.0-r0/temp/run.image_postprocess_populate_systemd_preset.28702= 9',=20 127, None, None) 2025-10-22 17:42:41,059 cibuilder=C2=A0 =C2=A0 =C2=A0 =C2=A0 L0322 ERROR| E= RROR: Logfile of=20 failure stored in:=20 /work/build/tmp/work/debian-bookworm-armhf/isar-image-base-sdk-qemuarm/1.0-= r0/temp/log.do_rootfs_postprocess.287029 ...... 2025-10-22 17:42:41,983 cibuilder=C2=A0 =C2=A0 =C2=A0 =C2=A0 L0322 ERROR| E= RROR: Task=20 (mc:qemuarm-bookworm:virtual:sdk:/work/meta-isar/recipes-core/images/isar-i= mage-base.bb:do_rootfs_postprocess)=20 failed with exit code '1' ...... Error log from log.do_rootfs_postprocess.287029: ...... DEBUG: Executing shell function rootfs_cleanup_isar_apt DEBUG: Shell function rootfs_cleanup_isar_apt finished DEBUG: Executing shell function image_postprocess_populate_systemd_preset chroot: failed to run command =E2=80=98systemctl=E2=80=99: No such file or = directory WARNING: exit code 127 from a shell command. DEBUG: Executing shell function rootfs_do_umounts DEBUG: Shell function rootfs_do_umounts finished DEBUG: Python function do_rootfs_postprocess finished You can redo the test on your machine using avocado: 1. Have a clean clone of isar, checkout to branch next and apply your=20 patches: $ git clone -b next https://github.com/ilbers/isar.git $ cd isar $ git am /path-to/0001-my-contribution-to-isar.patch 2.Run kas shell, setup CI prerequisites (avocado, qemu) and cleanup: $ ./kas/kas-container shell kas/isar.yaml --command \ =C2=A0 =C2=A0 "rm -rf /work/build/conf && /work/scripts/ci_setup.sh" 3.Run the failed test: $ cd /work/testsuite $ avocado run citest.py:DevTest.test_dev --max-parallel-tasks=3D1 On my machine (CPU: AMD 7840U, 32G RAM) it took around 16 minutes for the error to show up. Best regards, Zhihang On 10/21/25 13:21, 'Heinisch, Alexander' via isar-users wrote: > Any updates on this patchset? Seems it got lost. > > BR Alexander > > On Wed, 2025-09-17 at 12:35 +0200, alexander.heinisch@siemens.com > wrote: >> From: Alexander Heinisch >> >> By default population of the presets is automatically done by systemd >> on first-boot. >> >> There were several issues with that: >> >> 1. The rootfs we get as a build artifact does not reflect the actual >> system running in the field. >> >> 2. For setups without writeable /etc this fails. With that addition >> it happens already at build time. >> >> Note: Additional services are enabled only. Services already enabled >> during the package installation won't be changed. >> >> Opt-out: `ROOTFS_FEATURES:remove =3D "populate-systemd-preset"` >> >> Changes since v2: >> =C2=A0 - Enable postprocessing to populate systemd presets via >> ROOTFS_FEATURES >> >> Alexander Heinisch (2): >> =C2=A0 Minor cleanup: Refactor ROOTFS_FEATURES assignment for image to >> make >> =C2=A0=C2=A0=C2=A0 upcoming changes more easily trackable. >> =C2=A0 classes/image-postproc: Enable systemd units based on systemd >> presets >> >> =C2=A0RECIPE-API-CHANGELOG.md=C2=A0=C2=A0=C2=A0=C2=A0 | 18 ++++++++++++= ++++++ >> =C2=A0meta/classes/image.bbclass=C2=A0 | 10 +++++++++- >> =C2=A0meta/classes/rootfs.bbclass |=C2=A0 6 ++++++ >> =C2=A03 files changed, 33 insertions(+), 1 deletion(-) >> >> -- >> 2.39.5 >> --=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 visit https://groups.google.com/d/msgid/isar-users/= 1dfe2925-928e-4cde-a4ae-42c61a121603%40ilbers.de.