Bug 1195294 - time units in man tmpfiles.d are not clearly documented
Summary: time units in man tmpfiles.d are not clearly documented
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-23 14:52 UTC by Kamil Páral
Modified: 2015-03-21 05:02 UTC (History)
8 users (show)

Fixed In Version: systemd-219-9.fc22
Clone Of:
Environment:
Last Closed: 2015-03-21 05:02:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kamil Páral 2015-02-23 14:52:59 UTC
Description of problem:
man tmpfiles.d contains:

   Age
       The date field, when set, is used to decide what files to delete when cleaning. If a file or directory is older than the current time minus
       the age field, it is deleted. The field format is a series of integers each followed by one of the following postfixes for the respective
       time units:

       s, min, h, d, w, ms, m, us


However, it does not say which suffix means what. These are my guesses:

second, minute, hour, day, week, ???, ???, ???

I could have a wild guess that 'ms' is millisecond and 'us' is microsecond, but then I would have completely zero idea what 'm' stands for.

Can you please clarify in the man page what those suffices mean?

Thanks.

Version-Release number of selected component (if applicable):
systemd-216-20.fc21.x86_64

Comment 1 Zbigniew Jędrzejewski-Szmek 2015-02-24 02:03:56 UTC
Fixed upstream in http://cgit.freedesktop.org/systemd/systemd/commit/?id=00c53f4283.

Comment 2 Kamil Páral 2015-02-24 11:18:39 UTC
Thank you, now it's much clearer :)

Comment 3 Fedora Update System 2015-03-15 04:00:38 UTC
systemd-219-9.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/systemd-219-9.fc22

Comment 4 Fedora Update System 2015-03-16 01:40:53 UTC
Package systemd-219-9.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-219-9.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-3949/systemd-219-9.fc22
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2015-03-21 05:02:37 UTC
systemd-219-9.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.