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 555743DC2; Wed, 15 Jul 2026 18:30:23 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id D8C5F3DAD; Wed, 15 Jul 2026 18:30:20 +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 fhigh-b1-smtp.messagingengine.com (fhigh-b1-smtp.messagingengine.com [202.12.124.152]) by atuin.qyliss.net (Postfix) with ESMTPS id 95A313D75 for ; Wed, 15 Jul 2026 18:30:19 +0000 (UTC) Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id 5B1517A000F; Wed, 15 Jul 2026 14:30:18 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Wed, 15 Jul 2026 14:30:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1784140218; x=1784226618; bh=Cb3Qj/gg5+ OymvSptunG52vtr0MVkvy0EvEOZfQLQZ8=; b=lHCkBsaTVNvcvPbAWJu+cUbx4m sBVeY34InRHRd7V1mFnr/vFP7NWU6hWSVd4eE5k7Vj3P/KxMrfKEad0++s3Ohab0 OBoqdYqnu2+/RYc3YUaA65RbQpu1Vp5Ai+DIrVOsmC/rwLCZPuzVBNehpZR6a6SJ Y7AH0pOmHqoyX3cVOj7rD64J1fJjhTvQMx4U9tm4xIAyhqGtuC16WJuC2bxAudWj iBn3anXCt8NH1DJLLnVTsNySJh1yR0/G722lrO69zEkV3W5QZTdRj5ypF5UMsiCD zeQg0ni72B7G2kvL47MivRj/MlqBdxYU6ZZh2C8qsy0Vt9iKI8fV0eMrnC4g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type: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=fm2; t= 1784140218; x=1784226618; bh=Cb3Qj/gg5+OymvSptunG52vtr0MVkvy0EvE OZfQLQZ8=; b=mBXi3ZREC5TwiX0MNsCFWP+zN0il8hbqHSKVL4tw/culhXVSmlc 3Q+mJPbNSMAGzSSmjUHQIbOm1+VWB7qFfXp409aZdIPHTnrvJ1lYks9CO+Bmcr1e VBq3e6sP85yN/esJTXm0D0IPMrHTez6Z2DUpPJ3QadZdsCTPH7uimS9XcHbVeGqr Tx9Mt1j6UOzRoPCrgF3hrgpyFNFQEgocOt2uHrd526+GFo25UqQd45jLlHoyKuin piTiEGbomLuFJYdguhc337nh4kmy8vLGXPI+fQpAsiaGZtDkpou3M+NzL8XR7KdS 3BZSIDHCntqPanmcawsfbRC7p27QQKuOQBQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTFlqDyXQQAmH0pkciCfu/E4G8Thn4NeZdbxdxEAFOMWN5XIEN5HBUwN3dWOTIh7Of IhMwef/c+ORvdK9KqEpjdz4rz+4yIZ7ekwodrVSxp8HTpDU9MxABn4VLyqiXoXZhWRdWFg 8Kj86KfVKIsQ5O+dtq0C6F8ym/UFfTLzJIpZ4DkxH1SRVusw39os/GHZL7sHo8DSmmB+6H 3x35a40IA2+HoMzhbX4cLMex+ZG0uJM63mtU7y+KFUulbxCGIk1vOmjqBHp6prk5cr/7ut q2SHXdwzndHl/AU7yrSk3klDQXCmnIgD41+e/1ArHFLIXErYOFbXsqsVMfj49KWvzojhBz 9MmSwSOTEM7YlOXYiIJUeTp9usIm07PVN8sVjGwZHiAn+QOMfGhXAcsP6WXKHMls/80D4p ujlRalsWQnxQmjDLXydOrU+1KDgXrgEUOSTiNlJWK4QITQ8wjCDraem6xkjlSRj4Dde1Dk WHQCVQgL1tnChBDgH1Zvl0lep73OWboeUg7E3mgV3vwmjmoZgslRUOefimn7A1ZuvWdbGQ 9CoL70wCBKu9p6dCWG9IV8/+goDiazraz78PAEJsO0HK7cGKhVF5cS6rPPmSK2RSHBgp6W F4TSBlEl9djX7tkjp+mQ+Qe801xWjllpd2Dwrv403SWhga5M8XzVZMhKmoWA X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 15 Jul 2026 14:30:17 -0400 (EDT) Received: by mbp.qyliss.net (Postfix, from userid 1000) id C711F89554DC; Wed, 15 Jul 2026 20:30:14 +0200 (CEST) From: Alyssa Ross To: Demi Marie Obenour Subject: Re: [PATCH v3 02/22] scripts: Support symlinks in s6-rc-compile inputs In-Reply-To: References: <20260711-cgroups-v3-0-5cba61a20cba@gmail.com> <20260711-cgroups-v3-2-5cba61a20cba@gmail.com> <87zezvz0ng.fsf@alyssa.is> Date: Wed, 15 Jul 2026 20:30:12 +0200 Message-ID: <875x2gqf63.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Message-ID-Hash: C3PG7HN35SJODLCXLSMNZ2RYMUMSQPNT X-Message-ID-Hash: C3PG7HN35SJODLCXLSMNZ2RYMUMSQPNT X-MailFrom: hi@alyssa.is 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; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Spectrum OS Development 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: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Demi Marie Obenour writes: > On 7/13/26 05:42, Alyssa Ross wrote: >> Demi Marie Obenour writes: >>=20 >>> Finish scripts can (and often will) be symbolic links to >>> /usr/bin/cgroup-setup. >>=20 >> As we've previously discussed, using symlinks in s6-rc services is not a >> good idea. s6-rc-compile copies the contents of symlinks, meaning that >> if you have a symlink to a big binary, you end up with lots of copies of >> it in /run. It's better to use a regular execline script that execs the >> program you want to run. > > What about having it be a symlink to an execline script? That's small > enough to safely duplicate, and it keeps the code in one place in the > repository. What code? It's just a single line script that runs another program with what, one argument? And it's not like fundamentally no other service is ever going to want to do anything else in its finish script. It makes more sense for them to not be shared, so that it's not inconvenient to make service-specific finish script modifications. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRV/neXydHjZma5XLJbRZGEIw/wogUCalfRtAAKCRBbRZGEIw/w op4nAQC2wZTp+I/FddKg6SbUcDVXg3VE7FdmPfHEU8Iuk01mlgD+PVjZWmBQVYvI FBCecn8SnNtGn0R/XkAsyTJmGJbnZAY= =9a4r -----END PGP SIGNATURE----- --=-=-=--