Version-Release number of selected component (if applicable): systemd-37-17.fc16.x86_64 and, AFAICS, current upstream git Steps to reproduce: > # LC_ALL=C stat /tmp/virtual-mitr.xcx2wx/ |grep ': 2012' > Access: 2012-03-31 15:24:35.818233723 +0200 > Modify: 2012-03-31 15:24:35.818233723 +0200 > Change: 2012-04-05 15:24:35.818056217 +0200 > # LC_ALL=C date; /bin/systemd-tmpfiles --clean > Thu Apr 5 15:25:34 CEST 2012 > Successfully loaded SELinux database in 8ms 343us, size on heap is 482K. Actual results: > # LC_ALL=C stat /tmp/virtual-mitr.xcx2wx/ |grep ': 2' > Device: fd02h/64770d Inode: 18088068 Links: 2 > Access: 2012-04-05 15:25:34.191942631 +0200 > Modify: 2012-03-31 15:24:35.818233723 +0200 > Change: 2012-04-05 15:24:35.818056217 +0200 Expected results: atime preserved Additional info: This means that systemd-tmpwatch never removes the subdirectory, and prevents tmpwatch for removing it as well. From a quick look, this should be unconditional: > if (deleted) { > /* Restore original directory timestamps */
FWIW, when testing this, keep in mind that the default for ext* is "relatime", so if atime is less than one day in the past, it won't be updated.
Fix is in systemd git now. Thanks! http://cgit.freedesktop.org/systemd/systemd/commit/?id=e5f3d1ba124f14477d6b5434982d7d44a472a66f
systemd-44-9.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/systemd-44-9.fc17
systemd-37-20.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/systemd-37-20.fc16
Package systemd-44-9.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing systemd-44-9.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-8127/systemd-44-9.fc17 then log in and leave karma (feedback).
systemd-44-12.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
systemd-37-25.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.