[systemd-devel] [PATCH] tmpfiles: allow Age to be set to 0d

Tom Gundersen teg at jklm.no
Fri Sep 21 05:36:44 PDT 2012

On Tue, Sep 11, 2012 at 12:52 AM, Lennart Poettering
<lennart at poettering.net> wrote:
> What is the intended behaviour of an age setting of 0?

Not sure I understand your question.

For all intents and purposes 0s is the same as 1us (or something else
sufficiently small). I.e., the file is cleaned up every time
systemd-tmpfiles --clean is called. This is probably not something you
want during normal operation (though some obviously do). However, it
is useful when testing systemd-tmpfiles, and surprising that it does
not work.

> if we add this we
> probably should document that?

What did you have in mind for documentation? The way I read the
manpage "0s" is valid and this patch gives the correct behavior. Am I
missing something?



More information about the systemd-devel mailing list