FS#70436 - sddm leaks user sessions

Attached to Project: Arch Linux
Opened by Bernie Innocenti (codewiz) - Wednesday, 14 April 2021, 04:31 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 05 May 2021, 16:17 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

after logging out and logging in again, I see two sessions on the same tty:

bernie@goreboot:~% sudo loginctl
SESSION UID USER SEAT TTY
2 1000 bernie seat0 tty2
5 1000 bernie seat0 tty2

In some cases, sddm also starts using a new tty (but couldn't explain how to reproduce it)

Additional info:
sddm 0.19.0-4
plasma-wayland-session 5.21.4-1

Steps to reproduce:
1. login
2. logout
3. login again
4. use loginctl to inspect processes


IMPORTANT:

Fedora's sddm package already has a patch for this:
https://bugzilla.redhat.com/show_bug.cgi?id=1929643

The new package is currently being tested:
https://koji.fedoraproject.org/koji/buildinfo?buildID=1735830

This is the patch:
https://src.fedoraproject.org/rpms/sddm/c/667b1e908ec6463534e916563b3356239df978d6?branch=rawhide
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 05 May 2021, 16:17 GMT
Reason for closing:  Upstream
Comment by Bernie Innocenti (codewiz) - Wednesday, 05 May 2021, 08:29 GMT
  • Field changed: Percent Complete (100% → 0%)
Looks like the patch I recommended doesn't fully fix the bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1929643#c35
Comment by Philip Müller (philm) - Wednesday, 05 May 2021, 09:01 GMT
Fedora uses partly different patches: https://src.fedoraproject.org/rpms/sddm/tree/rawhide Using the current solution results into another issue, which is more a regression, IMO: https://github.com/sddm/sddm/issues/1398
Comment by Antonio Rojas (arojas) - Wednesday, 05 May 2021, 16:17 GMT
Please reopen when there is a proper upstream fix that we can apply. Right now there's not much we can do.

Loading...