Comment 11 for bug 1662031

Olivier Tilloy (osomon) wrote :

In /etc/pam.d/gdm-launch-environment:

    session required pam_env.so readenv=1 user_readenv=1 envfile=/etc/default/locale

In pam_env.c (handle_env function), the env should be set from /etc/default/locale and then overridden by ~/.pam_environment. If I add the 'debug' parameter to the module invokation, I see only the calls to pam_putenv corresponding to /etc/default/locale, which means that for some reason to be determined ~/.pam_environment is not being sourced.