Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package osmo-pcap for openSUSE:Factory 
checked in at 2021-10-15 23:03:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/osmo-pcap (Old)
 and      /work/SRC/openSUSE:Factory/.osmo-pcap.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "osmo-pcap"

Fri Oct 15 23:03:37 2021 rev:2 rq:925169 version:0.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/osmo-pcap/osmo-pcap.changes      2020-01-12 
23:26:32.402863968 +0100
+++ /work/SRC/openSUSE:Factory/.osmo-pcap.new.1890/osmo-pcap.changes    
2021-10-15 23:03:53.350094279 +0200
@@ -1,0 +2,7 @@
+Wed Oct 13 13:54:39 UTC 2021 - Johannes Segitz <jseg...@suse.com>
+
+- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
+  * harden_osmo-pcap-client.service.patch
+  * harden_osmo-pcap-server.service.patch
+
+-------------------------------------------------------------------

New:
----
  harden_osmo-pcap-client.service.patch
  harden_osmo-pcap-server.service.patch

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

Other differences:
------------------
++++++ osmo-pcap.spec ++++++
--- /var/tmp/diff_new_pack.JQBtOe/_old  2021-10-15 23:03:53.790094593 +0200
+++ /var/tmp/diff_new_pack.JQBtOe/_new  2021-10-15 23:03:53.790094593 +0200
@@ -23,6 +23,8 @@
 Group:          Productivity/Telephony/Servers
 URL:            https://openbsc.osmocom.org
 Source:         %{name}-%{version}.tar.xz
+Patch0:        harden_osmo-pcap-client.service.patch
+Patch1:        harden_osmo-pcap-server.service.patch
 BuildRequires:  autoconf
 BuildRequires:  automake >= 1.6
 BuildRequires:  libpcap-devel
@@ -41,6 +43,8 @@
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
 echo "%{version}" >.tarball-version

++++++ harden_osmo-pcap-client.service.patch ++++++
Index: osmo-pcap-0.1.2/contrib/systemd/osmo-pcap-client.service
===================================================================
--- osmo-pcap-0.1.2.orig/contrib/systemd/osmo-pcap-client.service
+++ osmo-pcap-0.1.2/contrib/systemd/osmo-pcap-client.service
@@ -2,6 +2,17 @@
 Description=PCAP Client for the PCAP aggregation
 
 [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
 Restart=always
 ExecStart=/usr/bin/osmo-pcap-client -c /etc/osmocom/osmo-pcap-client.cfg
++++++ harden_osmo-pcap-server.service.patch ++++++
Index: osmo-pcap-0.1.2/contrib/systemd/osmo-pcap-server.service
===================================================================
--- osmo-pcap-0.1.2.orig/contrib/systemd/osmo-pcap-server.service
+++ osmo-pcap-0.1.2/contrib/systemd/osmo-pcap-server.service
@@ -2,6 +2,17 @@
 Description=PCAP Server for the PCAP aggregation
 
 [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
 Restart=always
 ExecStart=/usr/bin/osmo-pcap-server -c /etc/osmocom/osmo-pcap-server.cfg

Reply via email to