Re: s6/s6-rc policy for Gentoo: XDG Base Directory Specification
Jan Braun <[email protected]> Mon, 15 Jul 2024 10:31:19 +0200
| Newsgroups | gmane.comp.sysutils.supervision.general |
|---|---|
| Message-ID | <ZpTeV7CSddSUsOj7@abakus> |
Hey,
I don't want to pick a side in the turnstile-or-not fight, so I
found something you seemed to agree on, to disagree with:
Paul Sopka schrob:
> > [...] and unless you want to make users replace their shell with
> > something like `/etc/execline-startup` as described in
> > https://skarnet.org/lists/supervision/3126.html, your proposal is going
> > to need a custom PAM module for that too.
> [...]
> My proposal [...]
> by a potential pam module that exports it's content to the users shell.
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
DBUS_SESSION_BUS_ADDRESS.
Everything else can and should be done via conventional places in the
file system, the way DJB intended. ;)
cheers,
Jan
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEFzbVDxcLcKaSI7wVKV5wPm0dL88FAmaU3lAACgkQKV5wPm0d L89aMQ//Y8bbRdVgCasUJ/SXajy0Z2VHjd8dsn3a3aqke6g4riT7ydFFsJExOjXS KmciapSPec+iUlxYFFM5xC40RYNDUjmjT4WXtjzqYHshuNQOi8foIh9kQ6RGvVpQ 97MmwSe7PZ73XMw8loOp/SiLXTwS3eAeXgljlEB9Gk+smKycTJq6fTmw0LBCcQFw emL3oAao87pJrGrDV1B8R9HM7wwX4EN6XCEWwGIPmu+OZI0kikjK1VqScH+4bUkb TeANzw7LZzmBH8qjJAyXy4H+Vyb1WDTNQhWgzjjCPG3W3/gHZWdfAB2aGHTtIXv/ pepgutxzodQW3AYaHU2itxC0dt24br44qpt1NX6tDSMvV4Qx88uLq5sOhbxO9pvQ SSEc8iPAUEUA2rqRCVuke3eXB3FQKoVVwlG5HE+Wm92UBFLTmAaeM1uqfwnAwOTl nHE5Nqr4smVo5BNMdaMyW5b0Rr1FXWp6Q8Hoiud2V8bZYOEZNuI5t+ypsRca81Pd ZTBwg02ZuwKzdgoGSAlYJTZBxHjRlKvIsY6Iupj3B9MHZa4Rf8Nw8U3s1noT20sN wr5Q8eZ51zHzKPz8cK5asiPxD5dTnuPwqW6KX4FNEgb4iHjSDLsE0x8n49EItB52 hI9tdAi9PadCVYyBSK9SihKeX6p+2AZluaR0oK3IGMwS5F6UIdo= =39dE -----END PGP SIGNATURE-----