Black screen if PAM session fails to initialize completely
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdm3 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Focal |
Fix Released
|
High
|
Unassigned |
Bug Description
[Description]
If PAM session fails to initialize completely, the session aborts as expected but GDM stays on VT1 and switches to a black screen. This is the case for example, when requirement to start a session are not met and the session start up has to be aborted.
[Test Plan]
1. In /etc/pam.
session requisite pam_deny.so
After the line
@include common-account
2. Login from GDM
3. Verify that:
- The session fails to start
- A black TTY is displayed
- Active TTY is 1
4. Apply the patched version
5. Login from GDM
6. Verify the login fails but GDM is still displayed and an error message in printed under the password box.
[Where problem could occur]
* Cannot login at all with any user.
[Other info]
* Upstream bug report and patch:
https:/
ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: gdm3 3.38.2.1-3ubuntu2
ProcVersionSign
Uname: Linux 5.11.0-20-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu67
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Mon Jul 12 11:36:11 2021
InstallationDate: Installed on 2020-05-31 (407 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Alpha amd64 (20200527)
SourcePackage: gdm3
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: fixed-in-3.38.3 fixed-upstream |
tags: | added: fixed-in-40.1 |
tags: |
added: verification-done verification-done-focal removed: verification-needed verification-needed-focal |
Changed in gdm3 (Ubuntu Focal): | |
assignee: | Jean-Baptiste Lallement (jibel) → nobody |
Changed in gdm3 (Ubuntu Focal): | |
importance: | Undecided → High |
[ Laurent Bigonville ]
* debian/rules: Drop compatibility symlinks now that bullseye is released
* debian/watch: Update the watch file to follow the new version scheme
* debian/control.in: Suggest orca instead of gnome-orca, the later is a transitonal package
[ Marco Trevisan (Treviño) ]
* debian/patches:
- Refresh
- Correctly handle session opening errors (LP: #1935818)
- Emit specific error on session opened failure
-- Marco Trevisan (Treviño) <email address hidden> Sat, 10 Jul 2021 18:28:45 +0200