Add explicit dependency on glib 2.80 to ease upgrades 22.04 → 24.04

Bug #2065587 reported by Jeremy Bícha
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Fix Released
High
Unassigned
Noble
Triaged
High
Unassigned

Bug Description

Impact
------
It was detected that something could cause GNOME Shell to crash during the upgrade from Ubuntu 22.04 LTS to 24.04 LTS. GNOME Shell then was unable to start because it wasn't able to locate the gio 2.0 gir files.

Therefore, we are bumping the minimum version of the gir1.2-glib-2.0 dependency to 2.80 so that gnome-shell is not upgraded before the gir file it depends on.

Test Case
---------

What Could Go Wrong
-------------------

Other Info
----------
There was a major reorganization in glib 2.80 compared to glib 2.78. The gir file is now built by the glib2.0 source package instead of from gobject-introspection which bumped the package version from 1.78 to 2.78.

Tags: noble

CVE References

Jeremy Bícha (jbicha)
description: updated
Jeremy Bícha (jbicha)
Changed in gnome-shell (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Can we have more details about this bug? Is it related to bug 2054761?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I'm not sure gir1.2-glib-2.0 is enough here. After making a fresh jammy VM and upgrading it to noble, I had to manually install all of /var/cache/apt/archives/gir1.2* before I could get a login screen. And after that I still can't log in.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Having said that, manually installing /var/cache/apt/archives/*.deb has fixed everything :)

Jeremy Bícha (jbicha)
Changed in gnome-shell (Ubuntu):
status: Fix Committed → Triaged
Changed in gnome-shell (Ubuntu Noble):
importance: Undecided → High
status: New → Triaged
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I suspect we can drop the fix for this and use bug 2054761 instead. Looks like it just needs a systemd fix.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell - 46.1-1ubuntu1

---------------
gnome-shell (46.1-1ubuntu1) oracular; urgency=medium

  * Merge with Debian
  * Refresh patches

gnome-shell (46.1-1) experimental; urgency=medium

  * New upstream release
  * Bump minimum gir1.2-glib-2.0 to 2.80 (LP: #2065587)

gnome-shell (46.0-2) experimental; urgency=high

  * Team upload
  * d/p/screencast-Correct-expected-bus-name-for-streams.patch:
    Avoid screencast regression after fixing CVE-2024-34397.
    Previously, screencasting expected signals to come from the wrong
    D-Bus name, which only worked because there was a vulnerability in
    GLib that resulted in the sender being ignored.
  * Set urgency=high because this fixes a regression triggered by a
    security fix.

 -- Jeremy Bícha <email address hidden> Mon, 13 May 2024 15:38:15 +0200

Changed in gnome-shell (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.