Script 'mail_helper' called by obssrc
Hello community,

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

Package is "osmo-hlr"

Fri Oct 15 23:03:36 2021 rev:3 rq:925167 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/osmo-hlr/osmo-hlr.changes        2020-01-09 
22:50:11.846697357 +0100
+++ /work/SRC/openSUSE:Factory/.osmo-hlr.new.1890/osmo-hlr.changes      
2021-10-15 23:03:51.610093039 +0200
@@ -1,0 +2,6 @@
+Wed Oct 13 13:50:42 UTC 2021 - Johannes Segitz <[email protected]>
+
+- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
+  * harden_osmo-hlr.service.patch
+
+-------------------------------------------------------------------

New:
----
  harden_osmo-hlr.service.patch

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

Other differences:
------------------
++++++ osmo-hlr.spec ++++++
--- /var/tmp/diff_new_pack.El4x8W/_old  2021-10-15 23:03:52.550093709 +0200
+++ /var/tmp/diff_new_pack.El4x8W/_new  2021-10-15 23:03:52.550093709 +0200
@@ -25,6 +25,7 @@
 Group:          Productivity/Telephony/Servers
 URL:            https://projects.osmocom.org/projects/osmo-hlr
 Source:         %{name}-%{version}.tar.xz
+Patch0:        harden_osmo-hlr.service.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
@@ -79,6 +80,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 echo "%{version}" >.tarball-version

++++++ harden_osmo-hlr.service.patch ++++++
Index: osmo-hlr-1.2.0/contrib/systemd/osmo-hlr.service
===================================================================
--- osmo-hlr-1.2.0.orig/contrib/systemd/osmo-hlr.service
+++ osmo-hlr-1.2.0/contrib/systemd/osmo-hlr.service
@@ -3,6 +3,17 @@ Description=Osmocom Home Location Regist
 Documentation=https://osmocom.org/projects/osmo-hlr/wiki/OsmoHLR
 
 [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-hlr -c /etc/osmocom/osmo-hlr.cfg -l 
/var/lib/osmocom/hlr.db

Reply via email to