From 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 20:52:04 +0100 Subject: gentoo resync : 14.07.2018 --- net-dns/getdns/files/getdns-1.4.2-stubby.service.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 net-dns/getdns/files/getdns-1.4.2-stubby.service.patch (limited to 'net-dns/getdns/files') diff --git a/net-dns/getdns/files/getdns-1.4.2-stubby.service.patch b/net-dns/getdns/files/getdns-1.4.2-stubby.service.patch new file mode 100644 index 000000000000..2bb7546fcfa5 --- /dev/null +++ b/net-dns/getdns/files/getdns-1.4.2-stubby.service.patch @@ -0,0 +1,16 @@ +diff -ur a/stubby/systemd/stubby.service b/stubby/systemd/stubby.service +--- a/stubby/systemd/stubby.service 2018-05-11 13:25:22.000000000 +0200 ++++ b/stubby/systemd/stubby.service 2018-06-20 15:40:23.650164668 +0200 +@@ -3,9 +3,11 @@ + + [Service] + User=stubby +-DynamicUser=yes ++DynamicUser=no + CacheDirectory=stubby + WorkingDirectory=/var/cache/stubby ++ExecStartPre=/bin/mkdir -p /var/cache/stubby ++ExecStartPre=/bin/chown stubby:stubby /var/cache/stubby + ExecStart=/usr/bin/stubby + AmbientCapabilities=CAP_NET_BIND_SERVICE + CapabilityBoundingSet=CAP_NET_BIND_SERVICE -- cgit v1.2.3