From: "Peter Müller" <git@ipfire.org>
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 313403043c5f0f5f053f8fe179b1ec7089cb31a1
Date: Thu, 23 Feb 2023 16:59:07 +0000 [thread overview]
Message-ID: <4PMzkz38BSz2xnF@people01.haj.ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2559 bytes --]
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, next has been updated
via 313403043c5f0f5f053f8fe179b1ec7089cb31a1 (commit)
via a98b79f878cea1b45695e6754d73492a0497a379 (commit)
via bf9d6ad62ad2bc3d7249873b7822d0acdf7ffcce (commit)
via 435076bbb0f6d69c15510e08f6698c61524d011c (commit)
from 216def69c187e2e230456efbb315e479d9359c8a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 313403043c5f0f5f053f8fe179b1ec7089cb31a1
Merge: 216def69c a98b79f87
Author: Peter Müller <peter.mueller(a)ipfire.org>
Date: Thu Feb 23 16:58:40 2023 +0000
Merge branch 'master' into next
-----------------------------------------------------------------------
Summary of changes:
config/rootfiles/oldcore/173/update.sh | 3 +++
src/misc-progs/openvpnctrl.c | 8 ++++----
2 files changed, 7 insertions(+), 4 deletions(-)
Difference in files:
diff --git a/config/rootfiles/oldcore/173/update.sh b/config/rootfiles/oldcore/173/update.sh
index 24d89c30a..98fea5a86 100644
--- a/config/rootfiles/oldcore/173/update.sh
+++ b/config/rootfiles/oldcore/173/update.sh
@@ -51,6 +51,9 @@ done
/etc/rc.d/init.d/sshd stop
/etc/rc.d/init.d/suricata stop
+# Make sure the OpenVPN authenticator is actually dead
+killall -9 openvpn-authenticator
+
KVER="xxxKVERxxx"
# Backup uEnv.txt if exist
diff --git a/src/misc-progs/openvpnctrl.c b/src/misc-progs/openvpnctrl.c
index 92b5989e9..0659aa6b1 100644
--- a/src/misc-progs/openvpnctrl.c
+++ b/src/misc-progs/openvpnctrl.c
@@ -463,12 +463,15 @@ static void stopAuthenticator() {
NULL,
};
- run("/sbin/killall", argv);
+ run("/bin/killall", argv);
}
void stopDaemon(void) {
char command[STRING_SIZE];
+ // Stop OpenVPN authenticator
+ stopAuthenticator();
+
int pid = readPidFile("/var/run/openvpn.pid");
if (!pid > 0) {
exit(1);
@@ -479,9 +482,6 @@ void stopDaemon(void) {
snprintf(command, STRING_SIZE - 1, "/bin/rm -f /var/run/openvpn.pid");
executeCommand(command);
-
- // Stop OpenVPN authenticator
- stopAuthenticator();
}
static int startAuthenticator(void) {
hooks/post-receive
--
IPFire 2.x development tree
reply other threads:[~2023-02-23 16:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4PMzkz38BSz2xnF@people01.haj.ipfire.org \
--to=git@ipfire.org \
--cc=ipfire-scm@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox