[Bug 2059859] Re: pam_env(sshd:session): deprecated reading of user environment enabled

Sebastien Bacher 2059859 at bugs.launchpad.net
Wed Jul 10 14:23:27 UTC 2024


Thanks Andreas for ping us about the issue. We have work to do there on
the desktop side since language-selector is currently relying on that
feature

Some reference
/usr/share/language-tools/save-to-pam-env provided by https://git.launchpad.net/ubuntu/+source/accountsservice/tree/debian/patches/0009-language-tools.patch?h=ubuntu/oracular

https://git.launchpad.net/ubuntu/+source/language-
selector/tree/LanguageSelector/LocaleInfo.py?h=ubuntu/oracular#n231

https://salsa.debian.org/gnome-
team/gdm/-/blob/ubuntu/latest/debian/patches/ubuntu/dont_set_language_env.patch

We need to investigate what to do instead, I will put that on the
desktop backlog

** Tags added: udeng-3569

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

Title:
  pam_env(sshd:session): deprecated reading of user environment enabled

Status in gdm3 package in Ubuntu:
  New
Status in openssh package in Ubuntu:
  Triaged
Status in pam package in Ubuntu:
  Fix Released
Status in openssh package in Debian:
  New

Bug description:
  Ubuntu 24.04 / openssh-server/noble-updates 1:9.6p1-3ubuntu3

  sshd complains about "deprecated reading of user environment".

  This should have been solved upstream, as far as I understand:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1018106

  Enclosed /etc/pam.d/sshd file is amended according to the debian bug
  report.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: openssh-server 1:9.6p1-3ubuntu3
  ProcVersionSignature: Ubuntu 6.8.0-11.11-generic 6.8.0-rc4
  Uname: Linux 6.8.0-11-generic x86_64
  ApportVersion: 2.28.0-0ubuntu1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  Date: Sun Mar 31 11:56:25 2024
  ProcEnviron:
   LANG=de_DE.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: openssh
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.init.d.apport: [modified]
  mtime.conffile..etc.init.d.apport: 2024-02-22T15:20:00
  mtime.conffile..etc.pam.d.sshd: 2024-03-31T11:56:12.949543

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




More information about the foundations-bugs mailing list