From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4K/xMsVvxF5mewAA0tVLHw (envelope-from ) for ; Tue, 19 May 2020 23:46:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4Ke3LsVvxF71MgAA1q6Kng (envelope-from ) for ; Tue, 19 May 2020 23:46:13 +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 9851094036C for ; Tue, 19 May 2020 23:46:12 +0000 (UTC) Received: from localhost ([::1]:42666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jbBw1-0005zx-Sy for larch@yhetil.org; Tue, 19 May 2020 19:46:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jbBvu-0005ze-9e for bug-guix@gnu.org; Tue, 19 May 2020 19:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40001) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jbBvt-00027X-W1 for bug-guix@gnu.org; Tue, 19 May 2020 19:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jbBvt-0007zJ-TL for bug-guix@gnu.org; Tue, 19 May 2020 19:46:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41413: guix-install.sh broken on Gentoo References: <87pnazqzdy.fsf@nckx> In-Reply-To: <87pnazqzdy.fsf@nckx> Resent-From: ZC via web Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 19 May 2020 23:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41413 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 41413@debbugs.gnu.org Received: via spool by 41413-submit@debbugs.gnu.org id=B41413.158993193430672 (code B ref 41413); Tue, 19 May 2020 23:46:01 +0000 Received: (at 41413) by debbugs.gnu.org; 19 May 2020 23:45:34 +0000 Received: from localhost ([127.0.0.1]:51547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jbBvS-0007ye-Ej for submit@debbugs.gnu.org; Tue, 19 May 2020 19:45:34 -0400 Received: from sender4-of-o56.zoho.com ([136.143.188.56]:21641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jbBvP-0007yU-Pz for 41413@debbugs.gnu.org; Tue, 19 May 2020 19:45:33 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1589931928; cv=none; d=zohomail.com; s=zohoarc; b=A7Ih3zvEO0VEgAPIGDjBeeAVsdJx7pjG+VbWiUppVCroXpP9+9sYKfzFbn1PHxgPFzEcHnCuqTHphUUSnVStdokw3ivVD/9tFwq8t1Wn5Shycb08H8VBVlKxT1aJgww0BSFjK+xQwCph1dV8gP84W90k3ktJlZpXIqWGcu02n0I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1589931928; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=yktyY73HtT9PEA23nfU/vttnAp+E/2CKo4KdQpZIECc=; b=QNCAQmtPhtZ5pBJz9SGU66csa3yxGe/kDza1IpsJO12jWeb/yZiAvoU940RRqGnoBp2GdBh7EqsGiCVWBdCWZWM+0yru6KbNcZJxxMrm69GixwH4ufbVrJVwtvJTzwMp3mazv8c3PsvAzAhZz8OX9n4wNTant47YZbk5+IAok0Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=issues.guix.gnu.org@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1589931928; s=zoho; d=elephly.net; i=issues.guix.gnu.org@elephly.net; h=MIME-Version:Content-Type:From:To:Date:Message-ID:Subject; bh=yktyY73HtT9PEA23nfU/vttnAp+E/2CKo4KdQpZIECc=; b=bn3GL3+XY2EGEYnhORPU3vN6Zxpv1+4a5jl31nhFlLR7jhrWlZGIDIJRWGVceOhT v4yePUEWJyxb+p18cz2L7eBUKtFMhGbbsceHwpdFG39dEaLXHQNlINp94bT/E2dxTDE zlf5mPQKMhKydJMwT+bIEnTkboDGdgeNUApSfyYQ= Received: from localhost (185.220.101.143 [185.220.101.143]) by mx.zohomail.com with SMTPS id 1589931926118187.6919108644007; Tue, 19 May 2020 16:45:26 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 From: ZC via web Date: Wed, 20 May 2020 01:45:19 +0200 Message-ID: <7f41efe13c60.f39fa6cd492ec54@guile.gnu.org> X-ZohoMailClient: External 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: 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=elephly.net header.s=zoho header.b=bn3GL3+X; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 5.29 X-TUID: /a9fC0ShdipB guix-install.sh calls "update-rc.d", which doesn't exist on a Gentoo system. Instead of trying to support all possible init systems, or make assumptions regarding how the init system works, I'd suggest simply dropping support for anything other than upstart and/or systemd. Users of smaller distros using unusual/traditional init systems can add support for guix theirself. The safest and most portable option would likely be to simply point to the init script at the end of the install, and tell the user to copy that file to the proper directory and enable it, copy and modify it to fit their system, or use it as a template for whatever their init system happens to be. It's less user-friendly in the "run it and forget it" sense, but it won't break a user's already working system, or error out in new and fun ways.