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

Carlos Eduardo <[email protected]> Wed, 17 Jul 2024 14:13:24 -0300
Newsgroups gmane.comp.sysutils.supervision.general
Message-ID <CAN09KnLVj4TGyPS1W=+wPRAmVJebgo8caXXSh-jAZM7j-6qj4w@mail.gmail.com>
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 <[email protected]> escreveu:

> > There's already pam_env to set environment variables. And from
> > pam_env.conf it can expand @{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
>
>