From f1a8e221ecacea23883df57951e291a910463948 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 21 Jun 2012 13:48:01 +0200 Subject: logind: expose CanGraphical and CanTTY properties on seat objects Since we boot so fast now that gdm might get started before the graphics drivers are properly loaded and probed we might end up announcing seat0 to gdm before it has graphics capabilities. Which will cause gdm/X11 cause to fail later on. To fix this race, let's expose CanGraphical and CanTTY fields on all seats, which clarify whether a seat is suitable for gdm resp, suitable for text logins. gdm then needs to watch CanGraphical and spawn X11 on it only if it is true. This way: USB graphics seats will expose CanGraphical=yes, CanTTY=no Machines with no graphics drivers at all, but a text console: CanGraphical=no, CanTTY=yes Machines with CONFIG_VT turned off: CanGraphical=yes, CanTTY=no And the most important case: seat0 where the graphics driver has not been probed yet boot up with CanGraphical=no, CanTTY=yes first, which then changes to CanGraphical=yes as soon as the probing is complete. --- TODO | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 73230caae9..872d66652c 100644 --- a/TODO +++ b/TODO @@ -12,8 +12,6 @@ Bugfixes: * make anaconda write timeout=0 for encrypted devices -* make sure timeouts are applied to Type=oneshot services. - * Dangling symlinks of .automount unit files in .wants/ directories, set up automount points even when the original .automount file did not exist anymore. Only the .mount unit was still around. @@ -27,16 +25,19 @@ Bugfixes: Features: -* introduce CanGraphics and CanText properties on seat objects, to combat races where gdm is started before the graphics driver is loaded and finished probing. +* support rd.luks= kernel cmdline params in cryptsetup generator + +* support rd.fstab= kernel cmdline params in fstab generator + +* support rd.driver= kernel cmdline params in modules load -* change $NOTIFY_SOCKET to use an abstract namespace socket, so that chroot() is compatible with this - https://bugzilla.redhat.com/show_bug.cgi?id=833105 +* supprto rd.xxx wherever else makes sense * readahead: merge the three tools into one binary * systemctl: when stopping a service which has triggres and warning about it actually check the TriggeredBy= deps fields -* send bus signal to upower on resume so that it can send out its dbus signal for compat +* send SIGPWR to upower on resume so that it can send out its dbus signal for compat * vtconsole: don't override kernel cmdline utf8 override setting -- cgit v1.2.3-54-g00ecf