cdown / rpms / util-linux

Forked from rpms/util-linux 2 years ago
Clone

Blame SOURCES/0014-uuidd-allow-AF_INET-in-systemd-service.patch

d8d8bc
From 3ceddbb1238e13a51efbe23119c885568e820e69 Mon Sep 17 00:00:00 2001
d8d8bc
From: Karel Zak <kzak@redhat.com>
d8d8bc
Date: Thu, 2 Jun 2022 16:55:49 +0200
d8d8bc
Subject: uuidd: allow AF_INET in systemd service
d8d8bc
d8d8bc
libuuid uses
d8d8bc
d8d8bc
	socket(AF_INET, SOCK_DGRAM, IPPROTO_IP)
d8d8bc
d8d8bc
to get MAC address for time based UUIDs, but there is
d8d8bc
d8d8bc
	RestrictAddressFamilies=AF_UNIX
d8d8bc
d8d8bc
in uuidd service file ...
d8d8bc
d8d8bc
Fixes: https://github.com/util-linux/util-linux/issues/1704
d8d8bc
Upstream: http://github.com/util-linux/util-linux/commit/304b4dc4936b115ca33af5325c3b04d0997c1353
d8d8bc
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=2092943
d8d8bc
Signed-off-by: Karel Zak <kzak@redhat.com>
d8d8bc
---
d8d8bc
 misc-utils/uuidd.service.in | 1 -
d8d8bc
 1 file changed, 1 deletion(-)
d8d8bc
d8d8bc
diff --git a/misc-utils/uuidd.service.in b/misc-utils/uuidd.service.in
d8d8bc
index e64ca59b5..64580287f 100644
d8d8bc
--- a/misc-utils/uuidd.service.in
d8d8bc
+++ b/misc-utils/uuidd.service.in
d8d8bc
@@ -16,7 +16,6 @@ PrivateUsers=yes
d8d8bc
 ProtectKernelTunables=yes
d8d8bc
 ProtectKernelModules=yes
d8d8bc
 ProtectControlGroups=yes
d8d8bc
-RestrictAddressFamilies=AF_UNIX
d8d8bc
 MemoryDenyWriteExecute=yes
d8d8bc
 ReadWritePaths=/var/lib/libuuid/
d8d8bc
 SystemCallFilter=@default @file-system @basic-io @system-service @signal @io-event @network-io
d8d8bc
-- 
d8d8bc
2.36.1
d8d8bc