Re: [systemd-devel] [PATCH] systemd-tmpfiles: Fix IGNORE_DIRECTORY_PATH age handling

2014-09-02 Thread Richard Weinberger
Am 27.08.2014 14:55, schrieb Richard Weinberger: > If one has a config like: > d /tmp 1777 root root - > X /tmp/important_mount > > All files below /tmp/important_mount will be deleted as the > /tmp/important_mount item will spuriously inherit a max age of 0 > from /tmp. > /tmp has a max age of 0

[systemd-devel] [PATCH] systemd-tmpfiles: Fix IGNORE_DIRECTORY_PATH age handling

2014-08-27 Thread Richard Weinberger
If one has a config like: d /tmp 1777 root root - X /tmp/important_mount All files below /tmp/important_mount will be deleted as the /tmp/important_mount item will spuriously inherit a max age of 0 from /tmp. /tmp has a max age of 0 but age_set is (of course) false. Fix this by checking ->age_set