[systemd-devel] sanity check: why am I unable to manage my own directory with systemd-tmpfiles?
Brian Reichert
reichert at numachi.com
Fri Jan 31 15:58:00 UTC 2025
On Fri, Jan 31, 2025 at 09:32:58AM +0200, Mantas Mikul??nas wrote:
> If you want to only consider modification time, specify it as something
> like "mM:10d" ??? see "Age" in tmpfiles.d(5).
Actually, this is failing for me:
10-153-68-12:~ # cat /usr/lib/tmpfiles.d/foobar.conf
q /home/foobar/tmp 1700 foobar foobar mM:10d
10-153-68-12:~ # SYSTEMD_LOG_LEVEL=debug systemd-tmpfiles --remove --clean /usr/lib/tmpfiles.d/foobar.conf
Reading config file "/usr/lib/tmpfiles.d/foobar.conf".
[/usr/lib/tmpfiles.d/foobar.conf:1] Invalid age 'mM:10d'.
That looks like correct syntax, based on that online doc I found.
If that is correct syntax, does that mean this feature is not
supported by my version of systemd?
--
Brian Reichert <reichert at numachi.com>
BSD admin/developer at large
More information about the systemd-devel
mailing list