Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package collectl for openSUSE:Factory checked in at 2021-09-21 21:12:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/collectl (Old) and /work/SRC/openSUSE:Factory/.collectl.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "collectl" Tue Sep 21 21:12:46 2021 rev:35 rq:920407 version:4.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/collectl/collectl.changes 2021-05-01 00:46:40.183459751 +0200 +++ /work/SRC/openSUSE:Factory/.collectl.new.1899/collectl.changes 2021-09-21 21:13:37.946671868 +0200 @@ -1,0 +2,8 @@ +Mon Aug 30 08:10:32 UTC 2021 - Johannes Segitz <jseg...@suse.com> + +- Added hardening to systemd service(s). Added patch(es): + * harden_collectl.service.patch + Modified: + * collectl.service + +------------------------------------------------------------------- New: ---- harden_collectl.service.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ collectl.spec ++++++ --- /var/tmp/diff_new_pack.5GMi0f/_old 2021-09-21 21:13:38.410672393 +0200 +++ /var/tmp/diff_new_pack.5GMi0f/_new 2021-09-21 21:13:38.414672397 +0200 @@ -1,7 +1,7 @@ # # spec file for package collectl # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,7 @@ Source0: http://sourceforge.net/projects/collectl/files/collectl/%{name}-%{version}/%{name}-%{version}.src.tar.gz Source1: collectl.service Source2: collectl.sysconfig +Patch0: harden_collectl.service.patch BuildRequires: fdupes BuildRequires: systemd-rpm-macros BuildArch: noarch @@ -48,6 +49,7 @@ %prep %setup -q +%patch0 -p1 %build ++++++ collectl.service ++++++ --- /var/tmp/diff_new_pack.5GMi0f/_old 2021-09-21 21:13:38.446672434 +0200 +++ /var/tmp/diff_new_pack.5GMi0f/_new 2021-09-21 21:13:38.446672434 +0200 @@ -3,6 +3,19 @@ After=network.target [Service] +# added automatically, for details please see +# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort +ProtectSystem=full +ProtectHome=true +PrivateDevices=true +ProtectHostname=true +ProtectClock=true +ProtectKernelTunables=true +ProtectKernelModules=true +ProtectKernelLogs=true +ProtectControlGroups=true +RestrictRealtime=true +# end of automatic additions Type=forking PIDFile=/var/run/collectl.pid EnvironmentFile=/etc/sysconfig/collectl ++++++ harden_collectl.service.patch ++++++ Index: collectl-4.3.1/service/collectl.service =================================================================== --- collectl-4.3.1.orig/service/collectl.service +++ collectl-4.3.1/service/collectl.service @@ -2,6 +2,19 @@ Description=collectl metric collection [Service] +# added automatically, for details please see +# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort +ProtectSystem=full +ProtectHome=true +PrivateDevices=true +ProtectHostname=true +ProtectClock=true +ProtectKernelTunables=true +ProtectKernelModules=true +ProtectKernelLogs=true +ProtectControlGroups=true +RestrictRealtime=true +# end of automatic additions Type=forking PIDFile=/var/run/collectl.pid ExecStart=/usr/bin/collectl -D