← Back to team overview

touch-packages team mailing list archive

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

 

This bug was fixed in the package sudo - 1.8.9p5-1ubuntu4

---------------
sudo (1.8.9p5-1ubuntu4) vivid; urgency=medium

  * Correct sudo.pam use "session" for pam_env.so, not "auth". (LP:
    #155794, LP: #25700)
 -- Dimitri John Ledkov <dimitri.j.ledkov@xxxxxxxxxxxxxxx>   Tue, 23 Dec 2014 04:08:33 +0000

** Changed in: sudo (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/155794

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

Status in sudo package in Ubuntu:
  Fix Released
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/sudo/+bug/155794/+subscriptions