Skip to contentSkip to conversation

OpenVPN 2.7_rc3 released

Openvpn-devel Simon Matter 4 participants 5 messages Nov 29, 2025 – Dec 4, 2025

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines

Hi,

Quoted 2 lines

The OpenVPN community project team is proud to release OpenVPN 2.7_rc3.

Quoted 8 lines
Quoted 2 lines

This is the third release candidate for the feature release 2.7.0.

Can one of the developers please add this little patch?

https://github.com/OpenVPN/openvpn/issues/834

It would be much appreciated.

The patch is attached to this email. Would be nice if it was considered.

Regards,
Simon

distro/systemd/[email protected]... +1 -1
diff -Naupr openvpn-2.7_beta1.orig/distro/systemd/[email protected]... openvpn-2.7_beta1/distro/systemd/[email protected]...
@@ -11,7 +11,7 @@ Type=notify
 PrivateTmp=true
 WorkingDirectory=/etc/openvpn/client
 ExecStart=@sbindir@/openvpn --suppress-timestamps --nobind --config %i.conf
-CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SETPCAP CAP_SYS_CHROOT CAP_DAC_OVERRIDE
+CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SETPCAP CAP_SYS_CHROOT CAP_DAC_OVERRIDE CAP_SYS_NICE
 LimitNPROC=10
 DeviceAllow=/dev/null rw
 DeviceAllow=/dev/net/tun rw
distro/systemd/[email protected]... +1 -1
diff -Naupr openvpn-2.7_beta1.orig/distro/systemd/[email protected]... openvpn-2.7_beta1/distro/systemd/[email protected]...
@@ -11,7 +11,7 @@ Type=notify
 PrivateTmp=true
 WorkingDirectory=/etc/openvpn/server
 ExecStart=@sbindir@/openvpn --status %t/openvpn-server/status-%i.log --status-version 2 --suppress-timestamps --config %i.conf
-CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SETPCAP CAP_SYS_CHROOT CAP_DAC_OVERRIDE CAP_AUDIT_WRITE
+CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SETPCAP CAP_SYS_CHROOT CAP_DAC_OVERRIDE CAP_SYS_NICE CAP_AUDIT_WRITE
 LimitNPROC=10
 DeviceAllow=/dev/null rw
 DeviceAllow=/dev/net/tun rw
#1 lore raw

Hi,

Quoted 7 lines · Simon Matter via Openvpn-devel
Quoted 5 lines

Can one of the developers please add this little patch?

https://github.com/OpenVPN/openvpn/issues/834

It would be much appreciated.

The patch is attached to this email. Would be nice if it was considered.

Patch sent as attachment are hard to review as we have no way to comment on the changes.

Moreover the patch lacks a proper git commit message/title. Along the commit message you also need to add a proper Signed-off-by line.

You can read more about our process and patch submission procedure here:

https://community.openvpn.net/Development/DeveloperDocumentation#community-patches-and-the-acceptance-process-of-these-patches

Regards,

Signature · 1 line
Antonio Quartulli
#2 lore raw
Quoted 14 lines

Hi,

Quoted 7 lines · Simon Matter via Openvpn-devel
Quoted 5 lines

Can one of the developers please add this little patch?

https://github.com/OpenVPN/openvpn/issues/834

It would be much appreciated.

The patch is attached to this email. Would be nice if it was considered.

Patch sent as attachment are hard to review as we have no way to comment on the changes.

Quoted 6 lines

Moreover the patch lacks a proper git commit message/title. Along the commit message you also need to add a proper Signed-off-by line.

You can read more about our process and patch submission procedure here:

https://community.openvpn.net/Development/DeveloperDocumentation#community-patches-and-the-acceptance-process-of-these-patches

As said in the issue, I'm not a developer and I'm not using Git.

This patch is only two lines and I'm sure someone can please create the correct patch.

Regards,
Simon

Acked-by
#3 lore raw
In reply to Simon Matter

Am 29.11.25 um 19:08 schrieb Simon Matter via Openvpn-devel:

Quoted 7 lines
Quoted 7 lines

Hi,

Quoted 4 lines

The OpenVPN community project team is proud to release OpenVPN 2.7_rc3.

This is the third release candidate for the feature release 2.7.0.

Quoted 7 lines
Quoted 5 lines

Can one of the developers please add this little patch?

https://github.com/OpenVPN/openvpn/issues/834

It would be much appreciated.

The patch is attached to this email. Would be nice if it was considered.

The patch is the same as in github and David already reviewed it positively.

Acked-by Arne Schwabe
#4 lore raw
In reply to Simon Matter

Hi,

Quoted 1 line · Simon Matter via Openvpn-devel

The patch is attached to this email. Would be nice if it was considered.

I have turned this into a proper commit with all the extra references we want to have in our codebase.

commit 864aab8a6cb9c473629bab2b6d5d0338d2d64186 (HEAD -> master)

Author: Simon Matter <[email protected]...>
Date:   Thu Dec 4 15:05:27 2025 +0100

Add CAP_SYS_NICE to the positive list in systemd service files

This is necessary to make the ``--nice n`` option work for OpenVPN instances started by systemd.

Github: closes OpenVPN/openvpn#834

Message-Id: <f58b64307a86c62cb20a142ebfb40e56.20251204111659.1764843419@...2556...>
URL: https://www.mail-archive.com/[email protected]/msg34803.html

... for the next patch, please learn how to use git for simple changes like this - who can do a "diff -u oldfile newfile" can also do a "git commit ; git format-patch -1" to produce a patch with sufficient git stuff around that I have to spend less time on it.