Re: [systemd-devel] PATCH: fix logind on xen

2012-01-09 Thread Frederic Crozat
Le samedi 07 janvier 2012 à 00:21 +0100, Lennart Poettering a écrit : On Fri, 06.01.12 23:17, Jan Engelhardt (jeng...@medozas.de) wrote: 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

Re: [systemd-devel] PATCH: fix logind on xen

2012-01-06 Thread Frederic Crozat
Le mardi 03 janvier 2012 à 21:52 +0100, Lennart Poettering a écrit : On Tue, 03.01.12 21:35, Lennart Poettering (lenn...@poettering.net) wrote: currently, logind was enforcing the presence of /dev/tty0 to start properly. This device is not present on Xen (when using xencons=tty) or

Re: [systemd-devel] PATCH: fix logind on xen

2012-01-06 Thread Lennart Poettering
On Fri, 06.01.12 14:59, Frederic Crozat (fcro...@suse.com) wrote: Le mardi 03 janvier 2012 à 21:52 +0100, Lennart Poettering a écrit : On Tue, 03.01.12 21:35, Lennart Poettering (lenn...@poettering.net) wrote: currently, logind was enforcing the presence of /dev/tty0 to start

Re: [systemd-devel] PATCH: fix logind on xen

2012-01-06 Thread Frederic Crozat
Le vendredi 06 janvier 2012 à 18:16 +0100, Lennart Poettering a écrit : On Fri, 06.01.12 14:59, Frederic Crozat (fcro...@suse.com) wrote: Le mardi 03 janvier 2012 à 21:52 +0100, Lennart Poettering a écrit : On Tue, 03.01.12 21:35, Lennart Poettering (lenn...@poettering.net) wrote:

Re: [systemd-devel] PATCH: fix logind on xen

2012-01-06 Thread Lennart Poettering
On Fri, 06.01.12 18:33, Frederic Crozat (fcro...@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

Re: [systemd-devel] PATCH: fix logind on xen

2012-01-06 Thread Jan Engelhardt
On Friday 2012-01-06 18:37, Lennart Poettering wrote: console logins? What exactly is that? Logins on /dev/console? In /etc/inittab: cons:12345:respawn:/sbin/smart_agetty -L 38400 console (Solaris 8 did something similar, as it does not have a tty multiplex on console like Linux by

Re: [systemd-devel] PATCH: fix logind on xen

2012-01-06 Thread Lennart Poettering
On Fri, 06.01.12 23:17, Jan Engelhardt (jeng...@medozas.de) wrote: 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

Re: [systemd-devel] PATCH: fix logind on xen

2012-01-03 Thread Lennart Poettering
On Tue, 03.01.12 14:27, Frederic Crozat (fcro...@suse.com) wrote: Le lundi 19 décembre 2011 à 17:23 +0100, Frederic Crozat a écrit : Hi, currently, logind was enforcing the presence of /dev/tty0 to start properly. This device is not present on Xen (when using xencons=tty) or S/390.

Re: [systemd-devel] PATCH: fix logind on xen

2012-01-03 Thread Lennart Poettering
On Tue, 03.01.12 21:35, Lennart Poettering (lenn...@poettering.net) wrote: currently, logind was enforcing the presence of /dev/tty0 to start properly. This device is not present on Xen (when using xencons=tty) or S/390. Here is a regenerated version against master, since logind was

[systemd-devel] PATCH: fix logind on xen

2011-12-19 Thread Frederic Crozat
Hi, currently, logind was enforcing the presence of /dev/tty0 to start properly. This device is not present on Xen (when using xencons=tty) or S/390. Attached patch fixes this issue. -- Frederic Crozat fcro...@suse.com SUSE From b40e075944c72a3fc45796c1d059673cef7c7db8 Mon Sep 17 00:00:00 2001