summaryrefslogtreecommitdiff
path: root/debian/README.Debian
diff options
context:
space:
mode:
authorAlberto Gonzalez Iniesta <agi@inittab.org>2016-05-10 18:11:33 +0200
committerAlberto Gonzalez Iniesta <agi@inittab.org>2016-05-10 18:31:54 +0200
commita4dc442138358168f5b5cb91d8f408e33421e51d (patch)
treed265fa57cd602c0c0a9aacdf4b14045df53b4535 /debian/README.Debian
parentedfd4ea966413dbd8a8d0e9614cf3479cbf22576 (diff)
Document limits to service (#819919, #823621)
Diffstat (limited to 'debian/README.Debian')
-rw-r--r--debian/README.Debian15
1 files changed, 14 insertions, 1 deletions
diff --git a/debian/README.Debian b/debian/README.Debian
index b3623f8..ebedbaa 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -1,5 +1,6 @@
In this file:
+- systemd service file and limits/capabilities
- 'writepid' option warning
- Multiple tunnels
- Starting or stopping multiple tunnels with a single command
@@ -26,6 +27,18 @@ with these commands (as root):
# mkdir /dev/net
# mknod /dev/net/tun c 10 200
+systemd service file and limits/capabilities
+--------------------------------------------
+
+If you encounter problems [1] or errors related to permissions starting
+OpenVPN, you may want to check the limits imposed to the OpenVPN service in
+/lib/systemd/system/openvpn@.service, notably CapabilityBoundingSet and
+LimitNPROC. You may override those with a custom openvpn@.service file in
+/etc/systemd/system/.
+
+[1] daemon() failed or unsupported: Resource temporarily unavailable (errno=11)
+[2] Failed running command (--route-up): external program exited with error status: 1
+
'writepid' option warning
-------------------------
@@ -116,7 +129,7 @@ can look like this:
bridge_ports eth0 tap0
pre-up openvpn --mktun --dev tap0
-It's recommended to read the manpage - man 5 bridge-utils-interfaces - aswell.
+It's recommended to read the manpage - man 5 bridge-utils-interfaces - as well.
#####################################