Alan: >> The attached change adds a patch to fix GDM so if it fails to run >> fbconsole, it will recover more gracefully. The forked child process >> should just exit in this case. > > Not this bug, but a related bug I haven't gotten around to filing yet: > I noticed this week when logging in & out repeatedly on OpenSolaris build > 99, that gdm starts a new fbconsole every time and never kills the old > ones, so after a while I had 20 fbconsoles running, when any more than > one is a waste of memory.
Actually that bug has been fixed. It was the fix for that bug which introduced the problem I am fixing with this patch. By the way, Alan, GDM currently assumes fbconsole is in /usr/openwin/bin. Should GDM be looking for fbconsole in a different directory since I'm assuming /usr/openwin/bin is not ideal for OpenSolaris? For backwards compatibility, should GDM try to find fbconsole in different directories in a certain order? Like first checking /usr/openwin/bin/fbconsole, and then checking /usr/X11/bin/fbconsole if it isn't in /usr/openwin/bin? Brian
