Bug 2192784
| Summary: | GDM (X in general) requires processes to be part of user's sessions (set up by pam_systemd) to be functional | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Renaud Métrich <rmetrich> |
| Component: | systemd | Assignee: | Michal Sekletar <msekleta> |
| Status: | NEW --- | QA Contact: | Frantisek Sumsal <fsumsal> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 8.7 | CC: | bwelterl, hdegoede, msekleta, rstrode, systemd-maint-list |
| Target Milestone: | rc | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-05-03 15:19:42 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Renaud Métrich
2023-05-03 06:21:46 UTC
no pam_systemd / logind registration isn't optional for our shipped desktop environment. That's definitely not going to change. See also https://bugzilla.redhat.com/show_bug.cgi?id=1643928 Hi Ray, Assuming pam_systemd is not optional for Graphical User Interface, still, I wouldn't expect all graphical sessions to die when systemd-logind dies or restarts. Can we harden this? Renaud. well the error message in comment 0 is: systemd-logind: ReleaseControl failed: You are not in control of this session This suggests when logind is restarted, it forgot who the session controller is. So that would need to be fixed first. It's possible mutter and Xorg will need follow up fixes as well, not sure. GDM shouldn't need any changes at all. To be honest, I'm not sure trying to make the system resilient to important system services getting killed or otherwise becoming dysfunctional is that worthwhile an endeavor. There are a million ways an admin can kill or perturb things and make the system break. Having said that, I do believe logind heavily serializes its state, so there could be acting counter to its design here. We'll see what the systemd crew says. |