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 cBTMJ0vlel+CDAAA0tVLHw (envelope-from ) for ; Mon, 05 Oct 2020 09:20:11 +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 gK+nI0vlel+RQAAAB5/wlQ (envelope-from ) for ; Mon, 05 Oct 2020 09:20:11 +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 1BD299401C0 for ; Mon, 5 Oct 2020 09:20:10 +0000 (UTC) Received: from localhost ([::1]:33936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPMfA-0006kA-Aj for larch@yhetil.org; Mon, 05 Oct 2020 05:20:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPMf4-0006k3-GM for guix-patches@gnu.org; Mon, 05 Oct 2020 05:20:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36354) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPMf4-0006Rq-6m for guix-patches@gnu.org; Mon, 05 Oct 2020 05:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kPMf4-0001ov-03 for guix-patches@gnu.org; Mon, 05 Oct 2020 05:20: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: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Oct 2020 09:20:01 +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?= Cc: Tobias Geerinckx-Rice , 43769@debbugs.gnu.org Received: via spool by 43769-submit@debbugs.gnu.org id=B43769.16018895876972 (code B ref 43769); Mon, 05 Oct 2020 09:20:01 +0000 Received: (at 43769) by debbugs.gnu.org; 5 Oct 2020 09:19:47 +0000 Received: from localhost ([127.0.0.1]:47900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPMep-0001oM-9g for submit@debbugs.gnu.org; Mon, 05 Oct 2020 05:19:47 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:39919) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPMem-0001o8-J2 for 43769@debbugs.gnu.org; Mon, 05 Oct 2020 05:19:45 -0400 Received: by mail-qt1-f195.google.com with SMTP id d1so8961604qtr.6 for <43769@debbugs.gnu.org>; Mon, 05 Oct 2020 02:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=l+Gr1CJPG/lfKdSq0yjrMsbnZ7NsrGLbQ9VRx+cU+AE=; b=YiJIfCLNsgMyH07yJVsJXIaQ6IqpyRgiz+di7y8wTTDA3oSErMeKjT6ujxKyS9BE8Q g82e8E8128UFFsWX7Vw1IKerNXKwWk/nRGyRjdXpHuMwzLO7JwhCCVgElLFwM7RJo7+m 2oxTXtVEstvc7bJUP/z8BiiSQFyThJfo3qNeuiFnUOGr9dURF4uuqd/9tqTUn6Sv9bz5 tqOvf+B1SnTJ12XzrjWOtifdLdqex9P0y9H3qL4ITMREUCizJfvEkY6x5HoiPN17+M9X RCzh3cU1QMjqwCOhk9bgcfdnm++qKQlfkF+mTccs7CKnJ0l6lRD0FkFNcWT9yrW77emt 1a/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=l+Gr1CJPG/lfKdSq0yjrMsbnZ7NsrGLbQ9VRx+cU+AE=; b=ItSWLFhnDmWJ6bfX3yp3rWQ4QR3lQNh49ahgPrQTIRDe84kM2BsJsCPD/73zadDQyc uQopDauvWNofYsKkcHrwgMKJhgOgOOFgOePoku6t/jTYfZbGjGXrIJ8KMC1MOoZCffdz 1AvFITLYo5gtBjPSSOJ8X6dDLnh/E7OTFmhU/q2H+xVHcFbiWzyISwN1GrOCbvJn6NL1 HbAGWR7Ce6fdkxBBH1qlLYjf33S155Bjg4egbYY1Sq9lRAz6Fl13WBU2MkCR9NWBTsJV 4X8W5HM0/D5BMA8mWluFq2kU8fjPJvHFpuTy+ZKSxuapIdvI/IHsgNwkKph/LLcwweGO ufrw== X-Gm-Message-State: AOAM530faYiuD9sMfrKm5nO6qFLm3l7z1olGJoRKI/8MrUgnRedH629Y el31cPqz/sTwItOk/kNsI07tLmKMdZHNs4QY+I8= X-Google-Smtp-Source: ABdhPJyQ88SFTcDJADMLWpf2dNOqlbFQ3SBhzQcbKb7JPlXLUa5wmswdkELnhx6X2c+n0Te8Oc7vC8kZTEAieTIPHrA= X-Received: by 2002:ac8:5317:: with SMTP id t23mr14125799qtn.354.1601889579048; Mon, 05 Oct 2020 02:19:39 -0700 (PDT) MIME-Version: 1.0 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> From: zimoun Date: Mon, 5 Oct 2020 11:19:28 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=YiJIfCLN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 0.09 X-TUID: 0Ku5t9DOID2E On Mon, 5 Oct 2020 at 10:08, Ludovic Court=C3=A8s wrote: > Tobias Geerinckx-Rice skribis: > > > zimoun =E5=86=99=E9=81=93=EF=BC=9A > >> * etc/guix-install.sh (chk_sys_nscd): New function to check if the > >> service > >> 'nscd is running, otherwise suggest to install distribution-wide. > > > > If we must have a new interactive prompt in this series, this seems > > like the better place: we know enough about the host (init) 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 similar, > and I think we cannot guess what the right command is. WDYT? Yeah, I have tried in an unsent yet v3 to ask and then try to start the service depending on the init system if nscd is not running. And if it fails, ask to install it. That's the best we can do, IMHO. Maybe it is over engineering and a simple INFO/WARN is enough. WDYT? All the best, simon