Accepting request 1083350 from network
OBS-URL: https://build.opensuse.org/request/show/1083350 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpcbind?expand=0&rev=68
This commit is contained in:
commit
2e4c2e1f75
24
harden_rpcbind.service.patch
Normal file
24
harden_rpcbind.service.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
Index: rpcbind-1.2.6/systemd/rpcbind.service.in
|
||||||
|
===================================================================
|
||||||
|
--- rpcbind-1.2.6.orig/systemd/rpcbind.service.in
|
||||||
|
+++ rpcbind-1.2.6/systemd/rpcbind.service.in
|
||||||
|
@@ -11,6 +11,19 @@ Wants=rpcbind.target
|
||||||
|
After=sysinit.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
+# added automatically, for details please see
|
||||||
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
||||||
|
+ProtectSystem=full
|
||||||
|
+ProtectHome=true
|
||||||
|
+PrivateDevices=true
|
||||||
|
+ProtectHostname=true
|
||||||
|
+ProtectClock=true
|
||||||
|
+ProtectKernelTunables=true
|
||||||
|
+ProtectKernelModules=true
|
||||||
|
+ProtectKernelLogs=true
|
||||||
|
+ProtectControlGroups=true
|
||||||
|
+RestrictRealtime=true
|
||||||
|
+# end of automatic additions
|
||||||
|
Type=notify
|
||||||
|
# distro can provide a drop-in adding EnvironmentFile=-/??? if needed.
|
||||||
|
EnvironmentFile=-/etc/sysconfig/rpcbind
|
@ -8,6 +8,12 @@ Tue Dec 27 13:16:20 UTC 2022 - Ludwig Nussel <lnussel@suse.com>
|
|||||||
|
|
||||||
- Replace transitional %usrmerged macro with regular version check (boo#1206798)
|
- Replace transitional %usrmerged macro with regular version check (boo#1206798)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 16 07:39:53 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||||
|
|
||||||
|
- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
|
||||||
|
* harden_rpcbind.service.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 21 15:44:17 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
Mon Jun 21 15:44:17 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||||
|
|
||||||
|
@ -33,6 +33,7 @@ Source2: sysconfig.rpcbind
|
|||||||
Source5: rpc-user.conf
|
Source5: rpc-user.conf
|
||||||
Patch1: 0001-systemd-unit-files.patch
|
Patch1: 0001-systemd-unit-files.patch
|
||||||
Patch2: 0001-change-lockingdir-to-run.patch
|
Patch2: 0001-change-lockingdir-to-run.patch
|
||||||
|
Patch3: harden_rpcbind.service.patch
|
||||||
BuildRequires: libtirpc-devel >= 1.0.1
|
BuildRequires: libtirpc-devel >= 1.0.1
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user