chiark / gitweb /
namespace: include boot id in private tmp directories
authorLennart Poettering <lennart@poettering.net>
Fri, 13 Dec 2013 01:05:04 +0000 (02:05 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 13 Dec 2013 03:06:43 +0000 (04:06 +0100)
commit6b46ea73e3b1d8a1e65f58ac04772821bd4a72fb
tree5fe6a91a2bbb8e87528d68e7aeb2c58086d53d42
parent6203e07a83214a55bb1f88508fcda2005c601dea
namespace: include boot id in private tmp directories

This way it is easy to only exclude directories from the current boot
from automatic clean up in /var/tmp.

Also, pick a longer name for the directories so that are globs in
tmp.conf can be simpler yet equally accurate.
src/core/namespace.c
src/test/test-namespace.c
tmpfiles.d/tmp.conf