Script 'mail_helper' called by obssrc
Hello community,

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

Package is "osmo-trx"

Mon Oct 18 21:59:19 2021 rev:3 rq:925827 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/osmo-trx/osmo-trx.changes        2020-01-09 
22:50:26.210704543 +0100
+++ /work/SRC/openSUSE:Factory/.osmo-trx.new.1890/osmo-trx.changes      
2021-10-18 22:02:10.646092932 +0200
@@ -1,0 +2,8 @@
+Wed Oct 13 13:56:29 UTC 2021 - Johannes Segitz <jseg...@suse.com>
+
+- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
+  * harden_osmo-trx-lms.service.patch
+  * harden_osmo-trx-uhd.service.patch
+  * harden_osmo-trx-usrp1.service.patch
+
+-------------------------------------------------------------------

New:
----
  harden_osmo-trx-lms.service.patch
  harden_osmo-trx-uhd.service.patch
  harden_osmo-trx-usrp1.service.patch

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

Other differences:
------------------
++++++ osmo-trx.spec ++++++
--- /var/tmp/diff_new_pack.EQ8wyO/_old  2021-10-18 22:02:11.158093302 +0200
+++ /var/tmp/diff_new_pack.EQ8wyO/_new  2021-10-18 22:02:11.162093305 +0200
@@ -25,6 +25,9 @@
 Group:          Productivity/Telephony/Servers
 URL:            https://osmocom.org/projects/osmotrx/wiki/OsmoTRX
 Source:         %{name}-%{version}.tar.xz
+Patch0:        harden_osmo-trx-lms.service.patch
+Patch1:        harden_osmo-trx-uhd.service.patch
+Patch2:        harden_osmo-trx-usrp1.service.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  fdupes
@@ -128,6 +131,9 @@
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 echo "%{version}" >.tarball-version

++++++ harden_osmo-trx-lms.service.patch ++++++
Index: osmo-trx-1.2.0/contrib/systemd/osmo-trx-lms.service
===================================================================
--- osmo-trx-1.2.0.orig/contrib/systemd/osmo-trx-lms.service
+++ osmo-trx-1.2.0/contrib/systemd/osmo-trx-lms.service
@@ -2,6 +2,17 @@
 Description=Osmocom SDR BTS L1 Transceiver (LimeSuite backend)
 
 [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-trx-lms -C /etc/osmocom/osmo-trx-lms.cfg
++++++ harden_osmo-trx-uhd.service.patch ++++++
Index: osmo-trx-1.2.0/contrib/systemd/osmo-trx-uhd.service
===================================================================
--- osmo-trx-1.2.0.orig/contrib/systemd/osmo-trx-uhd.service
+++ osmo-trx-1.2.0/contrib/systemd/osmo-trx-uhd.service
@@ -2,6 +2,17 @@
 Description=Osmocom SDR BTS L1 Transceiver (UHD Backend)
 
 [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-trx-uhd -C /etc/osmocom/osmo-trx-uhd.cfg
++++++ harden_osmo-trx-usrp1.service.patch ++++++
Index: osmo-trx-1.2.0/contrib/systemd/osmo-trx-usrp1.service
===================================================================
--- osmo-trx-1.2.0.orig/contrib/systemd/osmo-trx-usrp1.service
+++ osmo-trx-1.2.0/contrib/systemd/osmo-trx-usrp1.service
@@ -2,6 +2,17 @@
 Description=Osmocom SDR BTS L1 Transceiver (libusrp backend)
 
 [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-trx-usrp1 -C /etc/osmocom/osmo-trx-usrp1.cfg

Reply via email to