Script 'mail_helper' called by obssrc
Hello community,

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

Package is "osmo-mgw"

Fri Oct 15 23:03:37 2021 rev:3 rq:925168 version:1.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/osmo-mgw/osmo-mgw.changes        2020-01-09 
22:50:05.942694403 +0100
+++ /work/SRC/openSUSE:Factory/.osmo-mgw.new.1890/osmo-mgw.changes      
2021-10-15 23:03:52.698093815 +0200
@@ -1,0 +2,6 @@
+Wed Oct 13 13:54:05 UTC 2021 - Johannes Segitz <jseg...@suse.com>
+
+- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
+  * harden_osmo-mgw.service.patch
+
+-------------------------------------------------------------------

New:
----
  harden_osmo-mgw.service.patch

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

Other differences:
------------------
++++++ osmo-mgw.spec ++++++
--- /var/tmp/diff_new_pack.P5IutF/_old  2021-10-15 23:03:53.098094100 +0200
+++ /var/tmp/diff_new_pack.P5IutF/_new  2021-10-15 23:03:53.102094103 +0200
@@ -26,6 +26,7 @@
 URL:            https://osmocom.org/projects/osmo-mgw
 Source:         %{name}-%{version}.tar.xz
 Patch0:         fix-build.patch
+Patch1:        harden_osmo-mgw.service.patch
 BuildRequires:  automake >= 1.9
 BuildRequires:  libtool >= 2
 BuildRequires:  pkgconfig >= 0.20
@@ -71,6 +72,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 echo "%{version}" >.tarball-version

++++++ harden_osmo-mgw.service.patch ++++++
Index: osmo-mgw-1.7.0/contrib/systemd/osmo-mgw.service
===================================================================
--- osmo-mgw-1.7.0.orig/contrib/systemd/osmo-mgw.service
+++ osmo-mgw-1.7.0/contrib/systemd/osmo-mgw.service
@@ -2,6 +2,17 @@
 Description=Osmocom Media Gateway (MGW)
 
 [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-mgw -s -c /etc/osmocom/osmo-mgw.cfg

Reply via email to