From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 442C26CCE; Wed, 22 Jul 2026 07:47:34 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id D1F4668D1; Wed, 22 Jul 2026 02:17:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Flag: YES X-Spam-Level: *** X-Spam-Status: Yes, score=3.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_PASS,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,UNWANTED_LANGUAGE_BODY autolearn=no autolearn_force=no version=4.0.1 X-Spam-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no * trust * [2607:f8b0:4864:20:0:0:0:112e listed in] [list.dnswl.org] * 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * [demiobenour(at)gmail.com] * 4.0 UNWANTED_LANGUAGE_BODY BODY: Message written in an undesired * language * [Languages detected: ro] * -0.0 DMARC_PASS DMARC pass policy Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) by atuin.qyliss.net (Postfix) with ESMTPS id 4200268CF for ; Wed, 22 Jul 2026 02:17:18 +0000 (UTC) Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-81ecf499af9so87428737b3.1 for ; Tue, 21 Jul 2026 19:17:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784686637; x=1785291437; darn=spectrum-os.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=YKOJvpGVizcin2o+WnHEvAbnmwkdALFPMko0viBn7rE=; b=E89fct4K3pL/PkVJWz2X23DPXSYsvYIK0SOi5MKPX2Ng15Y9uz4OjfIX3GGscqneX4 XwAq7K0OTR9qfMwkLCZsNWYrBRk9UdfdUzDEaSQaPGupiIiPHir0T/w3mCirIJFs0luT YRYURl7uj4Uamdk5o5fdejO8XetNq7b9YWKl4KAT1bownzy1iKwhfSFTdlot/s+O3GFv wwhVSeveGAOcyXATBUXomVdf5wecScpH3rFhwVr4pAZPYdY5w7tPeYQqB1mCgqHbguhR 7CTcP2wv35tuyDuYsInlEwJaQVr18Kc5NyXUy9CcS40uoAwyAPpcJn4qS4myvYutMEFN THvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784686637; x=1785291437; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=YKOJvpGVizcin2o+WnHEvAbnmwkdALFPMko0viBn7rE=; b=rNyz8yDbkDA1sBcYYFtx+5B0XQGTGlDVXIlHIG28lhePK6G/uJjOMYzw5E+skEwgB8 taha7DC4VSwKm2/YayVVew4s3R7FEHwdAPjCU2zOAzLOMP41iVFUXy24hfaA9P/MdJ+M gPJm8Gftp++8gllAAIWHdrkCa/D1UoYLXLJHShr4lNr4j/WnwIoUzOJG/Wj4ZvyvEdMm MXbk+XAfPG+zbgn4YGOEtyzHO0/e3zHE+9aDzgd06zTJhHPo5njXprHBSDH/5lFo30at Ndc4r1h3uq88Gjinb2GStwKGtYBNPYRXzWxMrZAvhzCvEUaPYdg/QXwqRAq245H5fyzq iMCw== X-Gm-Message-State: AOJu0YwdtliO4MYDJ8MKJogRDSkSvl57s0LlZrByrBVSUHnGFMNq/0II HmmoRoQBRjTq2XxLBhvRs+3sKIARHwPlkAclSk45OWYdfnEfLjVxrzvLWM2bkA== X-Gm-Gg: AR+sD11Fbh8AOzfIe8n0MqBoz9HhxD/zT9hRBkvVOozvBESWTcT2EF8f2GifkhjCLsx 34v/NjX9nf6a54oaoHDozi9gqfABFD+UDJP4DKsfxncx6p8upJ0TQOJvBbhcaTQTRQUXBUc7Fox nyBu4WbqOWv906cgENC2QjrxOIiTzVilSJG0RQe7PCInKzK8r5ljFxlldAlrRvXD/2bKVSCnRUY qj6dDF20Xr4vepAa8vlc/Z4NgkOfYDFvL9E8oxADOcdJKXwT5wbzq4mNEBR6PhAX0rSjBIGdTer tfpU2LA7sJnObvEYuzkVYsAMlLfCuzXawbNjqK39+CdZSyWcyDO/L5tF+nkS5G22LmqUg+4RWDr pn9GK37ReNhcJjr+6edR07r1Ickjbx0P3DwbaFfxEasywihJgmbaaazXoky5Pq2aUclKp9NHipv PswndGWex4fYk6f8w= X-Received: by 2002:a05:690c:c453:b0:80c:85e5:872c with SMTP id 00721157ae682-81ef26b4fd9mr66413427b3.58.1784686636764; Tue, 21 Jul 2026 19:17:16 -0700 (PDT) Received: from localhost.localdomain ([185.98.168.14]) by smtp.gmail.com with UTF8SMTPSA id 00721157ae682-81f33bf2e45sm6864627b3.5.2026.07.21.19.17.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2026 19:17:15 -0700 (PDT) From: Demi Marie Obenour Date: Tue, 21 Jul 2026 21:59:19 -0400 Subject: [PATCH v4 14/20] host/rootfs: dbus: Run in cgroup MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260721-cgroups-v4-14-46b2e5fff7b6@gmail.com> References: <20260721-cgroups-v4-0-46b2e5fff7b6@gmail.com> In-Reply-To: <20260721-cgroups-v4-0-46b2e5fff7b6@gmail.com> To: Spectrum OS Development X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784685545; l=2623; i=demiobenour@gmail.com; s=20250729; h=from:subject:message-id; bh=62/+C52JTbkNgO8GbXYmzW4qAolBGFGmOT+2xyKCBeU=; b=5F74hEttaVxwHbzbDFLSIRWUHKX73EEcl0/fLxzol0kLcdi1z0j5OkLNNu1Hrx4QrASzq3eDM y4dnBWl8F8oDU8wRfbYDR/4/4yhXnl8OVbzvifPmSUPgv/hvqwvOKe4 X-Developer-Key: i=demiobenour@gmail.com; a=ed25519; pk=X57Q4/YQDj9t4SBeKaDwvXYKB6quZJVx/DE2Ly2out0= X-MailFrom: demiobenour@gmail.com X-Mailman-Rule-Hits: header-match-devel.spectrum-os.org-4 X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; header-match-devel.spectrum-os.org-3 Message-ID-Hash: CKS5ZXHDGUZSJYWPJQ33VTDXIKTZAMK3 X-Message-ID-Hash: CKS5ZXHDGUZSJYWPJQ33VTDXIKTZAMK3 X-Mailman-Approved-At: Wed, 22 Jul 2026 07:47:29 +0000 CC: Demi Marie Obenour , Alyssa Ross X-Mailman-Version: 3.3.10 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Signed-off-by: Demi Marie Obenour --- host/rootfs/file-list.mk | 1 + .../run-image/service/vm-services/template/data/service/dbus/finish | 5 +++++ .../run-image/service/vm-services/template/data/service/dbus/run | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/host/rootfs/file-list.mk b/host/rootfs/file-list.mk index 33b7f869da7dfdb8bde6c70ebd9acd5e0f2856c1..4835a84593f5e006a7b86170a065903a9dd324aa 100644 --- a/host/rootfs/file-list.mk +++ b/host/rootfs/file-list.mk @@ -28,6 +28,7 @@ FILES = \ image/etc/s6-linux-init/run-image/service/serial-getty/template/run \ image/etc/s6-linux-init/run-image/service/vm-services/notification-fd \ image/etc/s6-linux-init/run-image/service/vm-services/run \ + image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/dbus/finish \ image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/dbus/notification-fd \ image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/dbus/run \ image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/spectrum-router/down \ diff --git a/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/dbus/finish b/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/dbus/finish new file mode 100755 index 0000000000000000000000000000000000000000..4d5b454e97c3584d0644c2d738514f13b1c53957 --- /dev/null +++ b/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/dbus/finish @@ -0,0 +1,5 @@ +#!/usr/bin/execlineb -WS3 +# SPDX-License-Identifier: EUPL-1.2+ +# SPDX-FileCopyrightText: 2026 Demi Marie Obenour + +cgroup-s6-finish $@ diff --git a/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/dbus/run b/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/dbus/run index 331d9a57e8d99eb8d6f7b33031cd130b410a6157..38d5836acb9db2d8a8bee25e3e9527a9061ed837 100755 --- a/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/dbus/run +++ b/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/dbus/run @@ -1,8 +1,8 @@ -#!/bin/execlineb -WP +#!/bin/execlineb -Wp # SPDX-License-Identifier: EUPL-1.2+ # SPDX-FileCopyrightText: 2024-2025 Alyssa Ross -importas -i VM VM +vm-service-run if { redirfd -w 1 data/dbus.conf -- 2.55.0