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 QBz1FiDNRl9DCAAA0tVLHw (envelope-from ) for ; Wed, 26 Aug 2020 20:59:12 +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 yNVeEiDNRl/9RAAAB5/wlQ (envelope-from ) for ; Wed, 26 Aug 2020 20:59:12 +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 824BB9402CC for ; Wed, 26 Aug 2020 20:59:11 +0000 (UTC) Received: from localhost ([::1]:49110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kB2Vh-00065A-4h for larch@yhetil.org; Wed, 26 Aug 2020 16:59:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kB2Va-000654-SV for bug-guix@gnu.org; Wed, 26 Aug 2020 16:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57648) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kB2Va-0000uK-HO for bug-guix@gnu.org; Wed, 26 Aug 2020 16:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kB2Va-0001ao-Er for bug-guix@gnu.org; Wed, 26 Aug 2020 16:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42964: Potential FSDG issue with debootstrap scripts Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 26 Aug 2020 20:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42964 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Denis 'GNUtoo' Carikli , 42964@debbugs.gnu.org Received: via spool by 42964-submit@debbugs.gnu.org id=B42964.15984754856057 (code B ref 42964); Wed, 26 Aug 2020 20:59:02 +0000 Received: (at 42964) by debbugs.gnu.org; 26 Aug 2020 20:58:05 +0000 Received: from localhost ([127.0.0.1]:40961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kB2Ue-0001Zd-Re for submit@debbugs.gnu.org; Wed, 26 Aug 2020 16:58:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kB2Ub-0001Z7-Fb for 42964@debbugs.gnu.org; Wed, 26 Aug 2020 16:58:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40911) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kB2UV-0000oq-Nu; Wed, 26 Aug 2020 16:57:55 -0400 Received: from ti0006q161-3115.bb.online.no ([88.95.106.80]:48136 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kB2UU-0005qU-RP; Wed, 26 Aug 2020 16:57:55 -0400 From: Marius Bakke In-Reply-To: <20200821064527.5cf8d23b@primarylaptop.localdomain> References: <20200821064527.5cf8d23b@primarylaptop.localdomain> Date: Wed, 26 Aug 2020 22:56:15 +0200 Message-ID: <87o8mx6s9c.fsf@gnu.org> 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: 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=none; 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: -3.11 X-TUID: eRvzek1pPtTM --=-=-= Content-Type: text/plain Denis 'GNUtoo' Carikli writes: > Hi, > > I found a potential issue with the debootstrap package and the Guix > blog. Thanks for bringing this to our attention! > The Free System Distribution Guidelines states that: >> A free system distribution must not steer users towards obtaining any >> nonfree information for practical use, or encourage them to do so. >> The system should have no repositories for nonfree software and no >> specific recipes for installation of particular nonfree programs. Nor >> should the distribution refer to third-party repositories that are >> not committed to only including free software; even if they only have >> free software today, that may not be true tomorrow. Programs in the >> system should not suggest installing nonfree plugins, documentation, >> and so on. > > However after instalation, the debootstrap package contains scripts for > installing many distributions, and most of them are either not FSDG > compliant or have nonfree software in them. > > I assume that the Ubuntu repositories are "third-party repositories that > are not committed to only including free software", and they are used > in the debootstrap scripts to install Ubuntu. Does Ubuntu carry non-free software in the default repos? If so I agree that is a problem. > After installation I got the following scripts in > ~/.guix_profile/share/debootstrap/scripts/: [...] > The scripts are named after distribution codenames. So here you can see > some ubuntu code names like trusty, xenial, etc (ubuntu contains nonfree > software), or some debian code names like stretch. Here you assert that Ubuntu contains non-free software, but previously you only assumed so. Did you figure it out along the way? :-) > Not all scripts are problematic, as amber is the codename of the > main PureOS repository[2]. Why is PureOS not problematic? They have a "non-free" repository component too: https://deb.puri.sm/pureos/pool/non-free/ > To fix that, Parabola patches debootstrap to remove the problematic > scripts[3] and also adds support for many FSDG distributions along the > way. It also has a modified manual[4] with examples for Trisquel > instead of Debian. > > Something similar could probably be done in debian.scm[5]. Thanks for the information. I actually wanted to use Trisquel for the Ganeti documentation, and was surprised that it was not supported by debootstrap. Do you know where to find the Parabola patches? Any chance they will upstream the work? > In addition the Guix blog post about "Running a Ganeti cluster on > Guix"[6] should probably be reviewed as it contains code to install > Debian buster. > > As I understand, Debian may not contain nonfree software but it is not > FSDG compliant, so it could be a good idea to use an FSDG compliant > distributions instead to avoid any issues. In addition if the buster > script is removed, then the code on the blog post won't work anymore. AIUI the FSDG does not require that linked package repositories are committed to the FSDG, only that they are committed to providing only free software, which Debian is. What issues do you have in mind? Note that the Guix manual section on Ganeti also contains references to Debian and Ubuntu; I agree it would be nice to refer to FSDG-friendly distributions there instead (but first we need support in debootstrap). I have slight reservations against changing the blog post without a good reason: it is fairly disconnected from the Guix software distribution and has already "made the rounds". Someone bookmarking it for later reference might get annoyed that the code is no longer there. But if there is consensus among Guix users or a breach of the FSDG I am of course happy to update it. Thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl9GzG8ACgkQoqBt8qM6 VPrWsQgAwmGSlt/xlOFS+MWpsrGRL1Wf/ulYw8iQEFMhwNLe1rO0+khrmu2ohGyX j9CGD3rD7An1K08fl1mhR+KauNbeyUnsLMthaKblIrVj/J8rm/3FqqRXHjKkJnOH NcQy0RjUOP4MLWPG/VsM1A+IJsxUqvNYj7crImwis3g07LAEaH3l0V58fOu+jMbu S2vInhkwOTXfph+Bt7Y5XEgi9jqcEqCQg9H1RB4Q9WnExSpcEktvy6ykM4j4dq2B kK7oFewi20MbgSqGTf/QD5axny5ILmMHOmzvZtWWxypt0KG2pMaEyijZOFBzuXPp +RBQH0G69HjiijquLbl1u9A76J12qg== =jmBl -----END PGP SIGNATURE----- --=-=-=--