[GH-ISSUE #1959] test_mtime_file and test_update_time_cp_p fail on Fedora #989

Closed
opened 2026-03-04 01:50:28 +03:00 by kerem · 2 comments
Owner

Originally created by @gaul on GitHub (Jun 12, 2022).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1959

This appears to be due to unexpected ACL syscalls which change ctime and atime:

fgetxattr(3, "system.posix_acl_access", 0x7ffc66203b90, 132) = -1 ENODATA (No data available)
fsetxattr(4, "system.posix_acl_access", "\2\0\0\0\1\0\6\0\377\377\377\377\4\0\4\0\377\377\377\377 \0\0\0\377\377\377\377", 28, 0) = 0
...
cp with -p option expected updated ctime: 1000000000 != 1655037804 and same mtime: 1000000000 == 1000000000, atime: 1000000000 == 1655037804
Originally created by @gaul on GitHub (Jun 12, 2022). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1959 This appears to be due to unexpected ACL syscalls which change ctime and atime: ``` fgetxattr(3, "system.posix_acl_access", 0x7ffc66203b90, 132) = -1 ENODATA (No data available) fsetxattr(4, "system.posix_acl_access", "\2\0\0\0\1\0\6\0\377\377\377\377\4\0\4\0\377\377\377\377 \0\0\0\377\377\377\377", 28, 0) = 0 ... cp with -p option expected updated ctime: 1000000000 != 1655037804 and same mtime: 1000000000 == 1000000000, atime: 1000000000 == 1655037804 ```
kerem closed this issue 2026-03-04 01:50:28 +03:00
Author
Owner

@ggtakec commented on GitHub (Jun 12, 2022):

Does it mean that atime has been updated because fsetxattr was called?
Is it possible that xattr is set in the copy source file?
I set xattr in the source file and tried it with AMI, but xattr was not set in the destination file, and there was no atime change.

It seems that we need to find out why this problem occurred only in Fedora.

<!-- gh-comment-id:1153165892 --> @ggtakec commented on GitHub (Jun 12, 2022): Does it mean that `atime` has been updated because `fsetxattr` was called? Is it possible that `xattr` is set in the copy source file? I set `xattr` in the source file and tried it with AMI, but `xattr` was not set in the destination file, and there was no `atime` change. It seems that we need to find out why this problem occurred only in Fedora.
Author
Owner

@ggtakec commented on GitHub (Mar 19, 2023):

This issue doesn't seem to be happening now.
(At the moment, CI is successful on Fedora36/37)
This will be closed. If you still have problems, please reopen or post a new issue.

<!-- gh-comment-id:1475122227 --> @ggtakec commented on GitHub (Mar 19, 2023): This issue doesn't seem to be happening now. (At the moment, CI is successful on Fedora36/37) This will be closed. If you still have problems, please reopen or post a new issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#989
No description provided.