Script 'mail_helper' called by obssrc
Hello community,

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

Package is "ndctl"

Sat Oct 16 22:46:58 2021 rev:37 rq:925030 version:71.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ndctl/ndctl.changes      2021-07-27 
15:18:57.524045194 +0200
+++ /work/SRC/openSUSE:Factory/.ndctl.new.1890/ndctl.changes    2021-10-16 
22:47:16.788673696 +0200
@@ -1,0 +2,6 @@
+Wed Oct 13 07:15:59 UTC 2021 - Johannes Segitz <jseg...@suse.com>
+
+- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
+  * harden_ndctl-monitor.service.patch
+
+-------------------------------------------------------------------

New:
----
  harden_ndctl-monitor.service.patch

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

Other differences:
------------------
++++++ ndctl.spec ++++++
--- /var/tmp/diff_new_pack.sxBI24/_old  2021-10-16 22:47:17.240674077 +0200
+++ /var/tmp/diff_new_pack.sxBI24/_new  2021-10-16 22:47:17.244674080 +0200
@@ -29,6 +29,7 @@
 Source0:        
https://github.com/pmem/ndctl/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Patch9:         %{name}-namespace-skip-zero-namespaces-when-processing.patch
 Patch13:        %{name}-namespace-Suppress-ENXIO-when-processing-all-n.patch
+Patch14:       harden_ndctl-monitor.service.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  keyutils-devel

++++++ harden_ndctl-monitor.service.patch ++++++
Index: ndctl-71.1/ndctl/ndctl-monitor.service
===================================================================
--- ndctl-71.1.orig/ndctl/ndctl-monitor.service
+++ ndctl-71.1/ndctl/ndctl-monitor.service
@@ -2,6 +2,17 @@
 Description=Ndctl Monitor Daemon
 
 [Service]
+# 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 
 Type=simple
 ExecStart=/usr/bin/ndctl monitor
 

Reply via email to