X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=tmpfiles.d%2Ftmp.conf;h=b80dab4dbff8db33a1e0935be76033da5a54d27a;hp=1284fc4700ba917a07e3b915b74c31f4ba4e7939;hb=d0928791499734e202460d5c027b5d3e0d28e7ab;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8 diff --git a/tmpfiles.d/tmp.conf b/tmpfiles.d/tmp.conf index 1284fc470..b80dab4db 100644 --- a/tmpfiles.d/tmp.conf +++ b/tmpfiles.d/tmp.conf @@ -10,3 +10,9 @@ # Clear tmp directories separately, to make them easier to override d /tmp 1777 root root 10d d /var/tmp 1777 root root 30d + +# Exclude namespace mountpoints created with PrivateTmp=yes +x /tmp/systemd-private-%b-* +X /tmp/systemd-private-%b-*/tmp +x /var/tmp/systemd-private-%b-* +X /var/tmp/systemd-private-%b-*/tmp