Script 'mail_helper' called by obssrc
Hello community,

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

Package is "openbsc"

Fri Oct 15 23:03:59 2021 rev:6 rq:925282 version:1.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/openbsc/openbsc.changes  2021-03-15 
10:56:18.933348095 +0100
+++ /work/SRC/openSUSE:Factory/.openbsc.new.1890/openbsc.changes        
2021-10-15 23:04:25.706117347 +0200
@@ -1,0 +2,7 @@
+Wed Oct 13 08:04:22 UTC 2021 - Johannes Segitz <[email protected]>
+
+- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
+  * harden_osmo-bsc-mgcp.service.patch
+  * harden_osmo-nitb.service.patch
+
+-------------------------------------------------------------------

New:
----
  harden_osmo-bsc-mgcp.service.patch
  harden_osmo-nitb.service.patch

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

Other differences:
------------------
++++++ openbsc.spec ++++++
--- /var/tmp/diff_new_pack.43H4a8/_old  2021-10-15 23:04:26.154117666 +0200
+++ /var/tmp/diff_new_pack.43H4a8/_new  2021-10-15 23:04:26.154117666 +0200
@@ -26,6 +26,8 @@
 Group:          Productivity/Telephony/Utilities
 URL:            https://osmocom.org/projects/openbsc/wiki/OpenBSC
 Source:         https://github.com/osmocom/openbsc/archive/%version.tar.gz
+Patch0:        harden_osmo-bsc-mgcp.service.patch
+Patch1:        harden_osmo-nitb.service.patch
 BuildRequires:  automake
 BuildRequires:  gcc-c++
 BuildRequires:  libdbi-drivers-dbd-sqlite3

++++++ harden_osmo-bsc-mgcp.service.patch ++++++
Index: openbsc-1.4.0/openbsc/contrib/systemd/osmo-bsc-mgcp.service
===================================================================
--- openbsc-1.4.0.orig/openbsc/contrib/systemd/osmo-bsc-mgcp.service
+++ openbsc-1.4.0/openbsc/contrib/systemd/osmo-bsc-mgcp.service
@@ -2,6 +2,17 @@
 Description=OpenBSC MGCP
 
 [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-bsc_mgcp -s -c /etc/osmocom/osmo-bsc-mgcp.cfg
++++++ harden_osmo-nitb.service.patch ++++++
Index: openbsc-1.4.0/openbsc/contrib/systemd/osmo-nitb.service
===================================================================
--- openbsc-1.4.0.orig/openbsc/contrib/systemd/osmo-nitb.service
+++ openbsc-1.4.0/openbsc/contrib/systemd/osmo-nitb.service
@@ -2,6 +2,17 @@
 Description=OpenBSC Network In the Box (NITB)
 
 [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-nitb -s -C -c /etc/osmocom/osmo-nitb.cfg -l 
/var/lib/osmocom/hlr.sqlite3

Reply via email to