canonical / core18

The core18 base snap
14 stars 26 forks source link

Revert "static: add systemd environment generator to ensure PATH contains /snap/bin" #41

Closed mvo5 closed 6 years ago

mvo5 commented 6 years ago

This reverts commit a9c4ea6ff0732911a47fa7a1b035eb10c1e68cd4.

After some research it turns out that the problem with "PATH" in su -l is a bug there (see https://github.com/shadow-maint/shadow/pull/119).

We don't need the generator having the right PATH in /etc/environment is enough for non-broken tools.

mvo5 commented 6 years ago

We can get it in as it is, /etc/environment is setting PATH=/snap/bin on core18 systems.