From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 ar1wMTvj1GGHRAEAgWs5BA (envelope-from ) for ; Wed, 05 Jan 2022 01:15:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SKsGLjvj1GGBVwAA9RJhRA (envelope-from ) for ; Wed, 05 Jan 2022 01:15:55 +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 8B3D73DB52 for ; Wed, 5 Jan 2022 01:15:55 +0100 (CET) Received: from localhost ([::1]:33458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4ty6-0002fp-8y for larch@yhetil.org; Tue, 04 Jan 2022 19:15:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4txG-0002NE-Jh for bug-guix@gnu.org; Tue, 04 Jan 2022 19:15:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55854) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4txG-0007T4-9e for bug-guix@gnu.org; Tue, 04 Jan 2022 19:15:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4txG-0008DV-0H for bug-guix@gnu.org; Tue, 04 Jan 2022 19:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#25957: gitolite broken: created repositories keep references to /usr/bin for hooks Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 05 Jan 2022 00:15:01 +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: 25957@debbugs.gnu.org Received: via spool by 25957-submit@debbugs.gnu.org id=B25957.164134168131539 (code B ref 25957); Wed, 05 Jan 2022 00:15:01 +0000 Received: (at 25957) by debbugs.gnu.org; 5 Jan 2022 00:14:41 +0000 Received: from localhost ([127.0.0.1]:39165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4twu-0008Cc-OY for submit@debbugs.gnu.org; Tue, 04 Jan 2022 19:14:41 -0500 Received: from mail-wr1-f52.google.com ([209.85.221.52]:40741) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4twr-0008CI-GD for 25957@debbugs.gnu.org; Tue, 04 Jan 2022 19:14:39 -0500 Received: by mail-wr1-f52.google.com with SMTP id q16so79388005wrg.7 for <25957@debbugs.gnu.org>; Tue, 04 Jan 2022 16:14:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-transfer-encoding; bh=KykoRBFlRgOlzQ2oL8Aoev9+AcUuntRCL1tHps8B4dQ=; b=M6YeBkdSRRlbgVS8jwL9y4ez5r5x0blVS14k1f9JUWxIn9YMrzGAtUoOKL6grJVrqv YPSPzekE3paqJeuvYboFs4JIE9hhNoLWlE73CCy299rJ4ibnRJgZ0EPId7IYsxdmp0Z3 bpmMiThFhzjJS6wJi+VnOYmh7+9xwzu27VvsFkxTPRMwH3NrKUd+ZFQwfhd2T5RHwm6z HtI1ZFyFRwkhqylxmgnVeteinoYo5U+FuBiVHuTt2LQ9q2GH485E86bu6G2+nZ5t0E6P a0LvI5P9YXZ/PMyhXSEFJn4hTR1XmeoDxynBOWUQhOMQaWvobZNhng4APL27EiZHZKk4 LDKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=KykoRBFlRgOlzQ2oL8Aoev9+AcUuntRCL1tHps8B4dQ=; b=Wp9RTIf74RYEEOQukTKHdrQmeKKqfdxK+u3UPK72Od1uHvvGrp20Jad0BkCdzxoh7i fYgeEHZo451fNmmTvIhdB5v/QM7gCWgZYJsTZjfjhg6jOSXlFhDU90MBBN9lTsM5rmRd iJcF5uV8rbGA8dLzyPUzahP2BTsAFlJmaerTHsO6ah7EwKNxm4GSCPQ1oWpXThMkXuKu kKI6+PfKBPCmVNnwMHwtrOmFMIKSrGaMBfvlOlb2St9DlAjhA752vwHdWXXhThgKPnFL uPQGlEeB4sNrNiL5fnrSqUueyk6WUPcUtBSr24d4fYRxmghPrAfxDMagWThMkArEsPcS /EcA== X-Gm-Message-State: AOAM532xf6S0IVA2wcndeREafZ1ePjSjLakQAhI8YNIUW6aZ0oHYUSGB V/TtF++kLXIAVu4+E/ec9KLK0fy8BlM= X-Google-Smtp-Source: ABdhPJyJYRwlarQqwuKKK4ZUVG5PENG2+uXhSc20d09J67JbNHAv5FSaFVPJWwDcT8b4Ve2TsicU5g== X-Received: by 2002:a5d:6d06:: with SMTP id e6mr43823353wrq.273.1641341671441; Tue, 04 Jan 2022 16:14:31 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id ba18sm3015843wrb.40.2022.01.04.16.14.30 for <25957@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jan 2022 16:14:31 -0800 (PST) From: zimoun References: <20170303215819.bttmrfsbhlxyipmy@abyayala> <20170303222743.wf777eedaauuof3f@abyayala> <20170304133242.towlmzdcm6x43hvi@abyayala> Date: Wed, 05 Jan 2022 01:07:07 +0100 In-Reply-To: <20170304133242.towlmzdcm6x43hvi@abyayala> (ng0's message of "Sat, 4 Mar 2017 13:32:42 +0000") Message-ID: <86k0ff9has.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , 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=1641341755; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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:dkim-signature; bh=KykoRBFlRgOlzQ2oL8Aoev9+AcUuntRCL1tHps8B4dQ=; b=BcQVjeEPKRrNRqcdcvzruo4kZMoAVkfnhjgcwf3dWdZC3uCP/9J4kOLTAuxh77AIzfHV0M UtXZWB4QTSCHlU+htAn+wkNxZCLSlHOxDUIfVtEuTtAxo9m0FoW4+xqI/ewvSivlhaYG6z ECbCofVtrJw3g9X94Yn5gEIlzVXgl8NgfbId3bHjqNqJn6j5Kt0SVe0ExFe/D5aHQVDmHw Hp9045TJLCDT2WrTIGcxk6NvH9GbnQrvzl5kbPNN64TzAt+Wtm+DsC3mkfslzFB+fr0+2e ogMQzgk8/NmTRhoqWgvA/2cE52dRIy1k4X2mEu730ilcK9Ucw+NOGxEGx8LEsQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641341755; a=rsa-sha256; cv=none; b=o79TnnHe7DwCRHpB0Di3VqA3JUy2GFKSy7hCvEmrHKgSAQfHIDXXPkYwm1+Gax1x09uQnz KXpeMeOCf6B8IV3MLFrBOJSfOz9RefmxSYyX/hv1/QxQwHVy1N0hqiCrsV+bllS02in5yo NefqeY6zAk/qMrwuD2HLNg08HRZXniXSMNiCEwI8u8XRyp9h1Z8+EtvuAp3dQl9rFylg5N ACYbTb9pIo+ga24xFvOTHRjo4NtZjEqDtINEYhauYKrDm3SBzNhkoIlnDeCxb7KCsS10FB cyK5eQV9HyPxC9k+D9uZsyv3A4gEtmMk4+HU8tQP8of7nL17t3j7KZ8Qb91e+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=M6YeBkdS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: -2.99 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=M6YeBkdS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 8B3D73DB52 X-Spam-Score: -2.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: DvnT1QXtnoYJ Hi, This old bug [1] is still relevant. 1: On Sat, 04 Mar 2017 at 13:32, ng0 wrote: > On 17-03-03 22:27:43, ng0 wrote: This previous=E2=80=A6 > [user@abyayala /gnu/store/jw252kw9blfh1lrrib3yk4fkbj5mvdpm-gitolite-3.6.5= /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/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: $!"; =E2=80=A6is now=E2=80=A6 --8<---------------cut here---------------start------------->8--- share/gitolite/lib/Gitolite/Test/Tsh.pm:42:# path when cwd is [...] at /usr= /share/perl5/File/Temp.pm line 902". share/gitolite/lib/Gitolite/Cache.pm:127: open( REDIS, "|-", "/usr/sbin/= redis-server", "-" ) or die "start redis server failed: $!"; share/gitolite/commands/svnserve:9:$svnserve ||=3D "/usr/bin/svnserve -r /v= ar/svn/ -t --tunnel-user=3D%u"; --8<---------------cut here---------------end--------------->8--- =E2=80=A6but=E2=80=A6 > 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. =E2=80=A6the package redis is not a dependency of gitolite. Therefore, the question is: is our Gitolite package working with Redis? Even using the /usr/bin one? Idem for SVN. Otherwise, I am favor to remove the 2 =E2=80=9Cproblematic=E2=80=9D referen= ces. WDYT? Cheers, simon