https://bugzilla.novell.com/show_bug.cgi?id=774126
https://bugzilla.novell.com/show_bug.cgi?id=774126#c13
Dr. Werner Fink changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tittiatcoke@gmail.com
--- Comment #13 from Dr. Werner Fink 2014-01-10 13:23:36 UTC ---
This is not systemd but plymouth. The plymouth process locks the termios
structure with the ioctl TIOCSLCKTRMIOS and this leads to the effect that the
first agetty on the system console e.g. the serial line does not change the
termios structure with tcsetattr().
I've added a simple routine
for (i = 0; i < 10; i++) {
/*
* Even with TTYReset=no it seems with systemd or plymouth
* the termios flags become changed from under the first
* agetty on a serial system console as the flags are locked.
*/
struct termios lock;
memset(&lock, 0, sizeof(struct termios));
if (ioctl(STDIN_FILENO, TIOCGLCKTRMIOS, &lock) < 0)
break;
if (!lock.c_iflag && !lock.c_oflag && !lock.c_cflag && !lock.c_lflag)
break;
debug("termios locked\n");
tcsendbreak(STDIN_FILENO, 0); /* 0.25 upto 0.5 seconds */
}
in termio_init() of agetty
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.