Attention is currently required from: cron2, flichtenheld, plaisthos.

mattock has posted comments on this change. ( 
http://gerrit.openvpn.net/c/openvpn/+/1024?usp=email )

Change subject: t_server_null: print error when server startup fails
......................................................................


Patch Set 1:

(1 comment)

File tests/t_server_null_server.sh:

http://gerrit.openvpn.net/c/openvpn/+/1024/comment/70edd46b_0e03789c :
PS1, Line 27:     # we run OpenVPN without --daemon and --log to catch the 
underlying error.
> This is correct, if cli parsing fails before logging is changed, you'll only 
> see stdout/stderr […]
I tested adding --log. And in case of OpenVPN startup failure we would get the 
error in the log. I used a duplicate management port in second server (11194 -> 
11195) as a test specimen:

"2025-05-24 07:04:19 MANAGEMENT: Socket bind failed on local address 
[AF_INET]127.0.0.1:11194: Address already in use (errno=98)"

So we can either do "--log" and then tail the log, or we can just not do --log. 
The latter seems to be slightly more reliable as far as "getting all the output 
you might need"?



--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1024?usp=email
To unsubscribe, or for help writing mail filters, visit 
http://gerrit.openvpn.net/settings

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I39dc6b08952a06dae7901e468f9487c8541d83c3
Gerrit-Change-Number: 1024
Gerrit-PatchSet: 1
Gerrit-Owner: mattock <sas...@proton.me>
Gerrit-Reviewer: flichtenheld <fr...@lichtenheld.com>
Gerrit-Reviewer: plaisthos <arne-open...@rfc2549.org>
Gerrit-CC: cron2 <g...@greenie.muc.de>
Gerrit-CC: openvpn-devel <openvpn-devel@lists.sourceforge.net>
Gerrit-Attention: plaisthos <arne-open...@rfc2549.org>
Gerrit-Attention: cron2 <g...@greenie.muc.de>
Gerrit-Attention: flichtenheld <fr...@lichtenheld.com>
Gerrit-Comment-Date: Sat, 24 May 2025 04:12:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2 <g...@greenie.muc.de>
Comment-In-Reply-To: flichtenheld <fr...@lichtenheld.com>
Comment-In-Reply-To: mattock <sas...@proton.me>
Gerrit-MessageType: comment
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to