Accepting request 925662 from network
OBS-URL: https://build.opensuse.org/request/show/925662 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libteam?expand=0&rev=21
This commit is contained in:
commit
4fd30ff50c
22
harden_teamd@.service.patch
Normal file
22
harden_teamd@.service.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
Index: libteam-1.31/teamd/redhat/systemd/teamd@.service
|
||||||
|
===================================================================
|
||||||
|
--- libteam-1.31.orig/teamd/redhat/systemd/teamd@.service
|
||||||
|
+++ libteam-1.31/teamd/redhat/systemd/teamd@.service
|
||||||
|
@@ -4,6 +4,17 @@ Before=network-pre.target
|
||||||
|
Wants=network-pre.target
|
||||||
|
|
||||||
|
[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
|
||||||
|
BusName=org.libteam.teamd.%i
|
||||||
|
ExecStart=/usr/sbin/teamd -U -D -o -t %i -f /run/teamd/%i.conf
|
||||||
|
Restart=on-failure
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 15 07:32:26 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||||
|
|
||||||
|
- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
|
||||||
|
* harden_teamd@.service.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 25 15:45:19 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
Tue Aug 25 15:45:19 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ Patch1: check_if_psr_ops_were_initialized.patch
|
|||||||
Patch2: start_teamd_from_usr_sbin.patch
|
Patch2: start_teamd_from_usr_sbin.patch
|
||||||
Patch3: ignore_ebusy_for_team_hwaddr_set.patch
|
Patch3: ignore_ebusy_for_team_hwaddr_set.patch
|
||||||
Patch4: 0001-allow-send_interface-dbus.patch
|
Patch4: 0001-allow-send_interface-dbus.patch
|
||||||
|
Patch5: harden_teamd@.service.patch
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: libcap-devel
|
BuildRequires: libcap-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
Loading…
Reference in New Issue
Block a user