I understand that the former is loaded prior to the latter, but what is the conceptual difference? Are there any good reasons I should set some variables in one and not in other? Except the fact that
/etc/environment seems to exist to set up environment for all processes run by the system, while
/etc/profile is for setting up environment used and propagated from the login shell, correct?
Also, on a side note, which program traditionally reads
/etc/environment? Is it related to POSIX, or just a convention?