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

2023-06-14 Thread Michael Tokarev
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 --- busybox.orig/sysklogd/sys

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

2023-06-14 Thread Michael Tokarev
14.06.2023 23:30, Michael Tokarev пишет: 13.06.2023 17:30, Denys Vlasenko wrote: I think we can delay daemonizing in both cases. Please try current git. Yes, your version is better, it is definitely cleaner, especially after the preparational patch. But does it work for non-MMU case? Or will

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

2023-06-14 Thread Michael Tokarev
13.06.2023 17:30, Denys Vlasenko wrote: I think we can delay daemonizing in both cases. Please try current git. Yes, your version is better, it is definitely cleaner, especially after the preparational patch. But does it work for non-MMU case? Or will it just open /dev/log twice and everythin

[PATCH] date: return failure exit code on set time error

2023-06-14 Thread Ladislav Michl
From: Ladislav Michl Signed-off-by: Ladislav Michl --- coreutils/date.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreutils/date.c b/coreutils/date.c index abcc37c33..0fca89369 100644 --- a/coreutils/date.c +++ b/coreutils/date.c @@ -289,7 +289,7 @@ int date_main(int a