Bug#1070837: gnome-shell: Last Gnome-Shell upgrade crashes logged session

2024-05-10 Thread Julien Negros

Hi ! Thanks for your quick followup

> Control: tags -1 + moreinfo
>
> On Fri, 10 May 2024 at 12:08:27 +0200, Julien Negros wrote:
> > In Bookworm last gnome-shell upgrade 43.9-0+deb12u1 -> 43.9-0+deb12u2
> > closes current logged session. Same issue with Bullseye
> > (3.38.6-1~deb11u1 -> 3.38.6-1~deb11u2). Doesn't look like an actual
> > crash in logs : [...] But rather a GDM restart.
>
> I did not experience this when upgrading several bookworm GNOME machines,
> and one bullseye virtual machine. My GNOME session continued to run until
> I rebooted the machine manually.
>
> In general I would recommend rebooting the system anyway after installing
> security updates in core library packages like libglib2.0-0, otherwise
> running programs and sessions will remain vulnerable.

I agree but the issue here is having the session closed when doing a simple apt 
upgrade...

> Are you sure you were not using some tool like checkrestart or needrestart
> that detected gdm3 as a service that was affected by the security-fixed
> versions of libglib2.0-0, and offered to restart it for you?
>
> In needrestart's default configuration, it will default to not
> restarting gdm3 and other known display managers (this is set up in
> $nrconf{override_rc}, in /etc/needrestart/needrestart.conf), but if they
> are explicitly selected to be restarted, it will assume you are aware of
> the consequences and do as you ask.

needrestart and debian-goodies are not installed in our workstations, but we 
use needrestart on our servers so I'm familiar with the use of this tool. That 
could have been a lead though.

> I don't know whether checkrestart has similar mechanisms.
>
> If you *do* restart gdm3, then it is probably expected that active GUI
> sessions managed by gdm3 will be terminated - that's why needrestart avoids
> doing this by default.
>
> smcv

If you are not affected by this there must be something specific with out setup 
(we do all kind of tweaks to our Debian installations), that would also explain 
why I can't find any complain online since Monday... But I have no clue what it 
could be. If you or anyone has any idea where to look that would be great :)

--
Julien Negros


Bug#1070837: gnome-shell: Last Gnome-Shell upgrade crashes logged session

2024-05-10 Thread Simon McVittie
Control: tags -1 + moreinfo

On Fri, 10 May 2024 at 12:08:27 +0200, Julien Negros wrote:
> In Bookworm last gnome-shell upgrade 43.9-0+deb12u1 -> 43.9-0+deb12u2
> closes current logged session. Same issue with Bullseye
> (3.38.6-1~deb11u1 -> 3.38.6-1~deb11u2). Doesn't look like an actual
> crash in logs : [...] But rather a GDM restart.

I did not experience this when upgrading several bookworm GNOME machines,
and one bullseye virtual machine. My GNOME session continued to run until
I rebooted the machine manually.

In general I would recommend rebooting the system anyway after installing
security updates in core library packages like libglib2.0-0, otherwise
running programs and sessions will remain vulnerable.

Are you sure you were not using some tool like checkrestart or needrestart
that detected gdm3 as a service that was affected by the security-fixed
versions of libglib2.0-0, and offered to restart it for you?

In needrestart's default configuration, it will default to not
restarting gdm3 and other known display managers (this is set up in
$nrconf{override_rc}, in /etc/needrestart/needrestart.conf), but if they
are explicitly selected to be restarted, it will assume you are aware of
the consequences and do as you ask.

I don't know whether checkrestart has similar mechanisms.

If you *do* restart gdm3, then it is probably expected that active GUI
sessions managed by gdm3 will be terminated - that's why needrestart avoids
doing this by default.

smcv



Bug#1070837: gnome-shell: Last Gnome-Shell upgrade crashes logged session

2024-05-10 Thread Julien Negros
Package: gnome-shell
Version: 43.9-0+deb12u2
Severity: important
X-Debbugs-Cc: t...@security.debian.org

Hi !

In Bookworm last gnome-shell upgrade 43.9-0+deb12u1 -> 43.9-0+deb12u2
closes current logged session. Same issue with Bullseye
(3.38.6-1~deb11u1 -> 3.38.6-1~deb11u2). Doesn't look like an actual
crash in logs : "mai 10 10:16:14 ene-natl-pc-530 systemd[1]: Stopping 
gdm.service - GNOME Display Manager...
mai 10 10:16:15 ene-natl-pc-530 systemd[1]: gdm.service: Deactivated 
successfully.
mai 10 10:16:15 ene-natl-pc-530 systemd[1]: Stopped gdm.service - GNOME Display 
Manager.
mai 10 10:16:15 ene-natl-pc-530 systemd[1]: Starting gdm.service - GNOME 
Display Manager...
mai 10 10:16:15 ene-natl-pc-530 systemd[1]: Started gdm.service - GNOME
Display Manager"
But rather a GDM restart. More complete logs, not sure if helpful :
"mai 10 10:15:59 ene-natl-pc-530 PackageKit[13921]: get-updates transaction 
/4151_abdb from uid 100699 finished with success after 463ms
mai 10 10:16:03 ene-natl-pc-530 systemd[1]: Reexecuting.
mai 10 10:16:03 ene-natl-pc-530 systemd[1]: systemd 252.22-1~deb12u1 running in 
system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT 
-GNUTLS +OPENSSL +ACL +BLKID +CU>
mai 10 10:16:03 ene-natl-pc-530 systemd[1]: Detected architecture x86-64.
mai 10 10:16:06 ene-natl-pc-530 dbus-daemon[2729]: [session uid=100699 
pid=2729] Activating via systemd: service 
name='org.freedesktop.Tracker3.Miner.Extract' unit='tracker-extract-3.se>
mai 10 10:16:06 ene-natl-pc-530 systemd[2676]: Starting 
tracker-extract-3.service - Tracker metadata extractor...
mai 10 10:16:06 ene-natl-pc-530 dbus-daemon[2729]: [session uid=100699 
pid=2729] Successfully activated service 
'org.freedesktop.Tracker3.Miner.Extract'
mai 10 10:16:06 ene-natl-pc-530 systemd[2676]: Started 
tracker-extract-3.service - Tracker metadata extractor.
mai 10 10:16:09 ene-natl-pc-530 tracker-extract[15541]: Could not get mimetype, 
Erreur lors de l’obtention des informations du fichier « 
/usr/share/applications/org.gnome.Extensions.des>
mai 10 10:16:09 ene-natl-pc-530 tracker-extract[15541]: Task for 
'file:///usr/share/applications/org.gnome.Extensions.desktop.dpkg-new' finished 
with error: Erreur lors de l’obtention d>
mai 10 10:16:09 ene-natl-pc-530 dbus-daemon[2729]: [session uid=100699 
pid=2729] Reloaded configuration
mai 10 10:16:09 ene-natl-pc-530 dbus-daemon[2729]: [session uid=100699 
pid=2729] Reloaded configuration
mai 10 10:16:09 ene-natl-pc-530 dbus-daemon[2729]: [session uid=100699 
pid=2729] Reloaded configuration
mai 10 10:16:09 ene-natl-pc-530 dbus-daemon[2729]: [session uid=100699 
pid=2729] Reloaded configuration
mai 10 10:16:09 ene-natl-pc-530 dbus-daemon[2729]: [session uid=100699 
pid=2729] Reloaded configuration
mai 10 10:16:09 ene-natl-pc-530 tracker-extract[15541]: Could not get mimetype, 
Erreur lors de l’obtention des informations du fichier « 
/usr/share/applications/evolution-calendar.deskt>
mai 10 10:16:09 ene-natl-pc-530 tracker-extract[15541]: Task for 
'file:///usr/share/applications/evolution-calendar.desktop.dpkg-new' finished 
with error: Erreur lors de l’obtention des>
mai 10 10:16:09 ene-natl-pc-530 tracker-extract[15541]: Could not get mimetype, 
Erreur lors de l’obtention des informations du fichier « 
/usr/share/applications/evolution-calendar.deskt>
mai 10 10:16:09 ene-natl-pc-530 tracker-extract[15541]: Task for 
'file:///usr/share/applications/evolution-calendar.desktop.dpkg-tmp' finished 
with error: Erreur lors de l’obtention des>
mai 10 10:16:09 ene-natl-pc-530 tracker-extract[15541]: Could not get mimetype, 
Erreur lors de l’obtention des informations du fichier « 
/usr/share/applications/org.gnome.Shell.desktop.>
mai 10 10:16:09 ene-natl-pc-530 tracker-extract[15541]: Task for 
'file:///usr/share/applications/org.gnome.Shell.desktop.dpkg-new' finished with 
error: Erreur lors de l’obtention des in>
mai 10 10:16:09 ene-natl-pc-530 tracker-extract[15541]: Could not get mimetype, 
Erreur lors de l’obtention des informations du fichier « 
/usr/share/applications/org.gnome.Shell.desktop.>
mai 10 10:16:09 ene-natl-pc-530 tracker-extract[15541]: Task for 
'file:///usr/share/applications/org.gnome.Shell.desktop.dpkg-tmp' finished with 
error: Erreur lors de l’obtention des in>
mai 10 10:16:09 ene-natl-pc-530 tracker-extract[15541]: Could not get mimetype, 
Erreur lors de l’obtention des informations du fichier « 
/usr/share/applications/org.gnome.Shell.Extensio>
mai 10 10:16:09 ene-natl-pc-530 tracker-extract[15541]: Task for 
'file:///usr/share/applications/org.gnome.Shell.Extensions.desktop.dpkg-tmp' 
finished with error: Erreur lors de l’obten>
mai 10 10:16:09 ene-natl-pc-530 tracker-extract[15541]: Could not get mimetype, 
Erreur lors de l’obtention des informations du fichier « 
/usr/share/applications/org.gnome.Shell.PortalHe>
mai 10 10:16:09 ene-natl-pc-530 tracker-extract[15541]: Task for 
'file:///usr/share/applications/org.gnome.Shell.PortalHelper.desktop.dpkg-tmp'