On Thursday, June 25, 2020 11:44:06 PM CEST Ian McInerney wrote:
On Thu, Jun 25, 2020 at 9:58 PM Kamil Dudka <kdudka(a)redhat.com>
> Gentoo Linux uses the /etc/env.d tree to globally set environment
> It worked there long time before systemd was invented. But clearing this
> up in Fedora would ask for a separate system-wide change I guess...
Isn't /etc/profile.d more inline with the FHS though?
Could you please provide any reference?
The FHS calls out
/etc/profile as being the "systemwide initialization file for sh shell
logins," so the profile.d directory would be the natural extension to that.
I don't see a mention of an env or evn.d in the FHS at all.
I see no mention of profile.d in FHS 3.0 either.