Closed mvo5 closed 6 years ago
I tested this locally now and this should unblock some snapd tests on core18.
@bboozzoo Yeah, I am looking into this currently, the why is still unclear :/
Just for the record: https://github.com/shadow-maint/shadow/pull/119 is the upstream fix.
In ubuntu 18.04 /etc/environment is no longer used for the PATH when using "su". It is unclear if this is a desired change but until the root cause is found this PR adds /snap/bin to the PATH in /etc/login.defs which is read by "su".
This will also unbreak some snapd integration tests that use 'su -l -c "cmd" test'.