From: Yu Watanabe Date: Mon, 25 Jun 2018 05:56:49 +0000 (+0900) Subject: tmpfiles: specify access mode for /run/systemd/netif X-Git-Tag: archive/raspbian/239-9+rpi2~1^2~35 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a271a7d89d0aec70fb9cd8827c397bc4d7e2bd67;p=systemd.git 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 --- 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 -