You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git through ssh sessions should be closed but aren't
Unexpected behaviour you saw
loginctl|wc -l shows 8192 sessions, most of which are owned by the git user. Example of a session:
229307 - git (998)
Since: Wed 2023-04-05 03:10:11 CEST; 6 days ago
Leader: 3114376
Remote: xxxx
Service: sshd; type tty; class user
State: closing
Unit: session-229307.scope
Apr 05 03:10:11 systemd[1]: Started Session 229307 of User git.
Apr 05 03:10:11 sshd[3114378]: Received disconnect from xxxx port 54156:11: disconnected by user
Apr 05 03:10:11 sshd[3114378]: Disconnected from user git xxxx port 54156
Apr 05 03:10:11 systemd[1]: session-229307.scope: Deactivated successfully.
Steps to reproduce the problem
this will happen after roughly 3 days of normal usage. Fixed by restarting systemd-logind
Additional program output to the terminal or log subsystem illustrating the issue
No response
The text was updated successfully, but these errors were encountered:
SjonHortensius
changed the title
userdbd does not terminate git+ssh sessions correctly
systemd-logind does not terminate git+ssh sessions correctly
Apr 11, 2023
systemd version the issue has been seen with
253
Used distribution
archlinux
Linux kernel version used
6.2.2-arch1-1
CPU architectures issue was seen on
x86_64
Component
loginctl
Expected behaviour you didn't see
git through ssh sessions should be closed but aren't
Unexpected behaviour you saw
loginctl|wc -l
shows8192
sessions, most of which are owned by thegit
user. Example of a session:Steps to reproduce the problem
this will happen after roughly 3 days of normal usage. Fixed by restarting
systemd-logind
Additional program output to the terminal or log subsystem illustrating the issue
No response
The text was updated successfully, but these errors were encountered: