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 BF0B0A5F0; Sun, 30 Aug 2026 06:45:44 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 3461CA5D5; Sun, 30 Aug 2026 06:45:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_PASS,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=4.0.1 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 6ED3BA57E for ; Sun, 30 Aug 2026 06:45:42 +0000 (UTC) Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-836c8bdac50so27867237b3.0 for ; Sat, 29 Aug 2026 23:45:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788072341; x=1788677141; 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=usu830YIGFEfnLc8gIliA1/Kgd2eV+1sACdoZZM9v3w=; b=BVpSd5U1Iu6UgT2d8rs7aTIemEbOoP19oUEwKl7sSbcEq+jUtiQN/v37R6n0YiZaZq lJVArGI22/Zj503Rz9b3CLY+ln8W0F02V4tOEFt8VtkEivrPZJmLNlYwSGaApoj+iVpl zQnWnnkfd5+JXf7v33yYDJcjzaAFQobrIbRTdqetoo6ysA4B4FUIEtBabS931K2n9v/F zvKNpTjqjJTsPpQSnno2wOJrmUxr6gQ1rF9+lUR/NtGSi4QgapeFEA0zPUwpTjuCbXB+ NDb5joD6iPkNCxd93591NZn30iqmb9iU1+lbAYzIVESkWyCPxko1wKMzuu+e8uL8CYZO 8EXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788072341; x=1788677141; 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=usu830YIGFEfnLc8gIliA1/Kgd2eV+1sACdoZZM9v3w=; b=d2Kfv+1DVdRLsavD++1i85n72SZUV4G17vOgr9W2u1g/TZuveVgyb2ZepPYW1Rle/C VozhK77W+odlrX4brtOvFv3S0KRwadAwl2RHQMGJ1Dq7zZtofHthDfUsnMWGubcHfOA5 IDDPAMv4NxZ5SNBHkMeVSRwNpvIWFNCgtwgerIalz2JaBHxDox1HKdD2vUQQOPxEFCa/ QQMcTeL5FvG7uygWyJD49lY16Orcke+hDs8Fj9nj1p+BxoHFCfR61d2mlQtcPuWW7vVw kCCXHovvs1b8aOgvdCZf/rSe8q30FO4F6hEL+xGrxQFJo0VitgdhVLBnE2apllEZyW4C N88A== X-Gm-Message-State: AFuF++kvIa6piMBLHjrcwLDlLWPqxmxEfOmGs+kUcQ1IKSJjX5Z/k4y5 yWD2K8lMLRTMM6u4lg2Dy842xfalRdaynsqsZQztkQ4KtZMl1uMlpCNbJFtKlQ== X-Gm-Gg: AYBFou3+rgvOsp0LkiRnTho1sZTJrUMFBgaFbjpGfqaWUuI+bloB/FFbdgDM3KDihTr PXOQRv2z0w91Tez70uK/Ft5AOGuVkqeBur9PDSwPwoRZLeAkwOQrx5TfWFw5P87nBob9kpCHR/z mh6TIeiB/DOelffihgXWdVkaIZEtucaS9TvHN2OMmJbQhPF0ScbDntVzrGFtDscNXET0w3jecni UZDUPD78TUP/oT1WXCEZOQ6+LNqc3QQDQfgAyMCn9I1NH2Qs0N3jZ5XnEwDk6bY79t9ombENmRh NUJe/X081M2ZwK0+IMZSGX98rTDtpBwDElKy1DTqLfwmfaTWBuHw34Slmq0NGfUPmO+y8WJXGr4 7OBwnqK7ZAkMATRJWBPL1CtbznvI33EL6+LKljior5paXomsdbsRqQSzzrAeGRAJu7xHi1xQcuB aDGLB20tzA85SQetW/dJD113OHzYfg5awJ+Dq1qo+jDVlr7/jCzyWTNc77uEDzYv5Xglr894udn Q== X-Received: by 2002:a05:690c:3385:b0:857:f33:6f03 with SMTP id 00721157ae682-85d6dd65f92mr72893467b3.29.1788072341365; Sat, 29 Aug 2026 23:45:41 -0700 (PDT) Received: from localhost.localdomain ([185.98.168.14]) by smtp.gmail.com with UTF8SMTPSA id 00721157ae682-865027c6296sm1352697b3.38.2026.08.29.23.45.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Aug 2026 23:45:40 -0700 (PDT) From: Demi Marie Obenour Date: Sun, 30 Aug 2026 02:06:48 -0400 Subject: [PATCH v8 14/18] host/rootfs: dbus: Run in cgroup MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260830-cgroups-v8-14-239b09ba7013@gmail.com> References: <20260830-cgroups-v8-0-239b09ba7013@gmail.com> In-Reply-To: <20260830-cgroups-v8-0-239b09ba7013@gmail.com> To: Spectrum OS Development X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1788069995; l=2536; i=demiobenour@gmail.com; s=20250729; h=from:subject:message-id; bh=c0j2pOaLTUn2mn4KUXxC1Q/qsdeHlqHGJijGRfxuAZ4=; b=w1X/HnOMYNnmgBfGsNDMR6N6n/RTPlvp0bBhIYMgd04aB3QxO4MA9naQJ4au0gCc9udipS/8c JR21t5b/dE2Du8IURO8NrOWA0rGEV0U7krCp7HgE5XSf0N9IS3A+3Eh X-Developer-Key: i=demiobenour@gmail.com; a=ed25519; pk=X57Q4/YQDj9t4SBeKaDwvXYKB6quZJVx/DE2Ly2out0= Message-ID-Hash: 3ANBVF7OFPXLQFKTVELB6X7QNUZU4LY6 X-Message-ID-Hash: 3ANBVF7OFPXLQFKTVELB6X7QNUZU4LY6 X-MailFrom: demiobenour@gmail.com X-Mailman-Rule-Hits: member-moderation 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; header-match-devel.spectrum-os.org-4; emergency 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 | 2 ++ 3 files changed, 8 insertions(+) diff --git a/host/rootfs/file-list.mk b/host/rootfs/file-list.mk index 5f7b0c3fc1d7d7f8dc184ecc991126a793e316c6..ea88f25aa4d5b96d29ed86975db12c2b047a0468 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..60ab4aad95aa17e28a97a91c885228ddeb53ccd3 --- /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 -WP +# SPDX-FileCopyrightText: 2026 Demi Marie Obenour +# SPDX-License-Identifier: EUPL-1.2+ + +cgroup-purge dbus 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..a9ebb2d6a7202f1f290c8623b3956d3195c0c95c 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 @@ -4,6 +4,8 @@ importas -i VM VM +cgroup-setup dbus + if { redirfd -w 1 data/dbus.conf sed "s/@XDP_SPECTRUM_USER@/xdp-spectrum-${VM}/g" /etc/dbus-portal.conf.in -- 2.55.0