[Bug 155794] Re: pam_env can't open /etc/default/locale

Bug Watch Updater 155794 at bugs.launchpad.net
Sun May 12 10:49:17 UTC 2013


** Changed in: localization-config (Debian)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pam in Ubuntu.
https://bugs.launchpad.net/bugs/155794

Title:
  pam_env can't open /etc/default/locale

Status in “pam” package in Ubuntu:
  Triaged
Status in “localization-config” package in Debian:
  Fix Released

Bug description:
  Binary package hint: libpam-modules

  Hello!

  I just upgraded to Gutsy and am getting these messages in my log:
  Oct 22 06:25:06 gerf su[22091]: pam_env(su:session): Unable to open env file: /etc/default/locale: No such file or directory
  Oct 22 06:28:45 gerf su[22423]: pam_env(su:session): Unable to open env file: /etc/default/locale: No such file or directory
  Oct 22 06:28:45 gerf su[22427]: pam_env(su:session): Unable to open env file: /etc/default/locale: No such file or directory
  Oct 22 06:28:45 gerf su[22429]: pam_env(su:session): Unable to open env file: /etc/default/locale: No such file or directory

  This is probably due to these lines in the /etc/pam.d/* files:
  # grep /etc/default/locale /etc/pam.d/*
  /etc/pam.d/login:# locale variables are also kept into /etc/default/locale in etch
  /etc/pam.d/login:session       required   pam_env.so readenv=1 envfile=/etc/default/locale
  /etc/pam.d/ssh:# /etc/default/locale, so read that as well.
  /etc/pam.d/ssh:auth       required     pam_env.so envfile=/etc/default/locale
  /etc/pam.d/su:# locale variables are also kept into /etc/default/locale in etch
  /etc/pam.d/su:session       required   pam_env.so readenv=1 envfile=/etc/default/locale

  I have a Feisty box and it has the same lines in the /etc/pam.d/*
  directories.

  I have touched the /etc/default/locale file for the moment as a work
  around.

  Ciao!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/155794/+subscriptions




More information about the foundations-bugs mailing list