[Touch-packages] [Bug 2020177] Re: Leaking sessions in pam_systemd

2024-02-23 Thread Nick Rosbrook
** Changed in: systemd (Ubuntu)
   Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2020177

Title:
  Leaking sessions in pam_systemd

Status in systemd package in Ubuntu:
  Invalid

Bug description:
  May 19 12:38:38 s20.wr0.ru sshd[3793128]: pam_systemd(sshd:session):
  Failed to create session: Maximum number of sessions (8192) reached,
  refusing further sessions.

  # 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-302548700.scope

  # 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-0ubuntu27.26
  Architecture: amd64
  CasperMD5CheckResult: skip
  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-256color
   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..etc.systemd.journald.conf: 2022-08-19T16:13:27.570934

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2020177] Re: Leaking sessions in pam_systemd

2023-06-13 Thread Nick Rosbrook
You don't have any logs for systemd-logind? Have you modified the log
level at some point? I guess that bug does sound similar, but it is
unclear and there is no real resolution on that bug.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2020177

Title:
  Leaking sessions in pam_systemd

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  May 19 12:38:38 s20.wr0.ru sshd[3793128]: pam_systemd(sshd:session):
  Failed to create session: Maximum number of sessions (8192) reached,
  refusing further sessions.

  # 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-302548700.scope

  # 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-0ubuntu27.26
  Architecture: amd64
  CasperMD5CheckResult: skip
  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-256color
   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..etc.systemd.journald.conf: 2022-08-19T16:13:27.570934

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2020177] Re: Leaking sessions in pam_systemd

2023-06-13 Thread non7top
My systemd reports

# systemd --version
systemd 245 (245.4-4ubuntu3.21)
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP 
+GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 
default-hierarchy=hybrid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2020177

Title:
  Leaking sessions in pam_systemd

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  May 19 12:38:38 s20.wr0.ru sshd[3793128]: pam_systemd(sshd:session):
  Failed to create session: Maximum number of sessions (8192) reached,
  refusing further sessions.

  # 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-302548700.scope

  # 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-0ubuntu27.26
  Architecture: amd64
  CasperMD5CheckResult: skip
  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-256color
   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..etc.systemd.journald.conf: 2022-08-19T16:13:27.570934

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2020177] Re: Leaking sessions in pam_systemd

2023-06-13 Thread non7top
Could be this bug 
https://github.com/systemd/systemd/issues/8672

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2020177

Title:
  Leaking sessions in pam_systemd

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  May 19 12:38:38 s20.wr0.ru sshd[3793128]: pam_systemd(sshd:session):
  Failed to create session: Maximum number of sessions (8192) reached,
  refusing further sessions.

  # 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-302548700.scope

  # 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-0ubuntu27.26
  Architecture: amd64
  CasperMD5CheckResult: skip
  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-256color
   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..etc.systemd.journald.conf: 2022-08-19T16:13:27.570934

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2020177] Re: Leaking sessions in pam_systemd

2023-06-13 Thread non7top
Not sure what the "boot" is, but here are the outputs from the same
system:

# journalctl -u systemd-logind.service -b 0
-- Logs begin at Tue 2023-06-13 11:39:06 MSK, end at Tue 2023-06-13 12:44:33 
MSK. --
-- No entries --


# loginctl session-status 302548700
302548700 - topaz (450)
   Since: Tue 2022-10-18 09:29:02 MSK; 7 months 25 days ago
  Leader: 2637625
  Remote: 92.42.15.122
 Service: sshd; type tty; class user
   State: closing
Unit: session-302548700.scope
# loginctl list-sessions|wc -l
8195


** Bug watch added: github.com/systemd/systemd/issues #8672
   https://github.com/systemd/systemd/issues/8672

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2020177

Title:
  Leaking sessions in pam_systemd

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  May 19 12:38:38 s20.wr0.ru sshd[3793128]: pam_systemd(sshd:session):
  Failed to create session: Maximum number of sessions (8192) reached,
  refusing further sessions.

  # 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-302548700.scope

  # 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-0ubuntu27.26
  Architecture: amd64
  CasperMD5CheckResult: skip
  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-256color
   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..etc.systemd.journald.conf: 2022-08-19T16:13:27.570934

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2020177] Re: Leaking sessions in pam_systemd

2023-06-12 Thread Nick Rosbrook
Can you please attach logs from a boot where this was seen? If the
current boot exhibits this, you can use 0 as the boot id:

$ journalctl -u systemd-logind.service -b $boot_id > systemd-logind-
logs.txt

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2020177

Title:
  Leaking sessions in pam_systemd

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  May 19 12:38:38 s20.wr0.ru sshd[3793128]: pam_systemd(sshd:session):
  Failed to create session: Maximum number of sessions (8192) reached,
  refusing further sessions.

  # 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-302548700.scope

  # 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-0ubuntu27.26
  Architecture: amd64
  CasperMD5CheckResult: skip
  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-256color
   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..etc.systemd.journald.conf: 2022-08-19T16:13:27.570934

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2020177] Re: Leaking sessions in pam_systemd

2023-06-12 Thread non7top
Well. I don't see any processes in the OS that would correspond to those
sessions. The state of most of them is Closing. systemd also spams a lot
about too many sessions. Looks like systemd doesn't close sessions
properly.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2020177

Title:
  Leaking sessions in pam_systemd

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  May 19 12:38:38 s20.wr0.ru sshd[3793128]: pam_systemd(sshd:session):
  Failed to create session: Maximum number of sessions (8192) reached,
  refusing further sessions.

  # 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-302548700.scope

  # 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-0ubuntu27.26
  Architecture: amd64
  CasperMD5CheckResult: skip
  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-256color
   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..etc.systemd.journald.conf: 2022-08-19T16:13:27.570934

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2020177] Re: Leaking sessions in pam_systemd

2023-06-09 Thread Nick Rosbrook
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.

** Changed in: systemd (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2020177

Title:
  Leaking sessions in pam_systemd

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  May 19 12:38:38 s20.wr0.ru sshd[3793128]: pam_systemd(sshd:session):
  Failed to create session: Maximum number of sessions (8192) reached,
  refusing further sessions.

  # 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-302548700.scope

  # 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-0ubuntu27.26
  Architecture: amd64
  CasperMD5CheckResult: skip
  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-256color
   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..etc.systemd.journald.conf: 2022-08-19T16:13:27.570934

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp