Script 'mail_helper' called by obssrc
Hello community,

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

Package is "osmo-pcu"

Mon Oct 18 21:59:20 2021 rev:4 rq:925829 version:0.8.0

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

New:
----
  harden_osmo-pcu.service.patch

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

Other differences:
------------------
++++++ osmo-pcu.spec ++++++
--- /var/tmp/diff_new_pack.pF6Qeg/_old  2021-10-18 22:02:12.526094292 +0200
+++ /var/tmp/diff_new_pack.pF6Qeg/_new  2021-10-18 22:02:12.526094292 +0200
@@ -25,6 +25,7 @@
 Group:          Productivity/Telephony/Servers
 URL:            https://osmocom.org/projects/osmopcu/wiki/OsmoPCU
 Source:         %{name}-%{version}.tar.xz
+Patch0:        harden_osmo-pcu.service.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -42,6 +43,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 echo "%{version}" >.tarball-version

++++++ harden_osmo-pcu.service.patch ++++++
Index: osmo-pcu-0.8.0/contrib/systemd/osmo-pcu.service
===================================================================
--- osmo-pcu-0.8.0.orig/contrib/systemd/osmo-pcu.service
+++ osmo-pcu-0.8.0/contrib/systemd/osmo-pcu.service
@@ -2,6 +2,17 @@
 Description=Osmocom osmo-pcu
 
 [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-pcu -c /etc/osmocom/osmo-pcu.cfg
 Restart=always

Reply via email to