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 uC4DAjSK319GfgAA0tVLHw (envelope-from ) for ; Sun, 20 Dec 2020 17:30:28 +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 KENvOTOK31/sTAAAB5/wlQ (envelope-from ) for ; Sun, 20 Dec 2020 17:30:27 +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 AFB0A940366 for ; Sun, 20 Dec 2020 17:30:27 +0000 (UTC) Received: from localhost ([::1]:50044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kr2XK-0004nY-KA for larch@yhetil.org; Sun, 20 Dec 2020 12:30:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kr2Wy-0004a3-JI for guix-patches@gnu.org; Sun, 20 Dec 2020 12:30:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33961) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kr2Wy-0000CR-A1 for guix-patches@gnu.org; Sun, 20 Dec 2020 12:30:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kr2Wy-0001vy-5v for guix-patches@gnu.org; Sun, 20 Dec 2020 12:30:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#40601] [PATCH 5/5] guix-install.sh: Check daemonize package presence for sysv-init. Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 20 Dec 2020 17:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40601 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40601@debbugs.gnu.org Received: via spool by 40601-submit@debbugs.gnu.org id=B40601.16084853457236 (code B ref 40601); Sun, 20 Dec 2020 17:30:04 +0000 Received: (at 40601) by debbugs.gnu.org; 20 Dec 2020 17:29:05 +0000 Received: from localhost ([127.0.0.1]:45504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kr2W1-0001sZ-E9 for submit@debbugs.gnu.org; Sun, 20 Dec 2020 12:29:05 -0500 Received: from mail-wr1-f54.google.com ([209.85.221.54]:39808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kr2Vz-0001rM-3q for 40601@debbugs.gnu.org; Sun, 20 Dec 2020 12:29:03 -0500 Received: by mail-wr1-f54.google.com with SMTP id c5so8359756wrp.6 for <40601@debbugs.gnu.org>; Sun, 20 Dec 2020 09:29:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9u5CgJdMT4W0Fwn47Pl5aTgr7wAAdBuDi+K5hmNDIdQ=; b=AUE4Ws/xhVd0opDd0JMq+nWndTMnW05RZ8+0AGAsWuluVHO1T1Atqcmw3tpe/9Hlsa ukq3EtiRay3Vst4nd4mCnuRUN4Hfo1s3FE9558ztHBMOT9q1ULR1PJolFH0DA/Vw5fyW ytIrj+qTshTstMalM0+i8tT7Nm4L8mzwh/EJ5tiRmNJWK1Pg++geWTTk5rBW8zFfuKPG dtCIpQWGX0b+oVOvsoppiDmOs6cAYupGUYs/pn3ph9s3EENdPCJNimctVVsUkqJxw0kb zRlGe23iYtiiXhPoN++K9mw/CUbyLtH88ywEzHoKeiiJAP6IBRf4pmWhYha+twDf0dNl 0a9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9u5CgJdMT4W0Fwn47Pl5aTgr7wAAdBuDi+K5hmNDIdQ=; b=RC9CUcPaRrWecCR7X1uviPdkTTYqkjVl1iGkOoj6SSJuez7j7IoXRbqauGQZqNk/yK G9Rw8g0iQ7LbdWEoSkogPpqsr3kS/kfF1pTicTXWuExHexgNSM0nM9PWPg4q2pK+3z1G 4V+1i3NjPvNjtRb55jlPpPALl9Ax2JV+AnAi2cOlj9ZNiYH7HzkDthaouhA4NhmCdVhN fFvvUqxb/rqgsVr9NvdnW2UhlBsnE89rUJHSu7E9WpVct31ckVpY+JwcR2Lto6TBCXka N4yvRiVV1bdT8hcpqWPkN77M/65WIvUJvNsPCPixNhEQcSUQCwcAQHBZj1V5sHWKZOu6 WdJg== X-Gm-Message-State: AOAM531vLIzuFzzkSwoQNxdWuUAKTLibCQb6bBwYu3oZwjGY1rHCZb+Y LLZW06a5I5tkkZJvUZRojbZz59hP+4M= X-Google-Smtp-Source: ABdhPJy9Oib1b5crdDT63zVzhEAkTERsjt6dpV3g7w/PCIvKvrp1s0cGgUUZoSUyvXYShmDto+sCvA== X-Received: by 2002:adf:fe05:: with SMTP id n5mr14799690wrr.9.1608485337583; Sun, 20 Dec 2020 09:28:57 -0800 (PST) Received: from localhost.localdomain (se167-1-82-242-148-1.fbx.proxad.net. [82.242.148.1]) by smtp.gmail.com with ESMTPSA id h3sm20783535wmm.4.2020.12.20.09.28.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Dec 2020 09:28:57 -0800 (PST) From: Vincent Legoll Date: Sun, 20 Dec 2020 18:28:39 +0100 Message-Id: <20201220172839.3059-5-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201220172839.3059-1-vincent.legoll@gmail.com> References: <20201220172839.3059-1-vincent.legoll@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vincent Legoll Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.78 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=AUE4Ws/x; 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-Migadu-Queue-Id: AFB0A940366 X-Spam-Score: 2.78 X-Migadu-Scanner: scn0.migadu.com X-TUID: NXLkQhRIXA/z * etc/guix-install.sh (chk_init_sys): Call `chk_require daemonize'. --- etc/guix-install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/guix-install.sh b/etc/guix-install.sh index 307c42d3fb..ecc86f3e76 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -153,6 +153,10 @@ chk_init_sys() elif /sbin/init --version 2>/dev/null | grep -q SysV; then _msg "${INF}init system is: sysv-init" INIT_SYS="sysv-init" + chk_require daemonize || { + _err "${ERR}Init system: sysv-init requires the 'daemonize' package." + exit 1 + } return 0 elif [[ $(openrc --version 2>/dev/null) =~ \(OpenRC\) ]]; then _msg "${INF}init system is: OpenRC" -- 2.29.2