-
Bug
-
Resolution: Done-Errata
-
Minor
-
rhel-9.5
-
systemd-252-51.el9
-
None
-
Low
-
rhel-plumbers
-
ssg_core_services
-
26
-
1
-
False
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
All
-
None
Description
man 5 tmpfiles.d , Age-by example is incorrect.
-d /tmp/foo/bar - - - - bmA:1h -</programlisting></para>
+d /tmp/foo/bar - - - bmA:1h -</programlisting></para>
Affected version:
systemd-252-46.el9_5.2.x86_64.rpm
Additional Info
It is fixed by systemd upstream.
$ git show f90360eb7417e
commit f90360eb7417e083650034ad819790df0c389bd1
Author: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl
>
Date: Wed May 17 11:16:56 2023 +0200
man/tmpfiles: fix off-by-one in example
Reported and diagnosed by gitterman. Fixes #26617.
diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index a105b8af394a..f691eef25d85 100644
— a/man/tmpfiles.d.xml
+++ b/man/tmpfiles.d.xml
@@ 647,7 +647,7 @@ w /proc/sys/vm/swappiness - - - - 10</programlisting></para>
<para>For example:<programlisting> # Files created and modified, and directories accessed more than # an hour ago in "/tmp/foo/bar", are subject to time-based cleanup.
-d /tmp/foo/bar - - - - bmA:1h -</programlisting></para>
+d /tmp/foo/bar - - - bmA:1h -</programlisting></para>
<para>Note that while the aging algorithm is run an exclusive BSD file lock (see <citerefentry
project='man-pages'><refentrytitle>flock</refentrytitle><manvolnum>2</manvolnum></citerefentry>) is
What is the impact of this issue to you?
User unable to configure systemd-tmpfiles-clean using age-by.
How reproducible is this bug?:
Always
Additional Information.
Following KB refer the man 5 tmpfiles.d.
And the example in the KB is also incorrect.
https://access.redhat.com/solutions/3512701
- links to
-
RHBA-2024:138835
systemd bug fix and enhancement update