← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2115874] Re: error when last pam_environment line is an error

 

Hi Simon,

thanks for your time looking into this.

Do you mean that the error in pam_env is expected, if given
LANGUAGE DEFAULT= OVERRIDE=
as last line?

I don't think it should be an error.
Instead i would expect to find either an empty LANGUAGE or no LANGUAGE in the environment.

But if there was any error at all in pam_env, i would expect the session
to fail.

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

Title:
  error when last pam_environment line is an error

Status in pam package in Ubuntu:
  Triaged

Bug description:
  I have in my ~/.pam_environment:
  PAPERSIZE=a4
  LANGUAGE DEFAULT= OVERRIDE=

  This prevents a login via gdm, with the message:
  Critical error - immediate abort

  No error occurs:
  - if i put a value in /etc/environment for LANGUAGE
  - if the two lines in ~/.pam_environment are reversed
  - if i use LANGUAGE DEFAULT="" OVERRIDE=""

  The error occurred on ubuntu 24.04
  but not on 22.04

  Regards, Mike

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



References