<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - weston-launch clears environment variables"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=61877#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - weston-launch clears environment variables"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=61877">bug 61877</a>
              from <span class="vcard"><a class="email" href="mailto:darxus@chaosreigns.com" title="Darxus <darxus@chaosreigns.com>"> <span class="fn">Darxus</span></a>
</span></b>
        <pre>Commit that implemented this explains the reason:

commit 272d243e00c742f9cffc8bc46d09b7d0f19dc43e
Author: Kristian Høgsberg <<a href="mailto:krh@bitplanet.net">krh@bitplanet.net</a>>
Date:   Tue Jan 29 14:14:06 2013 -0500

    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]
<a href="http://cgit.freedesktop.org/systemd/systemd/commit/?id=a8573ccc35a4efe8900be5d48c6c803670540c2b">http://cgit.freedesktop.org/systemd/systemd/commit/?id=a8573ccc35a4efe8900be5d48c6c803670540c2b</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>