Re: [PATCH 06/13] img/app: remove XDG_RUNTIME_DIR

Demi Marie Obenour
2025-12-01T05:56:17Z

[-- Attachment #1.1.1: Type: text/plain, Size: 971 bytes --]

On 11/26/25 16:33, Alyssa Ross wrote:
> 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.

Applications may use XDG_RUNTIME_DIR for their own purposes. I believe
gpg-agent might use it to place its sockets. This does not mean
that Spectrum-provided sockets need to be in this directory, though.
I would set it to the standard /run/user/$UID where $UID is the user
ID of the application.

If compatibility is a problem, bind mounts are an option.
--
Sincerely,
Demi Marie Obenour (she/her/hers)

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 7253 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]