Files
meta-openembedded/meta-oe
Koen Kooi ede2ce2942 systemd: fix "double getty" problem on serial console with recent kernels
From #systemd:

16:46 < koen> kay: do you know what could have changed in 2.6.39 that system opens a getty on tty0 by itself?
16:48 < kay> nothing in the kernel i could think of
16:48 < koen> I can trigger it just by switching kernels and leaving the rootfs identical
23:53 < mezcalero> koen: btw, it is /lib/systemd/systemd-generators/systemd-getty-generator which spawns gettys
23:53 < mezcalero> on the kernel console automatically
23:53 < mezcalero> it uses /sys/class/tty/console/active for that
23:53 < mezcalero> which eixsts only on recent kernels
00:32 < koen> mezcalero: so what's the best way to avoid double spawning a getty?
00:35 < mezcalero> if if you want a serial getty even if you are not redirecting the console just make sure to use the same service name
00:35 < mezcalero> how exactly are your two getty services called?
00:39 < koen> lrwxrwxrwx    1 root     root            41 May 27 22:38 getty@ttyO2.service -> /lib/systemd/system/serial-getty@.service
00:50 < mezcalero> koen: call it serial-getty@ttyO2
2011-05-28 16:42:55 +02:00
..
2011-05-25 16:05:04 +02:00
2011-05-10 08:55:54 +02:00

This layer depends on:

URI: git://git.openembedded.org/openembedded-core
branch: master
revision: HEAD

Send pull requests to openembedded-devel@lists.openembedded.org with '[meta-oe]' in the subject'

When sending single patches, please using something like 'git send-email -1 --to openembedded-devel@lists.openembedded.org --subject-prefix meta-oe'

Main layer maintainer: Koen Kooi <koen@dominion.thruhere.net>