On Mon, 2009-10-12 at 12:49 +0000, Samuel thibault wrote:

> Scott James Remnant, le Mon 12 Oct 2009 12:38:20 -0000, a écrit :
> > On Sun, 2009-10-11 at 14:49 +0000, Tom Jaeger wrote:
> > 
> > > Does upstart ensure that only one 'console owner' job can run at the
> > > same time?  I assume it would also be a problem if one 'console owner'
> > > job took away the console from another one.  In this case, couldn't we
> > > just make gdm/kdm 'console owner' jobs as well?
> > 
> > gdm isn't "console owner" though ;-)  in fact, it can't be because the X
> > job it creates has to be the console owner - and you'd cause the same
> > bug with gdm/X that you have with cryptsetup/X now
> 
> Mmm, except that gdm keeps the console open throughout its execution,
> doesn't it?  In such case there wouldn't be any hangup.
> 
gdm would get the hangup

The whole "ownership of the console" thing is really a Linux bug,
because X is never the owner of /dev/console - it's the owner
of /dev/tty7

You could start a "console owner" job on a different tty, but then when
you switched back to VT7, X would get then hangup again.

The right fix is to eliminate all uses of "console owner" (which is
clearly wrong) and get rid of it.

Scott
-- 
Scott James Remnant
sc...@ubuntu.com

-- 
[karmic] Xorg 100% CPU utilization -- only after first login
https://bugs.launchpad.net/bugs/439138
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to