stat mtime on encrypted fs doesn't match between calls
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | eCryptfs |
Medium
|
Tyler Hicks | ||
Bug Description
steps to reproduce:
guillermo@
guillermo@
File: `bar'
Size: 29 Blocks: 24 IO Block: 4096 regular file
Device: 15h/21d Inode: 1846747 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/guillermo) Gid: ( 1000/guillermo)
Access: 2010-08-05 11:14:40.896464546 -0300
Modify: 2010-08-05 11:14:40.000000000 -0300
Change: 2010-08-05 11:14:40.000000000 -0300
guillermo@
guillermo@
File: `bar'
Size: 29 Blocks: 24 IO Block: 4096 regular file
Device: 15h/21d Inode: 1846747 Links: 1
Access: (0666/-rw-rw-rw-) Uid: ( 1000/guillermo) Gid: ( 1000/guillermo)
Access: 2010-08-05 11:14:40.896464546 -0300
Modify: 2010-08-05 11:14:40.900454307 -0300
Change: 2010-08-05 11:14:47.672508525 -0300
guillermo@
| Tyler Hicks (tyhicks) wrote : | #1 |
| Changed in ecryptfs: | |
| assignee: | nobody → Tyler Hicks (tyhicks) |
| importance: | Undecided → Medium |
| status: | New → Confirmed |
| Guillermo Gonzalez (verterok) wrote : | #2 |
This is on Ubuntu 10.04, kernel 2.6.32-24-generic and ext4 filesystem
| Tyler Hicks (tyhicks) wrote : | #3 |
Looks to be specific to ext4's nanosecond timestamp feature.
| Tyler Hicks (tyhicks) wrote : | #4 |
Pushed a fix for this to git://git.
| Changed in ecryptfs: | |
| status: | Confirmed → Fix Committed |
| Guillermo Gonzalez (verterok) wrote : | #6 |
Cool, thanks!
| Tyler Hicks (tyhicks) wrote : | #7 |
Linus pulled this fix in before releasing 2.6.38-rc6 and I received a note from gregkh that it was applied to the 2.6.37-stable tree.
| Changed in ecryptfs: | |
| status: | Fix Committed → Fix Released |


Verified on 2.6.35