Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package influxdb for openSUSE:Factory 
checked in at 2021-09-29 20:19:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/influxdb (Old)
 and      /work/SRC/openSUSE:Factory/.influxdb.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "influxdb"

Wed Sep 29 20:19:18 2021 rev:13 rq:922212 version:1.8.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/influxdb/influxdb.changes        2021-06-01 
10:41:03.557180539 +0200
+++ /work/SRC/openSUSE:Factory/.influxdb.new.1899/influxdb.changes      
2021-09-29 20:21:04.475176416 +0200
@@ -1,0 +2,8 @@
+Wed Sep 22 14:38:05 UTC 2021 - Johannes Segitz <[email protected]>
+
+- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
+  * harden_influxdb.service.patch
+  Modified:
+  * influxdb.service
+
+-------------------------------------------------------------------

New:
----
  harden_influxdb.service.patch

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

Other differences:
------------------
++++++ influxdb.spec ++++++
--- /var/tmp/diff_new_pack.gsdf2O/_old  2021-09-29 20:21:05.223177501 +0200
+++ /var/tmp/diff_new_pack.gsdf2O/_new  2021-09-29 20:21:05.231177513 +0200
@@ -35,6 +35,7 @@
 Source3:        influxdb.tmpfiles
 Source4:        influxdb.init
 Source5:        Compability_note.txt
+Patch0:        harden_influxdb.service.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  asciidoc
 BuildRequires:  fdupes
@@ -71,6 +72,7 @@
 %prep
 %setup -q -n %{name}-%{version}
 %setup -q -T -D -a 1 -n %{name}-%{version}
+%patch0 -p1
 
 %build
 # Disable phone-home to usage.influxdata.com

++++++ harden_influxdb.service.patch ++++++
Index: influxdb-1.8.6/scripts/influxdb.service
===================================================================
--- influxdb-1.8.6.orig/scripts/influxdb.service
+++ influxdb-1.8.6/scripts/influxdb.service
@@ -6,6 +6,19 @@ Documentation=https://docs.influxdata.co
 After=network-online.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 
 User=influxdb
 Group=influxdb
 LimitNOFILE=65536
++++++ influxdb.service ++++++
--- /var/tmp/diff_new_pack.gsdf2O/_old  2021-09-29 20:21:05.391177745 +0200
+++ /var/tmp/diff_new_pack.gsdf2O/_new  2021-09-29 20:21:05.391177745 +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 
 Environment="config=/etc/influxdb/config.toml" 
"pidfile=/run/influxdb/influxdb.pid"
 LimitNOFILE=100000
 ExecStart=/usr/bin/influxd -config ${config} -pidfile ${pidfile}

Reply via email to