From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id COBHDKkRe1/XeQAA0tVLHw (envelope-from ) for ; Mon, 05 Oct 2020 12:29:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2AryB6kRe1+PSQAAB5/wlQ (envelope-from ) for ; Mon, 05 Oct 2020 12:29:29 +0000 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 5E105940712 for ; Mon, 5 Oct 2020 12:29:23 +0000 (UTC) Received: from localhost ([::1]:41744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPPcI-0005zN-6i for larch@yhetil.org; Mon, 05 Oct 2020 08:29:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPPby-0005v7-Sn for guix-patches@gnu.org; Mon, 05 Oct 2020 08:29:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36705) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPPby-0005rv-Ic for guix-patches@gnu.org; Mon, 05 Oct 2020 08:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kPPby-0000NG-G0 for guix-patches@gnu.org; Mon, 05 Oct 2020 08:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43769] [PATCH v2 2/2] guix-install.sh: Check the service 'nscd' and suggest it. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Oct 2020 12:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43769 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , zimoun Cc: 43769@debbugs.gnu.org Received: via spool by 43769-submit@debbugs.gnu.org id=B43769.16019009381422 (code B ref 43769); Mon, 05 Oct 2020 12:29:02 +0000 Received: (at 43769) by debbugs.gnu.org; 5 Oct 2020 12:28:58 +0000 Received: from localhost ([127.0.0.1]:48250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPPbu-0000Mr-71 for submit@debbugs.gnu.org; Mon, 05 Oct 2020 08:28:58 -0400 Received: from tobias.gr ([80.241.217.52]:59708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPPbs-0000Mj-KA for 43769@debbugs.gnu.org; Mon, 05 Oct 2020 08:28:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=Ydy/PKp2rls3ryLhFx/UfxqbWC0vOOV9j/Zr9MqtV+I=; h=date:in-reply-to: references:subject:cc:to:from; b=R70Rq7q+BMthgzn64UblaVHthKtvBT7u67Fxb 8sTlqnJFAzxE9FaNDXtP50T4w4JdIgXI3MrF3eBJNkr8ojh/dcHBs+cvqfegxA3j3wCD3I poLDSSbQysi/UP5knyjjHS9hBC+1rRSGd3rR7AVdMp6xR2KJu/M6Ur8HhVMjR1aJXk6xyx x1VuhqckhIH0uB/FlH4yNDUYmmZNYTMqsfNA0EakHvh+8s2sce5afQe8PODoZZTu44wKBk IpJMHXBqHObEzRBiLyz+RiraJMeV/GdkHr3ejD3FYnThiFyNVpOjgaZGVFM+vfLG9lTCHO br/pduXLojU/Z/MqkorWGVJQA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id d2a0b708 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Mon, 5 Oct 2020 12:29:03 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; References: <20201003184447.9542-1-zimon.toutoune@gmail.com> <20201003184447.9542-2-zimon.toutoune@gmail.com> <87mu139l5e.fsf@nckx> <87lfgl5c3f.fsf@gnu.org> In-reply-to: <87lfgl5c3f.fsf@gnu.org> Date: Mon, 05 Oct 2020 14:28:53 +0200 Message-ID: <878sckambe.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Tobias Geerinckx-Rice , Tobias Geerinckx-Rice via Guix-patches From: Tobias Geerinckx-Rice via Guix-patches via X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=tobias.gr header.s=2018 header.b=R70Rq7q+; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -3.11 X-TUID: cJIN6iKYoUi7 --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Ludo', Zimoun, Ludovic Court=C3=A8s =E5=86=99=E9=81=93=EF=BC=9A >> If we must have a new interactive prompt in this series, this=20 >> seems >> like the better place: we know enough about the host (init)=20 >> system to >> auto-enable nscd on most of them, if the user so wishes. > > In practice, you enable nscd by running =E2=80=98apt install nscd=E2=80= =99 or=20 > similar, > and I think we cannot guess what the right command is. WDYT? I agree: I was under the assumption that nscd is commonly=20 installed as part of the base OS, but disabled by default at the=20 init system level. If that's not likely to be true, don't let's=20 bother. Zimoun =E5=86=99=E9=81=93=EF=BC=9A > ask and then try to start the service depending on the init=20 > system if nscd is not running If the distro equivalent of =E2=80=98service start nscd=E2=80=99 works in t= he=20 *common* case, I like it. Otherwise a warning/suggestion to=20 manually install & enable it is fine. My general point was that guix-install.sh should do as much as it=20 can with the information it already has ($INIT_SYS) and be=20 consistent in using it, not that we start sniffing=20 $LEGACY_PKG_MANAGER too :-) Thanks for your work so far, Simon, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCX3sRhQ0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15xnwA/3ZfOGaOi4ugbO+Wwt+NdbFDsPEqSGVwTkbtoR88 C83iAP9m7lvBp/2XP8Cu8iQdBw9oU/XiwwWXn+7bTUrIISxGCA== =2Ry2 -----END PGP SIGNATURE----- --=-=-=--