]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
login: Don't mark framebuffer devices as master-of-seat devices
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Thu, 1 Nov 2018 02:04:50 +0000 (03:04 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 6 Nov 2018 17:02:26 +0000 (20:02 +0300)
Currently we consider any framebuffer device as enough to have a
valid graphical session, but this might lead to many false postives
like in the case of framebuffer devices that have a linked drm card
which is still in the process of being added, or for vesa fb, and
so it doesn't ensure us that we can have a proper graphical session.

Since these days we normally don't consider anything without a DRM
card able to provide a full graphical session, let's not set this
at this level.
Drivers which can provide a graphical session with the sole fb are
still free to mark any device as `master-of-seat`

Fixes #10435

src/login/71-seat.rules.in

index 0db46adc84a04698ea718cd4f89692508692c569..1f3090039242ae6d56b2ea9311766503ee017ffa 100644 (file)
@@ -12,7 +12,7 @@ ACTION=="remove", GOTO="seat_end"
 TAG=="uaccess", SUBSYSTEM!="sound", TAG+="seat"
 SUBSYSTEM=="sound", KERNEL=="card*", TAG+="seat"
 SUBSYSTEM=="input", KERNEL=="input*", TAG+="seat"
-SUBSYSTEM=="graphics", KERNEL=="fb[0-9]*", TAG+="seat", TAG+="master-of-seat"
+SUBSYSTEM=="graphics", KERNEL=="fb[0-9]*", TAG+="seat"
 SUBSYSTEM=="drm", KERNEL=="card[0-9]*", TAG+="seat", TAG+="master-of-seat"
 SUBSYSTEM=="usb", ATTR{bDeviceClass}=="09", TAG+="seat"