)]}'
{"tests/t_server_null_server.sh":[{"author":{"_account_id":1000001,"name":"flichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"change_message_id":"8274a023b515a311567080609ce07709b32f8767","unresolved":true,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    # With --daemon OpenVPN\u0027s exit code is always 0, even when it failed to"},{"line_number":26,"context_line":"    # start. Therefore we check the pid-file and if it is missing or is empty"},{"line_number":27,"context_line":"    # we run OpenVPN without --daemon and --log to catch the underlying error."},{"line_number":28,"context_line":"    # By backgrounding the process in the shell we ensure that we don\u0027t block"},{"line_number":29,"context_line":"    # the test run in the (unlikely) case that OpenVPN startup actually"},{"line_number":30,"context_line":"    # succeeds."}],"source_content_type":"text/x-sh","patch_set":1,"id":"ba4b5841_b5256428","line":27,"updated":"2025-05-19 11:45:31.000000000","message":"This doesn\u0027t explain why we can\u0027t use the log file from the failed startup? Please elaborate.","commit_id":"9657d45932778c32a0a638b1680590eed3e74556"},{"author":{"_account_id":1000038,"name":"mattock","display_name":"Samuli Seppänen","email":"sasepp@proton.me","username":"mattock","status":"Community member"},"change_message_id":"4ec6dab4795a20a9eb63810e3db77a0b400d2a97","unresolved":true,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    # With --daemon OpenVPN\u0027s exit code is always 0, even when it failed to"},{"line_number":26,"context_line":"    # start. Therefore we check the pid-file and if it is missing or is empty"},{"line_number":27,"context_line":"    # we run OpenVPN without --daemon and --log to catch the underlying error."},{"line_number":28,"context_line":"    # By backgrounding the process in the shell we ensure that we don\u0027t block"},{"line_number":29,"context_line":"    # the test run in the (unlikely) case that OpenVPN startup actually"},{"line_number":30,"context_line":"    # succeeds."}],"source_content_type":"text/x-sh","patch_set":1,"id":"70edd46b_0e03789c","line":27,"in_reply_to":"10e6f7d1_701a039c","updated":"2025-05-24 04:12:39.000000000","message":"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 -\u003e 11195) as a test specimen:\n\n\"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\u003d98)\"\n\nSo 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\"?","commit_id":"9657d45932778c32a0a638b1680590eed3e74556"},{"author":{"_account_id":1000002,"name":"cron2","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"change_message_id":"1f1b159de7471b4cb7e92f1f5bcad7fdd0909c30","unresolved":true,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    # With --daemon OpenVPN\u0027s exit code is always 0, even when it failed to"},{"line_number":26,"context_line":"    # start. Therefore we check the pid-file and if it is missing or is empty"},{"line_number":27,"context_line":"    # we run OpenVPN without --daemon and --log to catch the underlying error."},{"line_number":28,"context_line":"    # By backgrounding the process in the shell we ensure that we don\u0027t block"},{"line_number":29,"context_line":"    # the test run in the (unlikely) case that OpenVPN startup actually"},{"line_number":30,"context_line":"    # succeeds."}],"source_content_type":"text/x-sh","patch_set":1,"id":"10e6f7d1_701a039c","line":27,"in_reply_to":"864a35bd_87c44e01","updated":"2025-05-20 20:43:49.000000000","message":"This is correct, if cli parsing fails before logging is changed, you\u0027ll only see stdout/stderr\n\nWhich is why t_client.sh uses\n\n```\n    $RUN_SUDO \"${openvpn}\" $openvpn_conf \u003e\u003e$LOGDIR/$SUF:openvpn.log \u0026\n```","commit_id":"9657d45932778c32a0a638b1680590eed3e74556"},{"author":{"_account_id":1000038,"name":"mattock","display_name":"Samuli Seppänen","email":"sasepp@proton.me","username":"mattock","status":"Community member"},"change_message_id":"909b4eeeddb290505ac9fbd3771ca68d12b36ff9","unresolved":true,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    # With --daemon OpenVPN\u0027s exit code is always 0, even when it failed to"},{"line_number":26,"context_line":"    # start. Therefore we check the pid-file and if it is missing or is empty"},{"line_number":27,"context_line":"    # we run OpenVPN without --daemon and --log to catch the underlying error."},{"line_number":28,"context_line":"    # By backgrounding the process in the shell we ensure that we don\u0027t block"},{"line_number":29,"context_line":"    # the test run in the (unlikely) case that OpenVPN startup actually"},{"line_number":30,"context_line":"    # succeeds."}],"source_content_type":"text/x-sh","patch_set":1,"id":"864a35bd_87c44e01","line":27,"in_reply_to":"ba4b5841_b5256428","updated":"2025-05-20 11:51:11.000000000","message":"I can\u0027t remember the impact of --log, so I need to test again. I vaguely recall nothing ever going to the logs if the startup fails.","commit_id":"9657d45932778c32a0a638b1680590eed3e74556"}]}
