Re: s6/s6-rc policy for Gentoo: XDG Base Directory Specification

From: Carlos Eduardo <carana2099_at_gmail.com>
Date: Wed, 17 Jul 2024 14:13:24 -0300

Is there an equivalent chainloader ("envfile"-style) that can be plugged
into the instanced user service directories' command line?

Having the same configuration file be read by tools with different
behaviors (for instance, it appears the pam_env's quoting support is far
more limited than envfile's) may not lead to the same results.

Em seg., 15 de jul. de 2024 06:35, Paul Sopka <psopka_at_sopka.ch> escreveu:

> > There's already pam_env to set environment variables. And from
> > pam_env.conf it can expand _at_{HOME} and presumably ${USER}, which should
> > be all you need to accomodate desktop stuff that expects XDG_* and
>
> Thank you, this looks great!
>
> Since it can also source a plain key=value file, it can source the same
> "config file" I source in the script setting up the user-service tree.
> Thus not creating the need to synchronize two config files.
>
>
> Have a nice Monday!
>
> Paul
>
>
Received on Wed Jul 17 2024 - 19:13:24 CEST

This archive was generated by hypermail 2.4.0 : Wed Jul 17 2024 - 19:13:57 CEST