From a271a7d89d0aec70fb9cd8827c397bc4d7e2bd67 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Mon, 25 Jun 2018 14:56:49 +0900 Subject: [PATCH] tmpfiles: specify access mode for /run/systemd/netif This partially reverts 2af767729489f6baa98a2641b2007acab44ed353. As the directories are certainly readable and not-writable by non-privileged users. (cherry picked from commit 400d8461381c5748a97fccb8a022a20f40063a7d) Gbp-Pq: Name tmpfiles-specify-access-mode-for-run-systemd-netif.patch --- tmpfiles.d/systemd.conf.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tmpfiles.d/systemd.conf.m4 b/tmpfiles.d/systemd.conf.m4 index 0992f742..120e42a1 100644 --- a/tmpfiles.d/systemd.conf.m4 +++ b/tmpfiles.d/systemd.conf.m4 @@ -17,9 +17,9 @@ d /run/systemd/users 0755 root root - d /run/systemd/machines 0755 root root - d /run/systemd/shutdown 0755 root root - m4_ifdef(`ENABLE_NETWORKD', -d /run/systemd/netif - - - - -d /run/systemd/netif/links - - - - -d /run/systemd/netif/leases - - - - +d /run/systemd/netif 0755 - - - +d /run/systemd/netif/links 0755 - - - +d /run/systemd/netif/leases 0755 - - - )m4_dnl d /run/log 0755 root root - -- 2.30.2