From f59f3ab5abb94a24cec56027da68aecaf311de30 Mon Sep 17 00:00:00 2001 From: Dennis Schwerdel Date: Sun, 22 Dec 2019 16:50:34 +0100 Subject: [PATCH] Fixed problem with service restrictions --- CHANGELOG.md | 4 ++++ Cargo.lock | 2 +- Cargo.toml | 2 +- assets/changelog.txt | 6 ++++++ assets/vpncloud@.service | 2 +- 5 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54debaf..95c0131 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ This project follows [semantic versioning](http://semver.org). +### v1.2.1 (2019-12-22) + +- [fixed] Fixed a problem with service restrictions + ### v1.2.0 (2019-12-20) - [added] Added service restrictions to systemd diff --git a/Cargo.lock b/Cargo.lock index a8d3d1f..b36d076 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -556,7 +556,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "vpncloud" -version = "1.2.0" +version = "1.2.1" dependencies = [ "cc 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)", "daemonize 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 88599d2..dbd57df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vpncloud" -version = "1.2.0" +version = "1.2.1" authors = ["Dennis Schwerdel "] build = "build.rs" license = "GPL-3.0" diff --git a/assets/changelog.txt b/assets/changelog.txt index ef329df..10dabc0 100644 --- a/assets/changelog.txt +++ b/assets/changelog.txt @@ -1,3 +1,9 @@ +vpncloud (1.2.1) stable; urgency=medium + + * [fixed] Fixed a problem with service restrictions + + -- Dennis Schwerdel Sun, 22 Dec 2019 16:47:38 +0100 + vpncloud (1.2.0) stable; urgency=medium * [added] Added service restrictions to systemd diff --git a/assets/vpncloud@.service b/assets/vpncloud@.service index 6af4833..92c6dd1 100644 --- a/assets/vpncloud@.service +++ b/assets/vpncloud@.service @@ -14,7 +14,7 @@ LimitNPROC=10 PrivateTmp=yes ProtectHome=yes ProtectSystem=strict -ReadWritePaths=/var/log/vpncloud-%i.log /var/log/vpncloud-%i.stats +ReadWritePaths=-/var/log/vpncloud-%i.log -/var/log/vpncloud-%i.stats CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SYS_CHROOT DeviceAllow=/dev/null rw DeviceAllow=/dev/net/tun rw