commit | 272d243e00c742f9cffc8bc46d09b7d0f19dc43e | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Tue Jan 29 14:14:06 2013 -0500 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Tue Jan 29 14:19:14 2013 -0500 |
tree | 5a63e59431895ac8d00699188fd90f810615d425 | |
parent | c0d79ce2ba2b4be973ac190a130cc521c48900d1 [diff] |
weston-launch: Clear environment and set it up from scratch With recent systemd[1] XDG_VTNR will leak through to pam, which ends up setting a vtnr pam argument with the wrong value. The fix is to clear XDG_VTNR first, but what we should have been doing all along is resetting the environment. Thanks to Ray Strode for helping debug this. [1] http://cgit.freedesktop.org/systemd/systemd/commit/?id=a8573ccc35a4efe8900be5d48c6c803670540c2b