Issues with `/etc/environment`
himanshub16 opened this issue · 2 comments
himanshub16 commented
There has been an issue persisting for long due to setting of proxy in /etc/environment
.
This file is read at user login and stays in the display manager's shell. Thus, to reload this file wherever it is being used requires log out and then re-login.
Also, there have been observations on apt
overriding /etc/apt/apt.conf
for /etc/environment
for proxy variables, hence the decision.
Also, there does not seem to be any major impact of dropping default support for `/etc/environment'.
If anyone has any issue with the same, comment below.
Observed on: Ubuntu
himanshub16 commented
#8 says the same.
himanshub16 commented
An easy solution is to drop /etc/environment
when using defaults and make it configure only when explicitly asked.