| Summary: | No serial console getty when used with console=ttyS0 console=tty0 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jan ONDREJ <ondrejj> |
| Component: | systemd | Assignee: | systemd-maint |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | johannbg, lpoetter, metherid, mschmidt, notting, philipp, plautrba, systemd-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-02 14:00:03 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jan ONDREJ
2011-11-18 14:40:13 UTC
A workaround is: ln -s /lib/systemd/systemd/serial-getty@.service /etc/systemd/system/getty.target.wants/serial-getty (In reply to comment #1) > A workaround is: > ln -s /lib/systemd/systemd/serial-getty@.service > /etc/systemd/system/getty.target.wants/serial-getty Doesn't work. Even if "login:" prompt is displayed, I can't type my login/password. When typing "root" it presses enters and ends with "Login incorrect". :-( Fedora release 16 (Verne) Kernel 3.1.1-1.fc16.x86_64 on an x86_64 (ttyS0) fedora-16 login: root Heslo: Login incorrect login: Heslo: Login incorrect First time login is accepted, but password is entered after first char is pressed. Looks like agetty process works well, but when login is started, it is sharing /dev/ttyS0 with another process. lsof doesn't say anything interesant for me. That's likely not a systemd bug, but plymouth doing funky stuff with the terminal settings. See https://bugzilla.redhat.com/show_bug.cgi?id=691374#c4 for a workaround. (In reply to comment #0) > But if console=ttyS0 is not default console (last kernel parameter), systemd > doesn't start getty service on this console. Please update autodetection or > make at least some workaround to overwrite this setting. So this is expected behaviour. Only the last console= gets a serial getty spawned automatically by systemd. That leaves us with the issue of broken serial console settings, which is a plymouth bug. *** This bug has been marked as a duplicate of bug 691374 *** |