On Wed, Sep 20, 2023 at 11:54 AM Michael Tokarev <m...@tls.msk.ru> wrote: > It's been broken for quite some time
Thanks, I didn't know about that one. These are actually two different problems, your "read() not blocking" fix, and my "OPT_locallog not in opts" fix. After applying both fixes I was finally able to get syslogd working from my init script. Sure hope these can make it into master soon! - Jeff
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 83b5c0cf6..97578813b 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c @@ -1178,7 +1178,7 @@ int syslogd_main(int argc UNUSED_PARAM, char **argv) } } #endif - if (!ENABLE_FEATURE_REMOTE_LOG || (opts & OPT_locallog)) { + if (!ENABLE_FEATURE_REMOTE_LOG || (option_mask32 & OPT_locallog)) { recvbuf[sz] = '\0'; /* ensure it *is* NUL terminated */ split_escape_and_log(recvbuf, sz); }
_______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox