From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4bW0D60NVjz33K0 for ; Mon, 30 Jun 2025 08:47:50 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4bW0D23kMnz2yn7 for ; Mon, 30 Jun 2025 08:47:46 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4bW0D16PxTz5Y; Mon, 30 Jun 2025 08:47:45 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1751273265; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=leuV01hfVib9LlIpA9Wu3AkmyhapKqC1Viq8hGHOo4M=; b=fqOHNvf83PaW1TMai5e2PJlhderoOp0iuCl/JQMCuQTVMxTfCoCHFeTrqhlqGf1EHPj2+b O+sgIDthKJPYVGCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1751273265; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=leuV01hfVib9LlIpA9Wu3AkmyhapKqC1Viq8hGHOo4M=; b=QbwKZAjg/YDwg7RNpEmPbEHJXJ30uA0zbNNGEm3tEfoWDjDTFYtF75x9DPGljPUX3+ruxn TTMTuXCCPZFCDgmIvaXQshk+Hb9zruJ/rxfbp+4ry+c3uIaWSB/fido44A8QdyeZLPiFix RSQPsV0+2NOaVD43SUVPCQLInV9PH4BGeq7Sdrz0PsgclW2mZt5gAwKMLm4plXGFc4wc1E e9X/q74rfitD6JSl5JWHoPcGDYsrLlfQDuj8D7kIUBZw6a4FzaAt2JmXtreenUwIK3B245 nrxj7LBsD8Y5yAu67t3rzAq5lpheJl8mp2w1rEqs6jPvDizUZd1tFK3S2ZJbQQ== Content-Type: text/plain; charset=us-ascii Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: Mime-Version: 1.0 Subject: Re: Feedback on the branch openvpn-rebase From: Michael Tremer In-Reply-To: <04f4a94e-56a2-42fb-9d1d-913e829b5a8b@ipfire.org> Date: Mon, 30 Jun 2025 09:47:45 +0100 Cc: "IPFire: Development-List" Content-Transfer-Encoding: quoted-printable Message-Id: <35CE62C7-F69E-47AB-821A-785293DA86D6@ipfire.org> References: <04f4a94e-56a2-42fb-9d1d-913e829b5a8b@ipfire.org> To: Adolf Belka Very good find. Thank you! = https://git.ipfire.org/?p=3Dpeople/ms/ipfire-2.x.git;a=3Dcommitdiff;h=3Dfa= 5a2a9f7c9bd63d1192c7ddef623021bc9d3620 -Michael > On 29 Jun 2025, at 12:35, Adolf Belka wrote: >=20 > Hi All, >=20 > Have found out why the openvpn-authenticator shows up as not running = when being stopped. In the initscript stop section there is >=20 > openvon-authenticator >=20 > instead of >=20 > openvpn-authenticator >=20 > Regards, > Adolf >=20 >=20 > On 29/06/2025 12:51, Adolf Belka wrote: >> Hi All, >> Tested out the latest openvpn-rebase branch from @ms using the link = to the iso that he provided from the latest fixes. >> The disable and enable checkbox now works. If you enable the checkbox = and save then the box is enabled and if you then disable and save it the = checkbox now is disabled so that previous issue is fixed. >> Unfortunately the start and stop issue is still present. >> When I start the system running with the openvpn server running and = then I disable the server then it shows the server as stopped. >> If I then enable the server and save then the checkbox is enabled but = the server stays stopped. >> On the command line the status shows >> /usr/sbin/openvpn is not running but /var/run/openvpn-rw.pid exists. >> So the server stopped but the pid was not removed. >> If I boot the system and the server was checked as enabled then = everything starts properly. >> The boot screen shows >> Starting OpenVPN Roadwarrior Server... OK >> Starting OpenVPN Authenticator... OK >> Starting OpenVPN N2N connection 'ipfirenet2net'... OK >> then if I straight away reboot the shutdown screen shows >> Stopping OpenVPN Authenticator... Not running WARN >> Stopping OpenVPN Roadwarrior Server... FAIL >> Stopping OpenVPN N2N connection 'ipfirenet2net'... OK >> The N2N connection starts and stops correctly and the pid is removed. >> I believe that this might be due to the variable PIDFILE being used = for both the authenticator and the rw daemons and when the openvpn-rw = daemon is being shutdown it has the authenticator pid in the PIDFILE = variable and not the openvpn-rw.pid file name. >> I have tried various ways to change this in the openvpn-rw initscript = but I ended up fixing it for one thing but then creating a problem for = another one. Basically I think because I don't understand how the whole = initscript and pid process is running in IPFire. >> Regards, >> Adolf. >=20 >=20