connecting interfaces with a udev rule triggers return to gdm login screen

Bug #1969097 reported by Michael Vogt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Invalid
Undecided
Unassigned
gdm3 (Ubuntu)
Fix Released
Critical
Unassigned

Bug Description

As part of our udev backend we do something like:
$ sudo udevadm control --reload-rules ; sudo udevadm trigger --subsystem-nomatch=input

On 22.04 after boot this will trigger the gdm screen to reappear. It looks almost like the user is logged out except that the session is still running but the user is put on the VT of gdm.

This was also observed on arch.

Tags: patch
Revision history for this message
Michael Vogt (mvo) wrote :

On the first run after a reboot I see the following with "sudo udevadm trigger --subsystem-nomatch=input -v". Interestingly doing it again causes the same list to be printed but it does not trigger the return to the gdm screen.

Revision history for this message
Michael Vogt (mvo) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :

I just tested it and and with the attached debdiff I can no longer reproduce the problem.

Changed in gdm (Ubuntu):
status: New → In Progress
importance: Undecided → Critical
Changed in snapd:
status: New → Invalid
Revision history for this message
Jeremy Bícha (jbicha) wrote :

This was cherry-picked as part of https://launchpad.net/ubuntu/+source/gdm3/42.0-1ubuntu3

I will be doing another gdm3 upload today to unblock gdm3 from jammy-proposed.

Changed in gdm (Ubuntu):
status: In Progress → Fix Committed
tags: added: patch
affects: gdm (Ubuntu) → gdm3 (Ubuntu)
Jeremy Bícha (jbicha)
Changed in gdm3 (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote (last edit ):

The upstream fix was https://gitlab.gnome.org/GNOME/gdm/-/merge_requests/175

Although Jeremy put the fix in gdm3 version 42.0-1ubuntu3, most people would not have got it till 42.0-1ubuntu6.

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.