Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package openfortivpn for openSUSE:Factory checked in at 2021-10-18 21:59:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openfortivpn (Old) and /work/SRC/openSUSE:Factory/.openfortivpn.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openfortivpn" Mon Oct 18 21:59:22 2021 rev:17 rq:925826 version:1.17.1 Changes: -------- --- /work/SRC/openSUSE:Factory/openfortivpn/openfortivpn.changes 2021-09-23 23:04:02.160322235 +0200 +++ /work/SRC/openSUSE:Factory/.openfortivpn.new.1890/openfortivpn.changes 2021-10-18 22:02:13.302094853 +0200 @@ -1,0 +2,6 @@ +Wed Oct 13 10:41:17 UTC 2021 - Johannes Segitz <jseg...@suse.com> + +- Added hardening to systemd service(s) (bsc#1181400). Added patch(es): + * harden_openfortivpn@.service.patch + +------------------------------------------------------------------- New: ---- harden_openfortivpn@.service.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openfortivpn.spec ++++++ --- /var/tmp/diff_new_pack.3KFd8U/_old 2021-10-18 22:02:13.718095154 +0200 +++ /var/tmp/diff_new_pack.3KFd8U/_new 2021-10-18 22:02:13.718095154 +0200 @@ -24,6 +24,7 @@ Group: Productivity/Networking/Security URL: https://github.com/adrienverge/openfortivpn Source0: https://github.com/adrienverge/openfortivpn/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch0: harden_openfortivpn@.service.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: openssl-devel @@ -38,6 +39,7 @@ %prep %setup -q +%patch0 -p1 %build autoreconf -fiv ++++++ harden_openfortivpn@.service.patch ++++++ Index: openfortivpn-1.17.1/lib/systemd/system/openforti...@.service.in =================================================================== --- openfortivpn-1.17.1.orig/lib/systemd/system/openforti...@.service.in +++ openfortivpn-1.17.1/lib/systemd/system/openforti...@.service.in @@ -6,6 +6,17 @@ Documentation=man:openfortivpn(1) [Service] Type=simple PrivateTmp=true +# added automatically, for details please see +# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort +ProtectSystem=full +ProtectHome=true +ProtectHostname=true +ProtectKernelTunables=true +ProtectKernelModules=true +ProtectKernelLogs=true +ProtectControlGroups=true +RestrictRealtime=true +# end of automatic additions ExecStart=@BINDIR@/openfortivpn -c @SYSCONFDIR@/openfortivpn/%I.conf OOMScoreAdjust=-100