[systemd-bugs] [Bug 90192] New: ConditionNeedsUpdate should ignore milliseconds

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 27 05:44:02 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90192

            Bug ID: 90192
           Summary: ConditionNeedsUpdate should ignore milliseconds
           Product: systemd
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: systemd-bugs at lists.freedesktop.org
          Reporter: qqqqqqqqq9 at gmeyer.df-kunde.de
        QA Contact: systemd-bugs at lists.freedesktop.org

Hi, 
when i run 
systemctl restart systemd-update-done

i get the following timestamps:

 stat /etc/.updated /var/.updated /usr/
„/etc/.updated“
Zugriff    : 2015-04-27 12:07:55.000000000 +0200
Modifiziert: 2015-04-27 12:07:55.000000000 +0200
Geändert   : 2015-04-27 14:39:28.000000000 +0200

Datei: „/var/.updated“
Zugriff    : 2015-04-27 12:07:55.240078746 +0200
Modifiziert: 2015-04-27 12:07:55.240078746 +0200
Geändert   : 2015-04-27 14:39:28.382725004 +0200

Datei: „/usr/“
Zugriff    : 2015-04-27 13:22:43.806556656 +0200
Modifiziert: 2015-04-27 12:07:55.240078746 +0200
Geändert   : 2015-04-27 12:07:55.240078746 +0200

As you can see, the filesystem under /etc (ext4 on dm-crypt) doesn't support
nanoseconds whereas the one under /var and /usr (ext4) does.

This means /etc/.updated is always older than /usr and ConditionNeedsUpdate is
always true.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150427/26a572bd/attachment.html>


More information about the systemd-bugs mailing list