[PATCH] syslogd: fork after init on a regular system, not before

Michael Tokarev mjt at tls.msk.ru
Thu Oct 5 09:57:29 UTC 2023


03.10.2023 20:16, Denys Vlasenko:
> Pushed to git, thank you.

Thank you for that.  There's one more issue in there with remote logging,
see this message for the patch:
http://lists.busybox.net/pipermail/busybox/2023-September/090499.html

/mjt

> On Sun, Jun 18, 2023 at 9:24 AM Michael Tokarev <mjt at tls.msk.ru> wrote:
>>
>> 14.06.2023 23:58, Michael Tokarev wrote:
>>> 14.06.2023 23:52, Michael Tokarev wrote:
>>>> Actually it doesn't work on regular system too, the fd#0 is redirected
>>>> from /dev/null somewhere down the line and enters a tight loop
>>>
>>> Attached is the fix. Not touching daemonize_or_reexec().
>>>
>>> Signed-off-by: Michael Tokarev <mjt at tls.msk.ru>
>>
>> Ping?
>> syslogd is completely broken in master now.




More information about the busybox mailing list