[prev in list] [next in list] [prev in thread] [next in thread]
List: openvpn-devel
Subject: [Openvpn-devel] [PATCH applied] Re: Ignore deprecation warning for daemon on macOS
From: Gert Doering <gert () greenie ! muc ! de>
Date: 2020-10-11 16:02:20
Message-ID: 202010111602.09BG2K7j012945 () chekov ! greenie ! muc ! de
[Download RAW message or body]
Acked-by: Gert Doering <gert@greenie.muc.de>
"unavoidable warnings are less useful than no warnings at all" -
so as a temporary measure, this makes sense. Longterm, one could
see whether a "platform_daemon()" call makes sense...
(From how I read the posix_spawn(3) manpage, it latter is more intended
to replace fork()/exec() combos... not sure how that would help with
daemonizing [controlling tty and that]... daemon(3) suggests that Apple
does not want people to start daemons by hand at all, using launchd(8)
instead... and I agree that *that* would need a totally different
approach to "start openvpn")
Tested on Mojave: fixes the warnings in init.c and down-root.c.
Your patch has been applied to the master branch.
commit a480eaae1d32a6c3970911a561a64c1019944f92
Author: Arne Schwabe
Date: Mon Oct 5 11:18:05 2020 +0200
Ignore deprecation warning for daemon on macOS
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20201005091805.17260-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21171.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
--
kind regards,
Gert Doering
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic