<jaeger>
If you want to read back in the logs for the discussion before I make the change back, feel free
<jaeger>
I'm not in a rush, working today anyway
<beerman>
i mean, pam_xdg also handles the critical /run/user/dir, same as core/dumb_runtime_dir in 3.7
<beerman>
the rest is quite optional in 99% of cases, just nice to give a structure. we've been talking about "nice things to add which cost literally nothing"
<jaeger>
yeah, the concern as I understand it is not about whether or not it's nice to have, but where to put it
<jaeger>
/etc/profile not necessarily making sense in all cases (non-bash shells for example)
<jaeger>
Possibly, I don't recall. I have no doubt that would also work
<beerman>
non bash is non standard and people going away from the standard might want to keep such cases in mind. but sure, fair enough
<beerman>
i would prefer pam_env then, as it avoids pulling another package
<jaeger>
Yeah, I probably would also use pam_env in this case since it's already provided by linux-pam
<beerman>
also i fail to find how pam_xdg handles the full spec
<jaeger>
No idea here, I've never used it or looked at its source, just saw that it was recommended
<jaeger>
You can take it up with stenur if you want, heh
<beerman>
if its about /run/user/$UID, i choose dumb_runtime_dir as its less loc and does just that, nothing more or less.
<beerman>
i don't really feel like i need to take it up with him
<jaeger>
pam_env also allows for individual user configs in ~/.pam_environment so everyone can customize as they see fit and not rely on defaults
<jaeger>
Not surprised... I'm just saying I don't know pam_xdg's operations under the hood, so to speak
<beerman>
i know, i know.. both modules should virtually do exactly the same, but ifreuds version is tidier, imo.
fishe has quit [Quit: Connection closed for inactivity]
<jaeger>
To be clear, I'm only talkinga bout removing the recently-added XDG_* vars from /etc/profile in bash, not forcing a choice of pam_env/pam_xdg on the user... each user is, as always, free to choose whichever way they want
<beerman>
yeah i don't mind
<jaeger>
ok
<jaeger>
The subject might be worth a wiki article, in fact
<beerman>
yeah i am not writing any wiki articles anymore, sorry, that pmwiki syntax is.. just horrible
<jaeger>
I'm not particularly in love with any wiki software, if you want to try something different, fine by me. I think pmwiki was jue's choice, though I might be wrong
<jaeger>
I do hate the double-click-to-edit behavior but as I learned recently that's a feature which could be disabled.
<beerman>
heh
<beerman>
yeah it was
<beerman>
i mean, i kinda get it, and i kinda not get it. but i don't want to change everything just because
<farkuhar>
I'd be willing to contribute some wiki writing, or help with updating the handbook. The pmwiki syntax looks daunting, but I've gotten accustomed to worse.
<jaeger>
speaking of that, I said I'd look at sharing the handbook source and I haven't forgotten that... just keep getting busy with other crap
<beerman>
i have asked for a markdown syntax addon a while ago, jue promised to look into it
<beerman>
markdown is so much easier for everything
<farkuhar>
thanks, jaeger. Wow, does pmwiki actually go through the entire commit history to construct the source code that gets turned into html? That's a bizarre design decision, if true.
<jaeger>
I think only the current and previous versions so it can show a diff... but I'm not sure, haven't looked closely
<farkuhar>
on the subject of "nice things to add which cost literally nothing", one cost of these niceties is that users don't acquire the knowledge of how the upstream tools behave *without* distro customization, as frinnst had to educate someone here: https://lists.crux.nu/pipermail/crux/2019-September/006396.html
<beerman>
well, i didn't exactly take this for a teaching distro either. placing them with a link to a spec however i felt was fair enough for CRUX to do
<beerman>
¯\_(ツ)_/¯
<beerman>
jaeger: fwiw. XDG_RUNTIME_DIR we still might want to add by default
<beerman>
one way or the other, i'd say pam_env then
mbarbar_ has quit [*.net *.split]
mbarbar_ has joined #crux-devel
<stenur>
btw, .. glibc 2.36?
<stenur>
pam_xdg injects all variables the XDG standard 0.8 defines; using pam_env i think will do the entire configuration file dance. But honestly i am more for peach than beer