From patchwork Mon Jul 13 15:18:11 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gert Doering X-Patchwork-Id: 5105 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7001:4:b0:878:73b6:dbac with SMTP id rm4csp7518mab; Mon, 13 Jul 2026 08:18:37 -0700 (PDT) X-Forwarded-Encrypted: i=2; AFNElJ/MXRZCZTDmDsCUWV5QsNl3e1h06gd1UVqYEDzQ27rDwMdQaZP16tXkI6sHf9N3bB2KF0cdAUU91q8=@openvpn.net X-Received: by 2002:a05:6830:7308:b0:7e6:f2ef:e231 with SMTP id 46e09a7af769-7ec095dda25mr5642803a34.2.1783955916969; Mon, 13 Jul 2026 08:18:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1783955916; cv=none; d=google.com; s=arc-20260327; b=MopDEN3LBWPTYYfIC1FBZwnIiQQUCI00ZOoIvBrsKwuhhoHXOM//3Fg9AuQRs6pWbb y1/ooUDEjAl9L77hr8PCY/Zd1X6VUIHsQyy77/3WVkm+dIi3lBRE49VTKuyLN8fHxQoJ Gvvj0ukHdXSyRg7Ch6LGgtFGacIKlEUBdDcyrQBnF/ZbScqD2uB1Dh1sISxXqyf55scJ nf4JIezKnK/WYgA0YGNutMT3LpfShxeqpGj74z5Kf/uVt5r6+15ijH1oli8Kn2+YAwNu fK5/+UqvNIMAGeJ3FSz6ek1mYrkG7EPpSD07RLNY+RjWJfnVYIhipJtKJ0df8ddH+YWj CgtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-signature:dkim-signature; bh=+AvNoSKGLrBBDff9nDXFxslySvEOTmtTMMlCvuZahlQ=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=VtMHzF0RX3H75LJzDS9ciccFXzMHCDPakG9VLwgecDEWJL8/mWj9JwFwSyO7O2F87g Hob7XarktKdeF+9HM2EPh1CPFTe9sFWJoKtn6XjNSyw1/3Mv14U69PhxDSIAe5J5WP0x 6yqKSHQaJZO3nqdBrreiwNPWqnkvzv4g1hObXDUbLo9pA3MU6C/QfkFNOBkFE1Gpy06X 1w2YM2RdSmfCMt4v16YzSRq/YAfYQPtpmgCL0OQK3hL/mHvO93A7NXaoOXrOhtgk5ua9 83i7S7ubWUInG1YGMSn/h9yzGmhLQPDRiG0B8Tc8sX2qreMvYFXlCU56ibUATuvbl/Oc wBag==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.sourceforge.net header.s=beta header.b=kCuiqIIR; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=fZ0ti8yW; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=mLI+YOhu; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id 46e09a7af769-7ebcb5808e2si15021320a34.121.2026.07.13.08.18.36 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Jul 2026 08:18:36 -0700 (PDT) Received-SPF: pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) client-ip=216.105.38.7; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.sourceforge.net header.s=beta header.b=kCuiqIIR; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=fZ0ti8yW; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=mLI+YOhu; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Subject:MIME-Version:References:In-Reply-To:Message-ID:Date:To:From:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=+AvNoSKGLrBBDff9nDXFxslySvEOTmtTMMlCvuZahlQ=; b=kCuiqIIRts4GVB3TqTxkVB9g5M 0ktEqiDKdCEK7w9a1PZgVM6su6jE6pJKS/owfcm5xwvtQaPD1eXnHcpCBQhy1sln1WCNW7DyzFr39 wsv2H3mr/nmna06D2nwLLWrU7Z5vJURO0YsdnjwuCOZLNYw1DGLbXu5UrqjlteeWZiL0=; Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1wjIQS-0005BV-P3; Mon, 13 Jul 2026 15:18:33 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1wjIQR-0005BF-G4 for openvpn-devel@lists.sourceforge.net; Mon, 13 Jul 2026 15:18:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=V/mNWUjP+EZ0AIdxuLivsMBzFsgsboUI/c8QobyUSbM=; b=fZ0ti8yWs8tJm0FN8Z+G1CkN+I n2wTYqRFdtKpQqpMm8o/Q2ZOajPLGA9Ab2CTFf7NPqPefVGBceg4Aw7iN5RvM8S7eTqaKKnv0phE0 lac4xnqYafghjQG2rAkiSPfc9aM+H8gaysQZhC/3aoLxq2/RZ/z0IcnxaIk+cyzFul/U=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID: Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=V/mNWUjP+EZ0AIdxuLivsMBzFsgsboUI/c8QobyUSbM=; b=mLI+YOhuENSaeoD2NWBrS2kIv6 MYwjt+JNstRHGeVKcdeBAUZ40Ck7NYmxOujqFT0oF0Vfs7e4zoRTgeemIdfvAnMf8pTv5ZduP03Wx NAg3OXqVsYLgccfOXRZxKVN1wrtNCXE4HLimgP9Pmmq8hF7Zhx83q9T8rC+uYHayHwRk=; Received: from [193.149.48.129] (helo=blue.greenie.muc.de) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1wjIQP-0002SR-D3 for openvpn-devel@lists.sourceforge.net; Mon, 13 Jul 2026 15:18:32 +0000 Received: from blue.greenie.muc.de (localhost [127.0.0.1]) by blue.greenie.muc.de (8.18.1/8.18.1) with ESMTP id 66DFIHN4022031 for ; Mon, 13 Jul 2026 17:18:17 +0200 Received: (from gert@localhost) by blue.greenie.muc.de (8.18.2/8.18.1/Submit) id 66DFIHsT022030 for openvpn-devel@lists.sourceforge.net; Mon, 13 Jul 2026 17:18:17 +0200 From: Gert Doering To: openvpn-devel@lists.sourceforge.net Date: Mon, 13 Jul 2026 17:18:11 +0200 Message-ID: <20260713151816.22005-1-gert@greenie.muc.de> X-Mailer: git-send-email 2.53.0 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "sfi-spamd-1.hosts.colo.sdot.me", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Frank Lichtenheld In some cases we will have resolvectl installed but no running systemd. E.g. on old Ubuntu distros resolvectl is part of the main systemd package which we have installed as a build-dependency. Content analysis details: (1.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Headers-End: 1wjIQP-0002SR-D3 Subject: [Openvpn-devel] [PATCH v1] t_client.sh.in: Do not run resolvectl if systemd is not running X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox X-GMAIL-THRID: 1870613359554628534 X-GMAIL-MSGID: 1870613359554628534 From: Frank Lichtenheld In some cases we will have resolvectl installed but no running systemd. E.g. on old Ubuntu distros resolvectl is part of the main systemd package which we have installed as a build-dependency. Supress the warnings from resolvectl in this case. Change-Id: I677d3206c24aad997889ed76fb8eca2e6f4b1259 Signed-off-by: Frank Lichtenheld Acked-by: Gert Doering Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1778 --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1778 This mail reflects revision 1 of this Change. Acked-by according to Gerrit (reflected above): Gert Doering diff --git a/tests/t_client.sh.in b/tests/t_client.sh.in index 5bf9dbb..52f2a0d 100755 --- a/tests/t_client.sh.in +++ b/tests/t_client.sh.in @@ -243,7 +243,7 @@ # except Linux and MacOS case $UNAME in Linux) - if [ -x /usr/bin/resolvectl ] ; then + if [ -x /usr/bin/resolvectl -a -d /run/systemd/system ] ; then echo "-- linux resolvectl --" resolvectl status else