Bug#1105954: openssh-server: OpenSSH produces error on logout because utmp is no longer used

Michael Johnson <[email protected]>
Newsgroups gmane.linux.debian.devel.ssh
Message-ID <174750817641.2004.3734254749450884573.reportbug__18841.5689904772$1747508801$gmane$org@myhost.internal>
Package: openssh-server
Version: 1:10.0p1-5
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation? 
   New/upgraded installation of Debian trixie produce an error on logging out
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
     Noticed the new log message in auth.log, if the file /var/run/utmp
     exists and has the correct permissions this error goes away
   * What was the outcome of this action?
   The error "sshd-session[1324]: syslogin_perform_logout: logout()
   returned an error" in the auth.log
   * What outcome did you expect instead?
   No error

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.27-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages openssh-server depends on:
ii  debconf [debconf-2.0]       1.5.91
ii  init-system-helpers         1.68
ii  libaudit1                   1:4.0.2-2+b2
ii  libc6                       2.41-7
ii  libcom-err2                 1.47.2-1+b1
ii  libcrypt1                   1:4.4.38-1
ii  libgssapi-krb5-2            1.21.3-5
ii  libkrb5-3                   1.21.3-5
ii  libpam-modules              1.7.0-3
ii  libpam-runtime              1.7.0-3
ii  libpam0g                    1.7.0-3
ii  libselinux1                 3.8.1-1
ii  libssl3t64                  3.5.0-1
ii  libwrap0                    7.6.q-36
ii  libwtmpdb0                  0.73.0-3
ii  openssh-client              1:10.0p1-5
ii  openssh-sftp-server         1:10.0p1-5
ii  procps                      2:4.0.4-8
ii  runit-helper                2.16.4
ii  systemd [systemd-sysusers]  257.5-2
ii  sysvinit-utils [lsb-base]   3.14-4
ii  ucf                         3.0051
ii  zlib1g                      1:1.3.dfsg+really1.3.1-1+b1

Versions of packages openssh-server recommends:
ii  libpam-systemd [logind]  257.5-2
ii  ncurses-term             6.5+20250216-2
ii  xauth                    1:1.1.2-1.1

Versions of packages openssh-server suggests:
pn  molly-guard   <none>
pn  monkeysphere  <none>
pn  ssh-askpass   <none>
pn  ufw           <none>

-- debconf information excluded
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.