After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 597133 - git won't work correctly if beagle is running on a filesystem with xattrs
git won't work correctly if beagle is running on a filesystem with xattrs
Status: RESOLVED WONTFIX
Product: beagle
Classification: Other
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Beagle Bugs
Beagle Bugs
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2009-10-02 16:20 UTC by James Bottomley
Modified: 2018-07-03 09:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description James Bottomley 2009-10-02 16:20:08 UTC
The problem is fairly simple:  git uses a file's ctime as a short cut in its index to see if the file or its permissions have altered.  If the ctime differs from the one in its index, git assumes the file has changed until git update-index --refresh is run to force a hash and permissions comparison with the index.

Beagle uses xattrs to store hashes and information about certain types of file, most notably C.  altering information in an xattr also changes a file ctime.

This means that if you use git to check in updated files, there's a race where git uses the modified ctime to create the index, then beagle runs and updates the xattr and ctime for the file, then git thinks the tree has been altered when it hasn't and refuses to do a wide selection of operations until the ctimes in the index are brought back into sync
Comment 1 André Klapper 2018-07-03 09:49:29 UTC
Beagle is not under active development anymore and had its last code changes in early 2011. Its codebase has been archived (see bug 796735):
https://gitlab.gnome.org/Archive/beagle/commits/master

"tracker" is an available alternative.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this ticket (or rather transfer the project
to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the
responsibility for active development again.