Re: dhcpcd-9.0.0 released
Julian Wollrath
Wed Apr 08 16:19:28 2020
Hi Roy,
> At a rough guess, syslog might be started after privsep then.
> What system logger do you use?
rsyslog but it is already running when I observed the issue.
>
> Does this patch help any?
thank you! The patch fixes it.
Cheers,
Julian
>
>
> diff --git a/src/logerr.c b/src/logerr.c
> index 170b529d..51a8113b 100644
> --- a/src/logerr.c
> +++ b/src/logerr.c
> @@ -371,7 +371,7 @@ logopen(const char *path)
>
> if (ctx->log_opts & LOGERR_LOG_PID)
> opts |= LOG_PID;
> - openlog(NULL, opts, LOGERR_SYSLOG_FACILITY);
> + openlog(NULL, opts | LOG_NDELAY,
> LOGERR_SYSLOG_FACILITY); return 1;
> }
>
--
() ascii ribbon campaign - against html e-mail
/\ - against proprietary attachments
Archive administrator: postmaster@marples.name