From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mIJkF1UZ32E9EwEAgWs5BA (envelope-from ) for ; Wed, 12 Jan 2022 19:09:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eIYtEFUZ32FOwgAAG6o9tA (envelope-from ) for ; Wed, 12 Jan 2022 19:09:25 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E6C5EF1EB for ; Wed, 12 Jan 2022 19:09:24 +0100 (CET) Received: from localhost ([::1]:40962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7i3o-0008SW-2t for larch@yhetil.org; Wed, 12 Jan 2022 13:09:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7i3T-0008SI-59 for bug-guix@gnu.org; Wed, 12 Jan 2022 13:09:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37911) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7i3S-00074P-RP for bug-guix@gnu.org; Wed, 12 Jan 2022 13:09:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n7i3S-0007r2-O8 for bug-guix@gnu.org; Wed, 12 Jan 2022 13:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#25957: gitolite broken: created repositories keep references to /usr/bin for hooks Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 12 Jan 2022 18:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25957 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun Received: via spool by 25957-submit@debbugs.gnu.org id=B25957.164201090030116 (code B ref 25957); Wed, 12 Jan 2022 18:09:02 +0000 Received: (at 25957) by debbugs.gnu.org; 12 Jan 2022 18:08:20 +0000 Received: from localhost ([127.0.0.1]:59046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7i2l-0007pg-Tq for submit@debbugs.gnu.org; Wed, 12 Jan 2022 13:08:20 -0500 Received: from flashner.co.il ([178.62.234.194]:43228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7i2h-0007pK-70 for 25957@debbugs.gnu.org; Wed, 12 Jan 2022 13:08:18 -0500 Received: from localhost (unknown [141.226.10.247]) by flashner.co.il (Postfix) with ESMTPSA id 499654013B; Wed, 12 Jan 2022 18:08:09 +0000 (UTC) Date: Wed, 12 Jan 2022 20:07:37 +0200 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , zimoun , 25957@debbugs.gnu.org References: <20170303215819.bttmrfsbhlxyipmy@abyayala> <20170303222743.wf777eedaauuof3f@abyayala> <20170304133242.towlmzdcm6x43hvi@abyayala> <86k0ff9has.fsf_-_@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+tUEcTHzo1qyejda" Content-Disposition: inline In-Reply-To: <86k0ff9has.fsf_-_@gmail.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 25957@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642010964; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=Q4K6KQ+huJD6Fk5nWzGKkG+M21oktKYZmuP1u2IhcLA=; b=BCKGjUIQsEXXoM2kOQh67jqPyld/SjKPZtvrRjyXQX42ZF1it850FuO3DPdRXk36On2LaS ViMkaobWOvUmHiasXrg5eKJ1tL7chkmC9Y5JURjFmO7Yzkz0227aJL+jjJFD7xLS51gc7s +XObZEwgbCxjT8gPJiGBgP2fFpGaBTqjGxzfxZwMMZoDw2tugkheB3VEn1pVxpibWMdsEi J2tFtDeYp3Y94QkLtcKRpyELRr633xrnIiuqZMaiG9xKo4Tk9w+1aLNfJCq/jJ+ROYdJ8G fm6uBCdXlzttWA3dhmQ4NYYoDz0gXm3pUwsdw2MnPm0ycN9jgtigtytEeW/hHw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642010965; a=rsa-sha256; cv=none; b=Z7Bn38Z96VIHpNOk0LPfSvmwwdPkQsd4RgWH5YHeBYj7JGtkOgMQ99VM2VIs3ksH5dNRKF fJteFjH0tD1h3/6lWCxP+3gVWScbtmuV9PWS0P7Iz5Bql8DAnv4X5eb8Wm4LUDzSWI8g71 p10Auz52Y6RS7Pye7sxtxBkcVKWPhLBa/Fwx8UF+Ydwqz0HtiYFOH7eMlegUWf9FhqwmrX cFO6myXsJ/FjU8BQgsTm2fMKSOhRA+YHC1yY2RPNRnrC8zq319r1fooD2+9g6cq1GfcRlP AVX+eae8R793AXCu2pUl3DCro1CYeRUVGQDXmvpOjYS3ATSDNXh6n/C86k8uLQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.22 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E6C5EF1EB X-Spam-Score: -5.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: Dkg1Hzku6RmG --+tUEcTHzo1qyejda Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 05, 2022 at 01:07:07AM +0100, zimoun wrote: > Hi, >=20 > This old bug [1] is still relevant. >=20 > 1: >=20 > On Sat, 04 Mar 2017 at 13:32, ng0 wrote: > > On 17-03-03 22:27:43, ng0 wrote: >=20 > This previous=E2=80=A6 >=20 > > [user@abyayala /gnu/store/jw252kw9blfh1lrrib3yk4fkbj5mvdpm-gitolite-3.6= =2E5/share/gitolite]$ egrep -nr "/usr/" > > commands/svnserve:9:$svnserve ||=3D "/usr/bin/svnserve -r /var/svn/ -t = --tunnel-user=3D%u"; > > lib/Gitolite/Test/Tsh.pm:42:# path when cwd is [...] at /usr/share/perl= 5/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-serve= r", "-" ) or die "start redis server fail > > ed: $!"; >=20 > =E2=80=A6is now=E2=80=A6 >=20 > --8<---------------cut here---------------start------------->8--- > share/gitolite/lib/Gitolite/Test/Tsh.pm:42:# path when cwd is [...] at /u= sr/share/perl5/File/Temp.pm line 902". > share/gitolite/lib/Gitolite/Cache.pm:127: open( REDIS, "|-", "/usr/sbi= n/redis-server", "-" ) or die "start redis server failed: $!"; > share/gitolite/commands/svnserve:9:$svnserve ||=3D "/usr/bin/svnserve -r = /var/svn/ -t --tunnel-user=3D%u"; > --8<---------------cut here---------------end--------------->8--- >=20 > =E2=80=A6but=E2=80=A6 >=20 > > 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. >=20 > =E2=80=A6the package redis is not a dependency of gitolite. Therefore, t= he > question is: is our Gitolite package working with Redis? Even using the > /usr/bin one? Idem for SVN. >=20 > Otherwise, I am favor to remove the 2 =E2=80=9Cproblematic=E2=80=9D refer= ences. WDYT? Or change it to search the $PATH for the binary, so it would just be 'redis-server' or 'svnserve' --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --+tUEcTHzo1qyejda Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmHfGOgACgkQQarn3Mo9 g1H5RQ//UJ90vtM+nXuz+3mhuFap57Df4c1llA3rHCpg9OI/o4ZgBdqF1pO8Shcp iy8S/MVOsfpOzTC3Xu88wA5Z03sEmEGRNTPnZKi1dEng5SYIczy9BIsQcxhL/xuy XEJg7FuFWLX2N1beREWlAAcWyB12mu2I0AeRS+5yqY4AClUeHdJ+iR8kN1BrOTy/ 1hTeGJDPNbxMqDAfdLtWcdX4G4PRhpfykAOyGZmj6DrFNczgs+RB/vCMWTAoEKcx uuvinG/WFohduA4hbtgczQPbJ3P1cgQQl5o/1qUdgzWOK6bD9EUXhUhiQFpRyDXg lu0pnGTRXJ+Ac6yp7/N5oRPiSqJY8bR43FSbjr6dSuXTt71HXzL0bDtjroOLdHi7 S/72adidesoXFtYiGUnMu2vGYrr3mDEUHRqMiccbNifaPthJwSpI1vbTe5pHUWw5 sT0s48DXCy7MDqHZ4gEpVpk8NFBBxMCVAPHERxSQihg45ca6DnIptwGSilntm0Xz zI474GcJi2XdD1pQgJ3QsS40G1/RlgfEjgGgd/Y+gILDFS2BQKI4LjmTvNwVVn4B ONjL1tvwAabnKnmeDgEQSvQz1IedgJVdSqPCIts/0qMAkFASygzS14TL171lzfCR GoLH1rjcBujj0iF683SGET38r30kGqsnCo34vjhSAxeFoal2zO0= =caCW -----END PGP SIGNATURE----- --+tUEcTHzo1qyejda--