we do have a lot of duplication. I think profile.d is actually good enough for all the logged in users. However, for now, the /usr/lib/systemd/system-environment-generators is a special place to integrate and ensure that environment that systemd creates for units has everything setup correctly.
re:single code path
we do have a lot of duplication. I think profile.d is actually good enough for all the logged in users. However, for now, the /usr/lib/ systemd/ system- environment- generators is a special place to integrate and ensure that environment that systemd creates for units has everything setup correctly.