Public bug reported:

While working on an extension (c.f. https://github.com/kikoreis/gdm-
user-search-extension) I noticed an inconsistency when deploying between
a fresh 26.04 LTS install and a 24.04 LTS system upgraded to 26.04 LTS.

Specifically, on the upgraded system, a globally-installed GDM mode
extension never loads, but emits the following logs:

jun 28 22:33:51 solitaire gnome-shell[2536]: Loading extension 
[email protected]
jun 28 22:33:51 solitaire gnome-shell[2536]: Extension 
[email protected] in state INITIALIZED after loading

The latter message is confusing because on a functioning system the
output looks like this:

jun 28 22:33:31 2604-resolute-1 gnome-shell[1770]: Changing state of extension 
[email protected] to INACTIVE
jun 28 22:33:31 2604-resolute-1 gnome-shell[1770]: Changing state of extension 
[email protected] to ACTIVE
jun 28 22:33:31 2604-resolute-1 gnome-shell[1770]: Extension 
[email protected] in state ACTIVE after loading

After a lot of research, here are my conclusions:

1. After upgrading from 24.04 to 26.04, the GDM greeter's personal dconf 
database at /var/lib/gdm3/seat0/config/dconf/user retains 
disable-user-extensions=true
2. This silently blocks ALL GDM-mode extensions from reaching ACTIVE state — 
they stay at INITIALIZED with no error or log message
3. Fresh 26.04 installs do not have this file; only upgraded systems are 
affected

For added difficulty, the greeter's
XDG_CONFIG_HOME=/var/lib/gdm3/seat0/config is set by GDM at runtime, so
the stale dconf is in a non-obvious path.

Unless there is a good reason to keep this (and I'm not sure why the
24.04 LTS install would have this setting) the gdm3 postinst script
should probably clear disable-user-extensions from
/var/lib/gdm3/seat*/config/dconf/user during upgrade. Or perhaps the
upgrade should remove the greeter's personal dconf database entirely.

** Affects: gnome-shell (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2158590

Title:
  Stale disable-user-extensions=true in greeter dconf after 24.04→26.04
  upgrade blocks all GDM extensions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2158590/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to