https://bugzilla.novell.com/show_bug.cgi?id=672450
https://bugzilla.novell.com/show_bug.cgi?id=672450#c13
--- Comment #13 from Dr. Werner Fink 2011-02-16 14:29:24 UTC ---
I can follow the lines
fd=1 (/dev/console) cnt=78 ret=78 redirected_tty_write str=^MBoot logging st
fd=5 (/var/run/blogd.pid) cnt=5 ret=5 do_sync_write str=1092X
fd=1 (/dev/ttyS0) cnt=118 ret=118 tty_write str=^MBoot logging st
fd=7 (/dev/tty0) cnt=118 ret=118 redirected_tty_write str=^MBoot logging st
fd=4 (/dev/shm/initrd.msg) cnt=118 ret=118 do_sync_write str=^MBoot logging st
but after this the code of blogd does not show how this should go on:
parselog(trans, cnt); /* Parse and make copy of the input
*/
for (c = cons; c; c = c->next) {
if (c->fd < 0)
continue;
safeout(c->fd, (char*)trans, cnt, c->max_canon);
(void)tcdrain(c->fd); /* Write copy of input to real tty */
}
flushlog();
the file descriptor fd=4 is used by the thread triggered by flushlog()
this shows that this is no an endless loop, that is we have two physical
devices with file descriptors fd=1 and fd=7.
Please could you determine if the blogd rereads its own input even from
the new /dev/console?
--
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.