Re: s6-frontend: packaging per-user services

From: Hoël Bézier <hoelbezier_at_riseup.net>
Date: Thu, 24 Sep 2026 20:06:59 +0200

Am Do, Sep 24, 2026 am 07:55:17 +1000 schrieb Alexis:
>Hoël Bézier <hoelbezier_at_riseup.net> writes:
>
>> So in my opinion, the process should be:
>> - list whether HOME or XDG variables are undefined
>> - grep the config file for occurences of those
>> - if HOME or XDG_RUNTIME_DIR matches, fail
>> - if any other XDG variable matches, fail if HOME is undefined
>
>i might be misunderstanding what you're saying, but i just want to
>note that the XDG base directories don't need to involve HOME:
>
> https://wiki.gentoo.org/wiki/XDG/Base_Directories
>
>That is, for a number of XDG variables, although the specification
>describes fallback defaults based on HOME, a user can set them to
>values that don't involve HOME.

Sure, what I mean is that if an XDG variable is undefined, and so is HOME, you
can’t have a fallback value, so you can only error out if that XDG variable is
used in the config file.

Hoël
Received on Thu Sep 24 2026 - 20:06:59 CEST

This archive was generated by hypermail 2.4.0 : Thu Sep 24 2026 - 20:07:49 CEST