[PATCH] syslogd: fork after init on a regular system, not before
Michael Tokarev
mjt at tls.msk.ru
Wed Jun 14 20:58:06 UTC 2023
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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syslogd-avoid-nulling-devlog.patch
Type: text/x-patch
Size: 875 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20230614/e21de4b4/attachment.bin>
More information about the busybox
mailing list