symlinks on ecryptfs cause spurious modifications

Bug #522099 reported by avdd
This bug report is a duplicate of:  Bug #567945: problems whit uck pakage manager . Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mercurial (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: mercurial

when syncing hg repos from or to a filesystem using ecryptfs, the sizes of the symlinks are different causing spurious modification messages.

For example, if /tmp is clear fs and $HOME is ecryptfs:

mkdir /tmp/hgtest
cd /tmp/hgtest
hg init
touch foo
ln -s foo bar
hg add foo bar
hg ci -m 'file and symlink'
hg st
sleep 3 # necessary for bug to manifest
rsync -ra /tmp/hgtest/ ~/hgtest
cd ~/hgtest
hg st

output:

M bar

Revision history for this message
avdd (avdd) wrote :

git also has the same problem, svn and bzr do not

Revision history for this message
tonfa (bboissin) wrote :

I guess we could skip the size check if it's a symlink. Could you open a bug in upstream's bugtracker ? (mercurial.selenic.com/bts)

Revision history for this message
avdd (avdd) wrote : Re: [Bug 522099] Re: symlinks on ecryptfs cause spurious modifications

It seems I can't do that without creating an account, hence my
report here. I though that was the point of launchpad.

Quoth tonfa (2010-02-15 23:18):
> I guess we could skip the size check if it's a symlink. Could you open a
> bug in upstream's bugtracker ? (mercurial.selenic.com/bts)
>
> --
> symlinks on ecryptfs cause spurious modifications
> https://bugs.launchpad.net/bugs/522099
> You received this bug notification because you are a direct subscriber
> of the bug.

Revision history for this message
tonfa (bboissin) wrote :

Bug was closed upstream, http://mercurial.selenic.com/bts/issue2042
Best would be if ecryptfs was fixed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.