[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#513088: marked as done (git-core: git-push corrupts repository on hfsplus file system)



Your message dated Tue, 2 Feb 2010 15:06:43 +0100
with message-id <20100202140643.GS9624@baikonur.stro.at>
and subject line Re: git-core: git-push corrupts repository on hfsplus file system
has caused the Debian Bug report #513088,
regarding git-core: git-push corrupts repository on hfsplus file system
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
513088: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513088
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: git-core
Version: 1:1.5.6.5-2
Severity: important


I'd like to have a bare repository on an ipod (hfsplus formatted) for back-up purposes.
After creation of repository, cloning (on a different machine to avoid eventual hardlinks problems)
and pushing, git-fsck says everything is fine, but after mount and remount git-fsck fails.
As described below

**Checking for sanity:

[garcia@is010076:tmp.git]$ pwd
/mnt/ipod/backup/tmp.git
[garcia@is010076:tmp.git]$ git-fsck
[garcia@is010076:tmp.git]$ 

**Cloning (different machine):

[garcia@is003318:~]$ git-clone ssh://garcia@is010076.intra.cea.fr//mnt/ipod/backup/tmp.git tmp_clone
Initialized empty Git repository in /home/garcia/tmp_clone/.git/
remote: Counting objects: 3, done.
remote: Total 3 (delta 0), reused 3 (delta 0)
Receiving objects: 100% (3/3), done.

**Commiting some modifications:

[garcia@is003318:tmp_clone]$ git-status 
# On branch master
# Changed but not updated:
#   (use "git add <file>..." to update what will be committed)
#
#       modified:   test.txt
#
no changes added to commit (use "git add" and/or "git commit -a")
[garcia@is003318:tmp_clone]$ git-commit -a
Created commit ee2036e: Some modifications on test.txt
 1 files changed, 1 insertions(+), 1 deletions(-)

**Pushing last commit:

[garcia@is003318:tmp_clone]$ git-push 
Counting objects: 5, done.
Writing objects: 100% (3/3), 293 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
To ssh://garcia@is010076.intra.cea.fr//mnt/ipod/backup/tmp.git
   e80b477..ee2036e  master -> master

** checking for sanity:
[garcia@is010076:tmp.git]$ git-fsck
[garcia@is010076:tmp.git]$ 

** unmounting and re-mounting

[garcia@is010076:~]$ umount /mnt/ipod 
[garcia@is010076:~]$ mount /mnt/ipod/
[garcia@is010076:~]$ mount
/dev/sda6 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sda2 on /mnt/sda2 type ext2 (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
/dev/sdb3 on /mnt/ipod type hfsplus (rw)

** checking for sanity

[garcia@is010076:tmp.git]$ git-fsck
error: 01ab9a93b7f60c2e16d3fddc4243300dc706570c: object corrupt or missing
error: 3a1b31b98fb985b5064698e9bb6268a3c9eaefd2: object corrupt or missing
error: ee2036efe00f319734ba6d0b3ad3d8bb47e3f91a: object corrupt or missing
error: refs/heads/master: invalid sha1 pointer ee2036efe00f319734ba6d0b3ad3d8bb47e3f91a
notice: No default references

After inspecting files on bare repository, it seems that there is a problem with hardlinks,
excerpt of "ls -lR" output before unmount (notice the zero for objects hardlinks)

./objects:
total 0
drwxr-xr-x 1 garcia garcia 3 jan 26 09:58 01
drwxr-xr-x 1 garcia garcia 3 jan 26 09:58 3a
drwxr-xr-x 1 garcia garcia 3 jan 26 09:58 ee
drwxr-xr-x 1 garcia garcia 3 jan 23 18:36 info
drwxr-xr-x 1 garcia garcia 4 jan 23 18:36 pack

./objects/01:
total 4
-r--r--r-- 0 garcia garcia 46 jan 26 09:58 ab9a93b7f60c2e16d3fddc4243300dc706570c

./objects/3a:
total 4
-r--r--r-- 0 garcia garcia 53 jan 26 09:58 1b31b98fb985b5064698e9bb6268a3c9eaefd2

./objects/ee:
total 4
-r--r--r-- 0 garcia garcia 180 jan 26 09:58 2036efe00f319734ba6d0b3ad3d8bb47e3f91a

Thanks

Juan

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages git-core depends on:
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libcurl3-gnutls        7.18.2-8          Multi-protocol file transfer libra
ii  libdigest-sha1-perl    2.11-2+b1         NIST SHA-1 message digest algorith
ii  liberror-perl          0.17-1            Perl module for error/exception ha
ii  libexpat1              2.0.1-4           XML parsing C library - runtime li
ii  perl-modules           5.10.0-19         Core Perl modules
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages git-core recommends:
ii  less                          418-1      Pager program similar to more
ii  openssh-client [ssh-client]   1:5.1p1-5  secure shell client, an rlogin/rsh
ii  patch                         2.5.9-5    Apply a diff file to an original
ii  rsync                         3.0.3-2    fast remote file copy program (lik

Versions of packages git-core suggests:
pn  git-arch                     <none>      (no description available)
pn  git-cvs                      <none>      (no description available)
pn  git-daemon-run               <none>      (no description available)
pn  git-doc                      <none>      (no description available)
pn  git-email                    <none>      (no description available)
pn  git-gui                      <none>      (no description available)
ii  git-svn                      1:1.5.6.5-2 fast, scalable, distributed revisi
ii  gitk                         1:1.5.6.5-2 fast, scalable, distributed revisi
pn  gitweb                       <none>      (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
> Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)


this is a pretty old kernel since bug report, if you can still reproduce
with more uptodate lenny or squeeze please shout the bug can be
reopened.


closing as no followup since report.



--- End Message ---

Reply to: