Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package osmo-sgsn for openSUSE:Factory 
checked in at 2021-10-18 21:59:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/osmo-sgsn (Old)
 and      /work/SRC/openSUSE:Factory/.osmo-sgsn.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "osmo-sgsn"

Mon Oct 18 21:59:20 2021 rev:7 rq:925828 version:1.6.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/osmo-sgsn/osmo-sgsn.changes      2020-10-02 
17:43:29.090959793 +0200
+++ /work/SRC/openSUSE:Factory/.osmo-sgsn.new.1890/osmo-sgsn.changes    
2021-10-18 22:02:11.354093444 +0200
@@ -1,0 +2,8 @@
+Wed Oct 13 13:55:17 UTC 2021 - Johannes Segitz <jseg...@suse.com>
+
+- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
+  * harden_osmo-gbproxy.service.patch
+  * harden_osmo-gtphub.service.patch
+  * harden_osmo-sgsn.service.patch
+
+-------------------------------------------------------------------

New:
----
  harden_osmo-gbproxy.service.patch
  harden_osmo-gtphub.service.patch
  harden_osmo-sgsn.service.patch

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

Other differences:
------------------
++++++ osmo-sgsn.spec ++++++
--- /var/tmp/diff_new_pack.NnARCU/_old  2021-10-18 22:02:11.810093774 +0200
+++ /var/tmp/diff_new_pack.NnARCU/_new  2021-10-18 22:02:11.814093777 +0200
@@ -28,6 +28,9 @@
 Group:          Productivity/Telephony/Servers
 URL:            https://osmocom.org/projects/osmosgsn/wiki/OsmoSGSN
 Source:         %{name}-%{version}.tar.xz
+Patch0:        harden_osmo-gbproxy.service.patch
+Patch1:        harden_osmo-gtphub.service.patch
+Patch2:        harden_osmo-sgsn.service.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
@@ -72,6 +75,9 @@
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 echo "%{version}" >.tarball-version

++++++ harden_osmo-gbproxy.service.patch ++++++
Index: osmo-sgsn-1.6.2/contrib/systemd/osmo-gbproxy.service
===================================================================
--- osmo-sgsn-1.6.2.orig/contrib/systemd/osmo-gbproxy.service
+++ osmo-sgsn-1.6.2/contrib/systemd/osmo-gbproxy.service
@@ -2,6 +2,17 @@
 Description=Osmocom Gb proxy
 
 [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/osmo-gbproxy -c /etc/osmocom/osmo-gbproxy.cfg
 Restart=always
++++++ harden_osmo-gtphub.service.patch ++++++
Index: osmo-sgsn-1.6.2/contrib/systemd/osmo-gtphub.service
===================================================================
--- osmo-sgsn-1.6.2.orig/contrib/systemd/osmo-gtphub.service
+++ osmo-sgsn-1.6.2/contrib/systemd/osmo-gtphub.service
@@ -2,6 +2,17 @@
 Description=Osmocom GTP Hub
 
 [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/osmo-gtphub -c /etc/osmocom/osmo-gtphub.cfg
 Restart=always
++++++ harden_osmo-sgsn.service.patch ++++++
Index: osmo-sgsn-1.6.2/contrib/systemd/osmo-sgsn.service
===================================================================
--- osmo-sgsn-1.6.2.orig/contrib/systemd/osmo-sgsn.service
+++ osmo-sgsn-1.6.2/contrib/systemd/osmo-sgsn.service
@@ -5,6 +5,17 @@ After=osmo-hlr.service
 After=osmo-hnbgw.service
 
 [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-sgsn -c /etc/osmocom/osmo-sgsn.cfg

Reply via email to