* Git server, chroot, git gc --auto and "uname: not found"
@ 2013-06-05 16:37 Matthieu Moy
0 siblings, 0 replies; only message in thread
From: Matthieu Moy @ 2013-06-05 16:37 UTC (permalink / raw)
To: git
Hi,
I'm having issues with a Git hosting in a chroot (based on fusion
forge). The problem is that receive-pack triggers a "git gc --auto",
which itself triggers a "git repack", which is a shell-script.
The shell script needs basic commands [1], which are not available within the
chroot.
Is there a clean solution to this problem?
I guess the right solution is "send a patch that ports git-repack.sh to
C" (I thought we already had the server-side in C only, but just
discovered it isn't the case), but I wont have time for that (not soon
at least).
Thanks,
[1] uname, used in git-sh-setup, and then /bin/rm /usr/bin/find /bin/sed
/usr/bin/tr /bin/mkdir /bin/chmod and /bin/mv according to strace.
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-06-05 16:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-05 16:37 Git server, chroot, git gc --auto and "uname: not found" Matthieu Moy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.