Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package diod for openSUSE:Factory checked in 
at 2021-10-16 22:47:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/diod (Old)
 and      /work/SRC/openSUSE:Factory/.diod.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "diod"

Sat Oct 16 22:47:21 2021 rev:3 rq:925633 version:1.0.24+53.g0d87511

Changes:
--------
--- /work/SRC/openSUSE:Factory/diod/diod.changes        2020-11-26 
23:16:13.861076606 +0100
+++ /work/SRC/openSUSE:Factory/.diod.new.1890/diod.changes      2021-10-16 
22:47:57.948708380 +0200
@@ -1,0 +2,6 @@
+Mon Sep 13 14:32:30 UTC 2021 - Johannes Segitz <jseg...@suse.com>
+
+- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
+  * harden_diod.service.patch
+
+-------------------------------------------------------------------

New:
----
  harden_diod.service.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ diod.spec ++++++
--- /var/tmp/diff_new_pack.m8Diew/_old  2021-10-16 22:47:58.364708730 +0200
+++ /var/tmp/diff_new_pack.m8Diew/_new  2021-10-16 22:47:58.364708730 +0200
@@ -24,6 +24,7 @@
 Group:          System/Filesystems
 URL:            https://github.com/chaos/diod
 Source0:        %{name}-%{version}.tar.xz
+Patch0:        harden_diod.service.patch
 BuildRequires:  autogen
 BuildRequires:  automake
 BuildRequires:  c_compiler
@@ -44,6 +45,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 autoreconf -fiv

++++++ harden_diod.service.patch ++++++
Index: diod-1.0.24+53.g0d87511/scripts/diod.service.in
===================================================================
--- diod-1.0.24+53.g0d87511.orig/scripts/diod.service.in
+++ diod-1.0.24+53.g0d87511/scripts/diod.service.in
@@ -2,6 +2,18 @@
 Description=9P File Server
 
 [Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=full
+PrivateDevices=true
+ProtectHostname=true
+ProtectClock=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions 
 Type=forking
 ExecStart=@X_SBINDIR@/diod
 

Reply via email to