GNU bug report logs - #25957
gitolite broken: created repositories keep references to /usr/bin for hooks

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: ng0 <contact.ng0@HIDDEN>; dated Fri, 3 Mar 2017 20:50:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 25957 <at> debbugs.gnu.org:


Received: (at 25957) by debbugs.gnu.org; 4 Mar 2017 12:24:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 04 07:24:08 2017
Received: from localhost ([127.0.0.1]:39220 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ck8jH-00064h-Uv
	for submit <at> debbugs.gnu.org; Sat, 04 Mar 2017 07:24:08 -0500
Received: from perdizione.investici.org ([94.23.50.208]:51753)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <contact.ng0@HIDDEN>) id 1ck8jG-00064Z-4e
 for 25957 <at> debbugs.gnu.org; Sat, 04 Mar 2017 07:24:06 -0500
Received: from [94.23.50.208] (perdizione [94.23.50.208]) (Authenticated
 sender: niasterisk@HIDDEN) by localhost (Postfix) with ESMTPSA id
 C474B12115B
 for <25957 <at> debbugs.gnu.org>; Sat,  4 Mar 2017 12:24:04 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cryptolab.net;
 s=stigmate; t=1488630245;
 bh=LN3FqxqM3RRqOuSMzS7h/iQUOUEFeAHdRNCc9TGdbyQ=;
 h=Date:From:To:Subject:References:In-Reply-To;
 b=iDW/6LkM5TyZNw3WHrSQLlFtpFwrG9pNfQgH9Xlk02DT4IM16SHrrf7a4U2FcMd2c
 M+yRa4TrDfJg5NXe6Wv3cUX5NWQmU79nyxTr50xwkQ7b/NfBpgd9fm+avtvzDr3Oc/
 kCVHCYvtMZZSg0TVwfp/bRfItWwtEiCzzJZqmro4=
Date: Sat, 4 Mar 2017 13:32:42 +0000
From: ng0 <contact.ng0@HIDDEN>
To: 25957 <at> debbugs.gnu.org
Subject: Re: bug#25957: Acknowledgement (gitolite broken: created
 repositories keep references to /usr/bin for hooks)
Message-ID: <20170304133242.towlmzdcm6x43hvi@abyayala>
Mail-Followup-To: 25957 <at> debbugs.gnu.org
References: <20170303215819.bttmrfsbhlxyipmy@abyayala>
 <handler.25957.B.14885741929377.ack <at> debbugs.gnu.org>
 <20170303222743.wf777eedaauuof3f@abyayala>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20170303222743.wf777eedaauuof3f@abyayala>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 25957
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

On 17-03-03 22:27:43, ng0 wrote:
> What makes this worse, with every update (push) of gitolite-admin
> repository the shebang of "hooks/update" is reset.
> Other repositories seem to keep changes in the hooks shebangs so
> far.
> 
> 
> 

When I build gitolite from guix, this looks trivial to fix.

[user@abyayala /gnu/store/jw252kw9blfh1lrrib3yk4fkbj5mvdpm-gitolite-3.6.5/share/gitolite]$ egrep -nr "/usr/"
commands/svnserve:9:$svnserve ||= "/usr/bin/svnserve -r /var/svn/ -t --tunnel-user=%u";
lib/Gitolite/Test/Tsh.pm:42:# path when cwd is [...] at /usr/share/perl5/File/Temp.pm line 902".
lib/Gitolite/Hooks/PostUpdate.pm:62:#!/usr/bin/perl
lib/Gitolite/Hooks/Update.pm:158:#!/usr/bin/perl
lib/Gitolite/Cache.pm:127:    open( REDIS, "|-", "/usr/sbin/redis-server", "-" ) or die "start redis server fail
ed: $!"; 


The parts I want to fix as my immediately affect every user, are in
the directory "lib/Gitolite/Hooks/", I have no idea about redis, but
I think there should be a reference to /gnu/store/ reddis and not
"/usr/sbin/redis-server". Different problem, related bug.. This can be
solved in a commit after this bug.




Information forwarded to bug-guix@HIDDEN:
bug#25957; Package guix. Full text available.

Message received at 25957 <at> debbugs.gnu.org:


Received: (at 25957) by debbugs.gnu.org; 3 Mar 2017 21:19:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 03 16:19:01 2017
Received: from localhost ([127.0.0.1]:38859 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cjubN-00035y-42
	for submit <at> debbugs.gnu.org; Fri, 03 Mar 2017 16:19:01 -0500
Received: from fragranza.investici.org ([178.175.144.26]:61652)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <contact.ng0@HIDDEN>) id 1cjubL-00035m-74
 for 25957 <at> debbugs.gnu.org; Fri, 03 Mar 2017 16:18:59 -0500
Received: from [178.175.144.26] (fragranza [178.175.144.26]) (Authenticated
 sender: niasterisk@HIDDEN) by localhost (Postfix) with ESMTPSA id
 6AA8D2C0198
 for <25957 <at> debbugs.gnu.org>; Fri,  3 Mar 2017 21:18:57 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cryptolab.net;
 s=stigmate; t=1488575937;
 bh=k6vSPHoxl0iAWO9RL+kAnrvrhFbxtZiCsob/QA2wqhA=;
 h=Date:From:To:Subject:References:In-Reply-To;
 b=uG/m0ByCoDU+j9ZUuLnxvtY5xImMPygqYIvH8unhk6Q2HBiz9jKgLYvBQPkuahRGx
 j/HqPg79iW0ycUKMf+rXjG9McQMZKYrNocHgCoKJzqSRKwHl1A0PWqlsKUFWpzn6CG
 DVe9hNWACXJG5Axghbq2OY9HuD268afsQwZ66jPE=
Date: Fri, 3 Mar 2017 22:27:43 +0000
From: ng0 <contact.ng0@HIDDEN>
To: 25957 <at> debbugs.gnu.org
Subject: Re: bug#25957: Acknowledgement (gitolite broken: created
 repositories keep references to /usr/bin for hooks)
Message-ID: <20170303222743.wf777eedaauuof3f@abyayala>
Mail-Followup-To: 25957 <at> debbugs.gnu.org
References: <20170303215819.bttmrfsbhlxyipmy@abyayala>
 <handler.25957.B.14885741929377.ack <at> debbugs.gnu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <handler.25957.B.14885741929377.ack <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 25957
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

What makes this worse, with every update (push) of gitolite-admin
repository the shebang of "hooks/update" is reset.
Other repositories seem to keep changes in the hooks shebangs so
far.




Information forwarded to bug-guix@HIDDEN:
bug#25957; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 3 Mar 2017 20:49:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 03 15:49:52 2017
Received: from localhost ([127.0.0.1]:38849 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cju9A-0002RB-EB
	for submit <at> debbugs.gnu.org; Fri, 03 Mar 2017 15:49:52 -0500
Received: from eggs.gnu.org ([208.118.235.92]:52252)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <contact.ng0@HIDDEN>) id 1cju98-0002Qy-UW
 for submit <at> debbugs.gnu.org; Fri, 03 Mar 2017 15:49:51 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <contact.ng0@HIDDEN>) id 1cju92-0008AW-MP
 for submit <at> debbugs.gnu.org; Fri, 03 Mar 2017 15:49:45 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:37862)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <contact.ng0@HIDDEN>)
 id 1cju92-0008AO-JL
 for submit <at> debbugs.gnu.org; Fri, 03 Mar 2017 15:49:44 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43221)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <contact.ng0@HIDDEN>) id 1cju91-0006X4-GX
 for bug-guix@HIDDEN; Fri, 03 Mar 2017 15:49:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <contact.ng0@HIDDEN>) id 1cju8w-00088l-ST
 for bug-guix@HIDDEN; Fri, 03 Mar 2017 15:49:43 -0500
Received: from fragranza.investici.org ([178.175.144.26]:64476)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <contact.ng0@HIDDEN>)
 id 1cju8w-00088B-G2
 for bug-guix@HIDDEN; Fri, 03 Mar 2017 15:49:38 -0500
Received: from [178.175.144.26] (fragranza [178.175.144.26]) (Authenticated
 sender: niasterisk@HIDDEN) by localhost (Postfix) with ESMTPSA id
 219562C01FE
 for <bug-guix@HIDDEN>; Fri,  3 Mar 2017 20:49:33 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cryptolab.net;
 s=stigmate; t=1488574173;
 bh=KF1Kl9ZvId1/W1+KAf8hAqqDRJmLUlkv1XzXF7PsufI=;
 h=Date:From:To:Subject;
 b=NSqFxDI980r36+6AJEpGNu330jfd12Vl09bc1UCFedMQGGDNGqvDUZriNV9FcfLmD
 6WTOjS6cmyRsXZd8BHrmpRu6oQeXq7TXo6hdL/R7U7Vkka0JaRFXOGwficjybmGVnp
 gQjlx/ifDRed++/xxdirsmCfNqTuIuPSQeqN7/j4=
Date: Fri, 3 Mar 2017 21:58:19 +0000
From: ng0 <contact.ng0@HIDDEN>
To: bug-guix@HIDDEN
Subject: gitolite broken: created repositories keep references to /usr/bin
 for hooks
Message-ID: <20170303215819.bttmrfsbhlxyipmy@abyayala>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)

Our gitolite package currently creates all
(including gitolite-admin.git) git repositories with references to
"/usr/bin/perl" as shebang, which makes it completely useless on
serverside.
Given that the server side in the case of a gitolite from Guix runs an
environment where you will not run perl from /usr/bin/, you will have to
change all hooks manually currently.

When you install perl into the profile of the user which hosts the
repositories and change the shebangs, gitolite can be used.




Acknowledgement sent to ng0 <contact.ng0@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#25957; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 4 Mar 2017 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.