Leaking sessions in pam_systemd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
May 19 12:38:38 s20.wr0.ru sshd[3793128]: pam_systemd(
# loginctl list-sessions|wc -l
8195
# loginctl session-status 302548700
302548700 - topaz (450)
Since: Tue 2022-10-18 09:29:02; 7 months 0 days ago
Leader: 2637625
Remote: 92.42.15.122
Service: sshd; type tty; class user
State: closing
Unit: session-
# ps axf|wc -l
72
The only way I could figure to fix this is to reboot.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: systemd 245.4-4ubuntu3.21
Uname: Linux 4.15.0 x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CurrentDmesg:
Date: Fri May 19 12:58:47 2023
Lsusb: Error: [Errno 2] No such file or directory: 'lsusb'
Lsusb-t: Error: [Errno 2] No such file or directory: 'lsusb'
Lsusb-v: Error: [Errno 2] No such file or directory: 'lsusb'
ProcEnviron:
SHELL=/bin/bash
LANG=en_US.utf8
TERM=xterm-
PATH=(custom, no user)
ProcInterrupts: Error: [Errno 2] No such file or directory: '/proc/interrupts'
ProcKernelCmdLine: quiet
SourcePackage: systemd
UpgradeStatus: Upgraded to focal on 2022-01-26 (478 days ago)
acpidump:
mtime.conffile.
Changed in systemd (Ubuntu): | |
status: | Incomplete → Invalid |
What makes you say the sessions are "leaked", exactly? Is there something odd about the sessions listed? I realize that is a large number, however.