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 1262DC595; Wed, 26 Nov 2025 21:34:53 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id DC21CC4BE; Wed, 26 Nov 2025 21:34:46 +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.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_MISSING,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from fout-b4-smtp.messagingengine.com (fout-b4-smtp.messagingengine.com [202.12.124.147]) by atuin.qyliss.net (Postfix) with ESMTPS id 11BC9C405 for ; Wed, 26 Nov 2025 21:34:39 +0000 (UTC) Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.stl.internal (Postfix) with ESMTP id 0AC981D00161 for ; Wed, 26 Nov 2025 16:34:37 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Wed, 26 Nov 2025 16:34:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1764192876; x= 1764279276; bh=FGflhN2ZLWekLs+B1WibbDtnbEXBMA54QKWLTZSUSU0=; b=m zUebV9jk/kng3+ElXC7/LlrYLrpETFYxaYcKyHx+QVtfR+NeaIl8TFWDTqL9jPXF ygexNnP/bZHRupExABK1m5UHXUDK86vo7xPQY8lBtYJTk6gsDLwhtGCgEJUe66/0 oW1hZmlFKQJA8MgRKGv0b1Qjr3p6tCi7uLYPAMdYkg1p+ZFs3PokQn/dU4ppAfIo DwlqP7oZJXtfkk8Go+yRCUzcdE7QHzUE1g2YjFWw/TGyqJd9/dZ3iYEBviocwMtZ J4rCl1PN/ljDZKTLGcHBuGELARPY136TqApz8+ajT39vqmKbZF7015TAR+nDHFUk tfW4c5dVgTIu23UxB+9dg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1764192876; x=1764279276; bh=FGflhN2ZLWekLs+B1WibbDtnbEXB MA54QKWLTZSUSU0=; b=QbP/IQTiZkpXILmZb4BXTaHhAQWi477z9gWHYJzXbVLN vYcxIeKWLXqTdK1OpWQUonQaBpW3OAc3AzDoLapdRRjBNgkTOkP+06ljKwP1dgJ9 35CBS7IYR5LLHK/0g8NHqd0XFF9LIOeKUbqqSsI/UgNtr6MqG3F9Sl/cUY23y7DH jotQn36lH0hmC77k0DD8bXXZA6OarHsUtWM/cg87Aeu5hp5mPC5jg4u0fyVOEgYg WF6wmbCi+s+jWmrcfjRkzxbEpo1EozvPwOZvFuPjcqtCEF9GlNH2TpF57u206RPH ikhfGYIQsBLB3V6iSC4LFGlGoFTGIYBz9hh61PbJzg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvgeehgeegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekredtre dttdenucfhrhhomheptehlhihsshgrucftohhsshcuoehhihesrghlhihsshgrrdhisheq necuggftrfgrthhtvghrnhepgfefudekvdelieelledufeevheeglefggedvudejvddtff euueevffehleejkedvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomhephhhisegrlhihshhsrgdrihhspdhnsggprhgtphhtthhopedupdhmohguvg epshhmthhpohhuthdprhgtphhtthhopeguvghvvghlsehsphgvtghtrhhumhdqohhsrdho rhhg X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 26 Nov 2025 16:34:36 -0500 (EST) Received: by fw12.qyliss.net (Postfix, from userid 1000) id DC2682981B45; Wed, 26 Nov 2025 22:34:18 +0100 (CET) From: Alyssa Ross To: devel@spectrum-os.org Subject: [PATCH 06/13] img/app: remove XDG_RUNTIME_DIR Date: Wed, 26 Nov 2025 22:33:59 +0100 Message-ID: <20251126213407.1773744-6-hi@alyssa.is> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251126213407.1773744-1-hi@alyssa.is> References: <20251126213407.1773744-1-hi@alyssa.is> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: BUN4QD5CEU67GVUDEDCLICQCD5TJ6YBM X-Message-ID-Hash: BUN4QD5CEU67GVUDEDCLICQCD5TJ6YBM X-MailFrom: hi@alyssa.is X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; 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; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Nothing uses this any more, and let's hope it stays that way, because it makes it difficult to run services as different users. Maybe we end up finding something that really needs it in the future, but it makes things much easier to avoid it for as long as we can. Older applications might not support WAYLAND_DISPLAY being absolute, but this has been changed in libwayland and GTK. We don't need to support arbitrarily old applications, and this problem will resolve itself over time. Signed-off-by: Alyssa Ross --- img/app/file-list.mk | 1 - img/app/image/etc/s6-linux-init/env/XDG_RUNTIME_DIR | 1 - img/app/image/etc/s6-linux-init/env/XDG_RUNTIME_DIR.license | 2 -- img/app/image/etc/s6-linux-init/scripts/rc.init | 3 --- 4 files changed, 7 deletions(-) delete mode 100644 img/app/image/etc/s6-linux-init/env/XDG_RUNTIME_DIR delete mode 100644 img/app/image/etc/s6-linux-init/env/XDG_RUNTIME_DIR.license diff --git a/img/app/file-list.mk b/img/app/file-list.mk index d63ee76..d452ebd 100644 --- a/img/app/file-list.mk +++ b/img/app/file-list.mk @@ -22,7 +22,6 @@ FILES = \ image/etc/s6-linux-init/env/PULSE_RUNTIME_PATH \ image/etc/s6-linux-init/env/WAYLAND_DISPLAY \ image/etc/s6-linux-init/env/XDG_DESKTOP_PORTAL_SPECTRUM_GUEST_PORT \ - image/etc/s6-linux-init/env/XDG_RUNTIME_DIR \ image/etc/s6-linux-init/run-image/service/getty-hvc0/run \ image/etc/s6-linux-init/run-image/service/s6-linux-init-shutdownd/notification-fd \ image/etc/s6-linux-init/run-image/service/s6-linux-init-shutdownd/run \ diff --git a/img/app/image/etc/s6-linux-init/env/XDG_RUNTIME_DIR b/img/app/image/etc/s6-linux-init/env/XDG_RUNTIME_DIR deleted file mode 100644 index 70a6671..0000000 --- a/img/app/image/etc/s6-linux-init/env/XDG_RUNTIME_DIR +++ /dev/null @@ -1 +0,0 @@ -/run/user/0 diff --git a/img/app/image/etc/s6-linux-init/env/XDG_RUNTIME_DIR.license b/img/app/image/etc/s6-linux-init/env/XDG_RUNTIME_DIR.license deleted file mode 100644 index a941ca4..0000000 --- a/img/app/image/etc/s6-linux-init/env/XDG_RUNTIME_DIR.license +++ /dev/null @@ -1,2 +0,0 @@ -SPDX-License-Identifier: CC0-1.0 -SPDX-FileCopyrightText: 2023 Alyssa Ross diff --git a/img/app/image/etc/s6-linux-init/scripts/rc.init b/img/app/image/etc/s6-linux-init/scripts/rc.init index 0bf350a..762081f 100755 --- a/img/app/image/etc/s6-linux-init/scripts/rc.init +++ b/img/app/image/etc/s6-linux-init/scripts/rc.init @@ -13,7 +13,4 @@ if { s6-rc-init -c /etc/s6-rc /run/service } if { modprobe overlay } if { mount -a --mkdir } -# /run/user/0: "$XDG_RUNTIME_DIR" -if { mkdir -m 0700 /run/user/0 } - s6-rc change ok-all -- 2.51.0