* Don't chdir immediately, but the end of the init sequence, if needed */ Signed-off-by: Arne Schwabe Acked-by: Gert Doering ĭiff -git a/src/openvpn/init.c b/src/openvpn/init.c index 31ecadcc.61d9cd75 100644 - a/src/openvpn/init.c +++ b/src/openvpn/init.c -1237,10 +1237,18 possibly_become_daemon(const struct options *options) Ignore deprecation warning for daemon on macOS
Tested on Mojave: fixes the warnings in init.c and down-root.c. and I agree that *that* would need a totally different
daemon(3) suggests that Appleĭoes not want people to start daemons by hand at all, using launchd(8) not sure how that would help withĭaemonizing. (From how I read the posix_spawn(3) manpage, it latter is more intended See whether a "platform_daemon()" call makes sense. So as a temporary measure, this makes sense. "unavoidable warnings are less useful than no warnings at all". Subject: Ignore deprecation warning for daemon onĬontent-Type: text/plain charset="us-ascii" X-Spam-Report: Spam Filtering performed by mx.Ġ.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mailĠ.0 SPF_NONE SPF: sender does not publish an SPF RecordĠ.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record Received: (nullmailer pid 17309 invoked by uid 10006) Received: from ()īy with smtp (Exim 4.94 (FreeBSD)) R338xLsY3xjNCDN9nMwI4TC3g2wcPRqSjEt7kXRv8bMgCFSRYTEbX/P/m+PuoHh6+wj8e04aWNFDSĢqYbVmvV39pkAE5f1SpQc81IseRvFPr+RsxsS8+Seis5qF+jzgevRLwnA/vSeuZKRbRM= In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:īh=qrBdloiTPvoML/FQaiKvludSniQLfkRHsn3rptJHkhQ= b=d6w0ZEHdOY0z42MMP0silz3q16 Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: H=Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:MIME-Version:Ĭontent-Type:Content-Transfer-Encoding:Content-ID:Content-Description: JFQSVfF72oODcr2qSTbTPcJO57LyiLPXs5T8CJMnbLwFpJs/eoOEopPWCb/WI9NN5tlGcYpLKUIzDĭNsFkMRbaq7/jxpPtT880e2pGRcuETpSSC/M0圜DyYr26qnwoMuFg8Gnt7z4zdiU5pTM= ĭKIM-Signature: v=1 a=rsa-sha256 q=dns/txt c=relaxed/relaxed d=sf.net s=x List-Subscribe:List-Post:List-Owner:List-Archive īh=qrBdloiTPvoML/FQaiKvludSniQLfkRHsn3rptJHkhQ= b=aLMeUtGp9hioEP6yuNZnQOhEYU :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:Ĭontent-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc Received: from (helo=mx.)īy. with esmtps Received: from (helo=.)īy. with esmtp (Exim 4.90_1) (ecelerity 4.0 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) Spf=pass (signature verification failed) header.d= ĭkim=fail (signature verification failed) header.d=sf.net dmarc=none (p=nil
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))īy .net with LMTPSĪuthentication-Results: .net Delivered-To: from .net ()īy .net with LMTP