[systemd-devel] PATCH: fix logind on xen
lennart at poettering.net
Fri Jan 6 09:37:04 PST 2012
On Fri, 06.01.12 18:33, Frederic Crozat (fcrozat at suse.com) wrote:
> > > > I have now commited a patch which reworks a lot of the logic there and
> > > > tries to handle the no-VT case as gracefully as possible. We still
> > > > implicitly create seat0, but we now stop advertising that it was
> > > > multi-session capable. Hence we still end up with a seat, but only with
> > > > the minimal properties that we need. This makes most of the other
> > > > explicit checks unnecessary fortunately.
> > >
> > > Hmm, I've tested this patch (I'm extracted the patche you did for it and
> > > applied to our v37 package, thanks to git ;) and from what I see,
> > > "console" login doesn't get any seat attached (but other login, like
> > > over ssh are getting one), unlike my initial patch. So more work is
> > > needed somehow.
> > "console" logins? What exactly is that? Logins on /dev/console? Where
> > does /dev/console point to? i.e. what is the contents of
> > /sys/class/tty/console/active if you do that?
> Sorry, I was unclear. On Xen, you can login on a "text" terminal. When
> doing that, /sys/class/tty/console/active outputs : tty-1 tty0
Hmm? So it claims "tty0" in that file, bug actually no /dev/tty0 device
exists? That souinds like a kernel bug to me.
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel