This bug was fixed in the package gnome-shell - 46.0-0ubuntu6~24.04.6
---------------
gnome-shell (46.0-0ubuntu6~24.04.6) noble; urgency=medium
[ Nathan Pratta Teodosio ]
* d/p/chromium-snap-pwa.patch: Fixes tab and dock grouping of progressive
web applications for the Chromium snap (LP: #2007652).
[ Robert Malz ]
* d/p: Fix default service discovery.
Fix an issue where authentication service was not
properly picked due to incorrect checks in _isDiscreteServiceEnabled
(LP: #2065432)
* Add loginDialog-Don-t-assume-this._user-is-always-defined.patch.
Cherry-pick for e5d9a0fe
Fixes null dereference during login with smart cards. (LP: #2065432)
[ Marco Trevisan (Treviño) ]
* debian/gbp.conf: Use upstream/46.x branch
* d/p: unlockDialog: Also center the time in 12h format (LP: #2084276)
* d/p: Exclude override-redirect windows from workspace animation
(LP: #2039543)
* d/p: Use absolute tray icon position in root event coordinates
(LP: #2059819)
* d/p: Fix password not re-asked for TCRYPT devices (LP: #2084281)
* d/p: Keep locate pointer animation when animations are disabled
(LP: #2039801)
* d/p: Fix keyboard navigation in AppFolderDialog (LP: #2042763)
* d/p: Fix connection to WPA Enterprise networks from quick settings
(LP: #2084286)
* d/p: Add user permissions to new wifi connections if has no system ones
(LP: #2084287)
* d/p: gdm: Actually wait for pending messages being notified on failures
(LP: #2084289)
* d/p: Fix themed icons rendering in notifications (LP: #2084301)
* d/p: Fix notifications not showing in the lockscreen (LP: #2084302)
* d/p: Allow to set a custom ShellUserVerifier (LP: #2084306)
* d/p: Fix toggling lockscreen view using Escape (LP: #2084308, #2072716)
* d/p: Make active workspace above siblings (LP: #2084310)
* d/p: notificationDaemon: Use correct property name to enable markup
(LP: #2084293)
-- Marco Trevisan (Treviño) <[email protected]> Thu, 05 Dec 2024
03:13:58 +0100
** Changed in: gnome-shell (Ubuntu Noble)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/2065432
Title:
Unable to authenticate with smartcard: gnome-shell throws on unhandled
promise rejection
Status in GNOME Shell:
Fix Released
Status in gnome-shell package in Ubuntu:
Fix Released
Status in gnome-shell source package in Noble:
Fix Released
Bug description:
[Impact]
* Starting from gnome-shell version 46.0, which is available in noble,
logging in to the
Ubuntu system with smart card does not work.
* Only workaround is to downgrade gnome-shell to a version 45.0
* Login problem is caused by two seperate issues, one caused by the bug in
the upstream [1],
second is related to ubuntu specific code added as part of patch:
gdm-util-Figure-out-default-service-from-service-definiti.patch
* Upstream issue has been alraedy fixed with [2], issue was caused by feature
which was checking conflicting sessions during login.
* To fix login problem, upstream patch needs to be backported as well as
ubuntu specific code fixed
[Test Plan]
* To reproduce an issue, smart card (with at least self signed
certificate) is required.
* The simplest steps to reproduce the problem:
1. Create user "test"
2. Configure sssd.conf:
root@rmalz:/etc/sssd# cat sssd.conf
[sssd]
services = pam
enable_files_domain = True
certificate_verification = no_verification
[certmap/implicit_files/test]
matchrule = <SUBJECT>.*
[pam]
pam_cert_auth = True
3. Enable smart card login:
pam-auth-update --disable sss-smart-card-required --enable
sss-smart-card-optional
* With these settings, login "test" user. Two problems will occurr.
First, gnome-shell will not prompt for a smart card PIN and will continue
to ask for password.
This is caused by incorrect detection of default auth service, issue
introduced with:
gdm-util-Figure-out-default-service-from-service-definiti.patch
Second, if first problem is fixed, login screen will freeze. This issue is
caused by upstream
bug [1].
* Ensure that other login/lockscreen options are still working as expected
following the GDM test plan:
https://wiki.ubuntu.com/DesktopTeam/TestPlans/GDM
[Where problems could occur]
* Upstream patch is changing behavior of finding conflicting
sessions, possible risk of regression for non smart card cases
* There is additional patch [3], introduced as part of fix for [1]. It seems
that this patch is fixing presentation issue
which is different from initial login problem and no part of this SRU.
* Patches for both [2] and
gdm-util-Figure-out-default-service-from-service-definiti.patch have been
tested locally, allowing
to login without issues.
[Other Info]
* Links:
[1] - https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7526
[2] -
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3448/diffs?commit_id=e5d9a0fec869adbe610c46114afaede04f8c89e2
[3] -
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3448/diffs?commit_id=647747fbd6afef2f9f939682ab6527f3877ffbfb
* Original case description:
Upstream report: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7526
Opening as part of response to support ticket.
After boot, GDM does not prompt for smartcard authentication
correctly. It is possible to strike Esc and get GDM to prompt for a
username and a smartcard PIN from the initial locked-out state, but
this does not start a new desktop session and instead hangs. Striking
Esc allows for the login to be attempted again, but with the same
results.
Syslog entries include unhandled promise rejections from the
onSessionOpened event in loginDialog, and perhaps more importantly
also from the user verification stack that is used to create the
initial authentication options prompt (stack traces of the syslog
entries attached).
Affects GDM 46.0-2ubuntu1 in Noble.
To reproduce, configure smartcard auth for a network user on a new
Noble install and try to sign in.
To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/2065432/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp