[systemd-devel] PATCH: fix logind on xen

Jan Engelhardt jengelh at medozas.de
Tue Jan 3 17:08:26 PST 2012


On Tuesday 2012-01-03 21:52, Lennart Poettering 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 moved to
>> > its own directory.
>> 
>> Also, I assume that if /dev/tty0 doesn't exist /dev/tty1, /dev/tty2 and
>> so on don't exist either. That means calls like seat_preallocate_vts()
>> need to be shortcut in this case, too.

Right.

>I haven't tested this since I don't have S390 nor Xen. Would be cool if
>you could test this. (though right now is not the ideal point in time,
>because systemd git is a bit borked. please wait a few days in order not
>to burn your fingers on it.)

You can try this on non-s390,non-virt systems just by deactivating
CONFIG_VT in the kernel config.


More information about the systemd-devel mailing list