From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from alyss.skarnet.org (alyss.skarnet.org [95.142.172.232]) by inbox.vuxu.org (Postfix) with SMTP id 9F1702935A for ; Sun, 7 Jul 2024 11:06:44 +0200 (CEST) Received: (qmail 49127 invoked by uid 89); 7 Jul 2024 09:07:06 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Received: (qmail 49119 invoked from network); 7 Jul 2024 09:07:06 -0000 X-Virus-Scanned: Debian amavisd-new at web14.point.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sopka.ch; s=default; t=1720343196; bh=3Ay6bXvZD4N/2J2G5ovnG/CdTKnsbDFTfkK4bfGtsCo=; h=Received:Received:Subject:To:From; b=o3WSmj5jmP7A7jrbQwjO+AcJAXn6LxL1vapsiwuoheBI7QAHQaZXXSjnlNY30XTRj hTcCChdtUT0UQHJZw7tEVVS0S3Ni+BfjtBGHvxcP+NoMTrAIh67awqM1TrX1wvXhnl ApIDuuAsJ+iBEpe7VQDv5+2HZ7F/zDR+hO91UapI3zdpJw5Iy5D0Z6C9UJrULXrgr3 WrULAsk5FQMWe7nlshshbVLpfnOrmVkEfQTOnh0YdTvMLKMRWphw6oeBFUEp5jRi49 RhehOGtVdIiVh9lQP/X/PJtcGwiqv5/tIQXDbMbuW9IWA+ZjcSMfcqBsMqXbguk/VN g2bFLTy0ngOzw== Authentication-Results: plesk.origon.ch; spf=pass (sender IP is 127.0.0.1) smtp.mailfrom=psopka@sopka.ch smtp.helo=plesk.origon.ch Received-SPF: pass (plesk.origon.ch: localhost is always allowed.) client-ip=127.0.0.1; envelope-from=psopka@sopka.ch; helo=plesk.origon.ch; Authentication-Results: plesk.origon.ch (amavisd-new); dkim=pass (2048-bit key) header.d=sopka.ch Received-SPF: pass (plesk.origon.ch: connection is authenticated) Message-ID: <3ed2cd6a-660b-4a3d-b456-584650790f4c@sopka.ch> Date: Sun, 7 Jul 2024 11:06:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: s6/s6-rc policy for Gentoo: XDG Base Directory Specification To: Carlos Eduardo , supervision@list.skarnet.org References: Content-Language: en-US From: Paul Sopka Autocrypt: addr=psopka@sopka.ch; keydata= xsFNBGW5FlEBEACi9wDm7vnwoxMy6ejpZQh2Z1Mpr4fTKJyWLn3sZFAjmQKcsT/ORt0rVSBO 5eXoGjbk5Hor2l67mui85a4KWawHbYFC95hpA9K/alfGyQH56SnL5G55DDcz3avkLrJ9bHJD 4y4ScEzweYW2IjYr90FKqZWWcdqzYDqmqRtf5/rdkmY6YVtpBISIfYNbBRPE3CJuY7HOpQ4s qAmb5iRsXN38hv7UQj9MsJl5Q0cxgcFcRGy9dAM5voX1Xh+h9svS1MZuaxzyLR0YvCzAcY8c 7uUsXjj67/NmeHpl5pYHiT19g/wcHbudYLI+pikx4EcskinZ1peZbrbBdVdBeOtukBzaMuFe dOcSpAWbDDK7e4cwZnPse130FjNECzIrNAB2lK2rb9f2PCyZSRCW7QBG63IUREWZTLBm47Dy avMzh+wGV6Jx6kigdngJDtIXXDzw2ZWAMMT2MEPX4HC1POH8b1DZ/QxzC+2SQbJNfrQitm0K kOo8o2gqMpuBABAYzQwRJXNteeW5ZccbgdQ0+m61kV/P71bmeiasvJGyecxzOfRUDei7b3Lh 8O5xPHP1dq23E9R76fCaCCiutfiZT5zT5dbn8XGqBmKI9z8VGEfCBdFbopZd4fpQPmVNWlR0 yrM7DnHST1OJtGZ2/gwk0Py2dO+lbZDQMqVRVYXT1dYenwYa5QARAQABzRxQYXVsIF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mQP2j0lYrEZZJmZ+bu9Edrv/v 67mNDnzCANN1UhuoKODK2Wijcmbtu/7d78SBzxTEjh3RXMZKLS57N78fNnEGnuF9IS9vOU43 y5QCmGCCZsf/r5d5hx2yxqrNInoPiGuY64XUMJXfFbA36ZPoLsvxoK0+8QRhtw== In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------KhCqAJQu2MHPq8zd9L0buglO" X-PPP-Message-ID: <172034319237.655265.10134493630356964661@plesk.origon.ch> X-PPP-Vhost: sopka.ch --------------KhCqAJQu2MHPq8zd9L0buglO Content-Type: multipart/mixed; boundary="------------yJiponhNXDbYTdrtRCYWHRFN"; protected-headers="v1" From: Paul Sopka To: Carlos Eduardo , supervision@list.skarnet.org Message-ID: <3ed2cd6a-660b-4a3d-b456-584650790f4c@sopka.ch> Subject: Re: s6/s6-rc policy for Gentoo: XDG Base Directory Specification References: In-Reply-To: --------------yJiponhNXDbYTdrtRCYWHRFN Content-Type: multipart/mixed; boundary="------------tA0B7W0eXRPCsyuWmyvwJan9" --------------tA0B7W0eXRPCsyuWmyvwJan9 Content-Type: multipart/alternative; boundary="------------JGavWUFdd7t6LAywfYjwp2sY" --------------JGavWUFdd7t6LAywfYjwp2sY Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 PiBJIGRvbid0IHRoaW5rIGF2b2lkaW5nIFR1cm5zdGlsZSAoYW5kIHNpbWlsYXIgcHJvamVj dHMpIGluIGZhdm9yIG9mIHM2DQo+IHNlcnZpY2VzIGlzIHJlYXNvbmFibGUsIGdpdmVuIHRo ZSBjb25jZXJucyB5b3UndmUgcmFpc2VkIGluIHRoZSBmaXJzdA0KPiBibG9jayBvZmh0dHBz Oi8vc2thcm5ldC5vcmcvbGlzdHMvc3VwZXJ2aXNpb24vMzEyMi5odG1sICAoZXNwZWNpYWxs eQ0KPiAiSSdkIGxpa2UgZm9yIHRoZSB1c2VyIHN1cGVydmlzaW9uIHRyZWU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WJvdXQgYSByZXBsYWNlbWVudCwgYmVjYXVz ZSB0aGUNCj4gY3VycmVudCBzaXR1YXRpb24gaXMganVzdCBob2xkaW5nIHdpdGggbWFzc2l2 ZSBhbW91bnRzIG9mIGR1Y3QgdGFwZSwNCj4gZ29vZA0KPiB3aWxsIGFuZCBoZWFkYWNoZXMs IGFuZCB0aGlzIG1ha2VzIG1lIGZlYXJmdWwgZm9yIHRoZSBmdXR1cmUuIA0KDQoNClRoYW5r IHlvdSBmb3IgeW91ciB2YWx1YWJsZSBpbnB1dCENCg0KSGF2ZSBhIG5pY2UgU3VuZGF5IQ0K DQoNClBhdWwNCg0K --------------JGavWUFdd7t6LAywfYjwp2sY Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

I don't think avoiding Tur=
nstile (and similar projects) in favor of s6
services is reasonable, given the concerns you've raised in the first
block of https://skarnet.org/lists/supervision/3122.ht=
ml (especially
"I'd like for the user supervision tree to only start on-demand").

I do not want to avoid them, they are straight up required to setup option B) from https://skarnet.org/lists/supervi= sion/3114.html.

Instead, I want to delegate as few functionality to them as possible. Why should I e.g. delegate the creation a directory to a binary, configured through its own config file, if it would just be one line in a script that loads the defining variables and is ran anyway?


Turnstile's interface is r=
easonably simple and easy to implement in an
alternative: backends are effectively supervised 'run' (in the
s6/runit sense) scripts for the service manager with extra arguments,
and I believe it to be pretty much the minimum viable program for
adding XDG_RUNTIME_DIR compliance to any given service manager.
I experimented with Turnstile yesterday and hit major roadblocks.

Here is what I have understood it does:

once the user first logs in:

a1) execute "${BACKEND} run ${notification_fd}"=C2=A0=C2=A0=C2=A0 = with an environment of ${USER}, ${HOME}, ...

=C2=A0once ${BACKEND} writes back to ${notification_fd}:

a2) execute "${BACKEND} ready=C2=A0${string}"=C2=A0=C2=A0=C2=A0= without the environment, but passing what was written back to ${notification_fd} beforehand as ${string}

once the user last logs out:

b1) execute "${BACKEND} stop"

b2) kill the process started in a1) (in our case s6-svscan)

From that structure I naturally would propose the following script, having ${XDG_RUNTIME_DIR} managed by Turnstile:


#!/usr/bin/env execlineb

importas directive 1
importas readinessPipe 2
importas -S XDG_RUNTIME_DIR
importas -S USER

case ${directive}
{
=C2=A0=C2=A0 =C2=A0run
=C2=A0=C2=A0 =C2=A0{
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 foreground {
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 install -d= -o ${USER} -g ${USER} ${XDG_RUNTIME_DIR}/service
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 redirfd -w 3 ${readinessPipe}= s6-svscan -d3 ${XDG_RUNTIME_DIR}/service
=C2=A0=C2=A0 =C2=A0}
=C2=A0=C2=A0 =C2=A0ready
=C2=A0=C2=A0 =C2=A0{
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 foreground {
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 s6-rc-init= -c /home/${USER}/.local/share/s6-rc/compiled -l ${XDG_RUNTIME_DIR}/s6-rc ${XDG_RUNTIME_DIR}/service
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 s6-rc -v2 -l ${XDG_RUNTIME_DI= R}/s6-rc -up change default
=C2=A0=C2=A0 =C2=A0}
=C2=A0=C2=A0 =C2=A0stop
=C2=A0=C2=A0 =C2=A0{
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 s6-rc -l ${XDG_RUNTIME_DIR}/s= 6-rc -bDa change
=C2=A0=C2=A0 =C2=A0}
}

exit 100


This does not work, since when a2) is invoked to run the "ready" part, we do not have ${XDG_RUNTIME_DIR} anymore. I do not see how to solve this without a workaround.

A possible workaround would be doubly defining XDG_RUNTIME_DIR, once in the Turnstile config and once in an env file which is sourced in the "ready" "function".


I have two major issues here:

A) ${BACKEND} is always invoked with the user's privileges, thus it can not create ${XDG_RUNTIME_DIR} itself.

B) a2) happens without the environment, see the issue with the script.


I think A) is a problem, since I am planning:

a)=C2=A0 to have a central user env file, preferably at /home/${USER}/.config/s6-env (${XDG_CONFIG_HOME}/s6-env), for the user to tweak his settings, e.g. ${DBUS_SESSION_BUS_ADDRESS}

b) to have a central sysadmin env file, preferably at /etc/s6-rc/config (or similar), for the system admin to tweak the settings, e.g. the ${XDG_RUNTIME_DIR} general structure, the creation of which has to be delegated to Turnstile, since the script does not have enough permissions. This would then have to be doubly defined(once in the Turnstile config and once in the env-file)


Saying "this will make it =
easier to implement an alternative"
overlooks the fact that the complexity will be shifted into the
service set and the service manager. Is it really worth it to go
through dynamic services and events (at least, one `install -d`
oneshot per user, and a first login/last logout event source), and
probably other things required to make this more reliable, pretty much
just to make a folder?
I agree about the complexity shift. But I think the solution of using Turnstile just as a "notifications-system" is the best: ideally it should do the following: if ${USER} first logs in, start the system service ${USER}, if he logs out of the last instance stop the system service ${USER}.

This yields the following advantages:

A) The added complexity is in my opinion negligible(see my current scripts here: https://skarnet.org/lists/supervi= sion/3123.html).

B) My idea gives the sysadmin and the user more control over their system (e.g. basing the location of ${XDG_RUNTIME_DIR} on a central env file where other settings are set too).

C) My idea allows plugging the user supervision tree directly into the system supervision tree, with the following advantages

=

=C2=A0=C2=A0=C2=A0 1) Allowing to directly attach a "catch all" lo= gger separated from the logger of Turnstile

=C2=A0=C2=A0=C2=A0 2) Keeping the chain of efficient and reliable = "skarware" from the top of the tree until the last user service, without Turnstile in between.

D) Now if I want to replace Turnstile I only need to tell the Replacement the system service to start and stop. I think it is reasonable to plan that, since Turnstile is based on PAM and as Bercot said in https://skarnet.org/lists/supervi= sion/3114.html:

=C2=A0=C2=A0I'm not going to write such a p= rogram in the s6 suite, because all the
stuff around PAM and utmp is 1. very Linux-specific and 2. extremely
brittle and badly/underspecified. At some point, however, I intend to
take a good look at PAM and brainstorm about a replacement, because the
current situation is just holding with massive amounts of duct tape,
good
will and headaches, and this makes me fearful for the future.


Thank you for your valuable input!

Have a nice Sunday!


Paul

--------------JGavWUFdd7t6LAywfYjwp2sY-- --------------tA0B7W0eXRPCsyuWmyvwJan9 Content-Type: application/pgp-keys; name="OpenPGP_0x71C7C85A2EA30F62.asc" Content-Disposition: attachment; filename="OpenPGP_0x71C7C85A2EA30F62.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xsFNBGW5FlEBEACi9wDm7vnwoxMy6ejpZQh2Z1Mpr4fTKJyWLn3sZFAjmQKcsT/O Rt0rVSBO5eXoGjbk5Hor2l67mui85a4KWawHbYFC95hpA9K/alfGyQH56SnL5G55 DDcz3avkLrJ9bHJD4y4ScEzweYW2IjYr90FKqZWWcdqzYDqmqRtf5/rdkmY6YVtp BISIfYNbBRPE3CJuY7HOpQ4sqAmb5iRsXN38hv7UQj9MsJl5Q0cxgcFcRGy9dAM5 voX1Xh+h9svS1MZuaxzyLR0YvCzAcY8c7uUsXjj67/NmeHpl5pYHiT19g/wcHbud YLI+pikx4EcskinZ1peZbrbBdVdBeOtukBzaMuFedOcSpAWbDDK7e4cwZnPse130 FjNECzIrNAB2lK2rb9f2PCyZSRCW7QBG63IUREWZTLBm47DyavMzh+wGV6Jx6kig dngJDtIXXDzw2ZWAMMT2MEPX4HC1POH8b1DZ/QxzC+2SQbJNfrQitm0KkOo8o2gq MpuBABAYzQwRJXNteeW5ZccbgdQ0+m61kV/P71bmeiasvJGyecxzOfRUDei7b3Lh 8O5xPHP1dq23E9R76fCaCCiutfiZT5zT5dbn8XGqBmKI9z8VGEfCBdFbopZd4fpQ PmVNWlR0yrM7DnHST1OJtGZ2/gwk0Py2dO+lbZDQMqVRVYXT1dYenwYa5QARAQAB zRxQYXVsIFNvcGthIDxwc29wa2FAc29wa2EuY2g+wsGUBBMBCgA+FiEEklpwGqZx 1Y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tu/7d78SBzxTEjh3RXMZKLS57N78fNnEGnuF9 IS9vOU43y5QCmGCCZsf/r5d5hx2yxqrNInoPiGuY64XUMJXfFbA36ZPoLsvxoK0+ 8QRhtw=3D=3D =3Dhu4K -----END PGP PUBLIC KEY BLOCK----- --------------tA0B7W0eXRPCsyuWmyvwJan9-- --------------yJiponhNXDbYTdrtRCYWHRFN-- --------------KhCqAJQu2MHPq8zd9L0buglO Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature.asc" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEklpwGqZx1YzBW1hqccfIWi6jD2IFAmaKWoUFAwAAAAAACgkQccfIWi6jD2KY 6w/+PwLF2yS7FXIlN/tJkVLI8hvuR5+kOkVxJEOo7xhZdSCSdRgjA0JBAxKm5lZ2qHWcBO5ZMzZ+ 4r5yJJOfnBodkC/RrnlQsSVK/EHG2UWeegp50CkL/pZ0tgrB54G9xNd9n/k3jD7ojb0R7y+SvYuU ZkJfEz/CTSH3I+0YmqznbpFBukoRVaptqTd+RJQTIeo4uyYRgTDIZO3lN5exsS3+gD8LHrAH48Ts Qe83SagNCJwtdwcSYO2BqYhg9Fgnzb3gyZDHxbCXX+oX7IUnB0rQ1pmy4m6enzvPDgG9+nJUWrLs cmgaLPeGDRZPWsFXOSGzzXxsky3/e/N0tfCE+Y8f3UYELcucgh2J5/G7zpCWz5H3wtm/KpHWQYaw o3aDkBfFZCrAQ6hDHY116/Zv+QqtskFs/WmpDch6gt6sE7iYcyDqhR2TXnlXROE4R6mrR3c7ste5 wIsvC4+studKJQG6k+rLzIjH0PVXEZyacU+Kdmuv0SAP3yQCZHbnYuKVX9KRCaSoMV8N6+nzFyuO aKsH7f7PPJkZCjZXb1huE5q/Dym0QEEQY5+9JGeIL/TuxhF7ng+iAkofVwpdwXRk+ftTpBQMdpkA EirJIpKCZny9FpPHbEV9C8ZBNCanYl3G/nQUsNjboAy1yZWJRdteoEZwfiYDx7+eVAyz6LiVKTEd kOE= =Zq4O -----END PGP SIGNATURE----- --------------KhCqAJQu2MHPq8zd9L0buglO--