[syslog-ng]syslog-ng hanging bringing machine in trouble
Roberto Nibali
ratz@drugphish.ch
Thu, 13 Feb 2003 00:52:36 +0100
> glibc-2.1.3 has this problem but glibc-2.2.5 and glibc-2.3.1 not:
>
> glibc-2.1.3/misc/syslog.c in function vsyslog():
>
> if (!connected || __send(LogFile, buf, bufsize, 0) < 0)
> {
> closelog_internal (); /* attempt re-open next time */
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> if (LogStat & LOG_CONS &&
> (fd = __open(_PATH_CONSOLE, O_WRONLY|O_NOCTTY, 0)) >= 0)
D'oh! Next time I should probably read the actual source code rather
than a diff ...
Thanks and cheers,
Roberto Nibali, ratz
--
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq'|dc