GNU bug report logs - #59700
[DOCUMENTATION] [PATCH] doc: Move %facebook-host-aliases to operating-system.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Bruno Victal <mirai@HIDDEN>; Keywords: patch moreinfo; dated Tue, 29 Nov 2022 21:46:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 3 Jan 2023 22:07:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 03 17:07:31 2023
Received: from localhost ([127.0.0.1]:46920 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pCpRS-00054e-Kv
	for submit <at> debbugs.gnu.org; Tue, 03 Jan 2023 17:07:30 -0500
Received: from lists.gnu.org ([209.51.188.17]:33914)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ryan@HIDDEN>) id 1pCpRQ-00054V-1H
 for submit <at> debbugs.gnu.org; Tue, 03 Jan 2023 17:07:28 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ryan@HIDDEN>) id 1pCpRP-0002ap-Ic
 for guix-patches@HIDDEN; Tue, 03 Jan 2023 17:07:27 -0500
Received: from mail.arctype.co ([138.68.9.245])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <ryan@HIDDEN>) id 1pCpRN-00050J-AO
 for guix-patches@HIDDEN; Tue, 03 Jan 2023 17:07:27 -0500
Received: from authenticated-user (mail.arctype.co [138.68.9.245])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))
 (No client certificate requested)
 by mail.arctype.co (Postfix) with ESMTPSA id ABB6F13B135
 for <guix-patches@HIDDEN>; Tue,  3 Jan 2023 22:07:20 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=arctype.co; s=mail;
 t=1672783640; bh=ZalrdRXII9UUqwQ5YbLIimSQZSKjzG/Dx7eLwJJd5aA=;
 h=Date:Subject:To:References:From:In-Reply-To:From;
 b=FFQz34e38/geY6lOZ3e2/Xuar1PBPqyFf6a24gvTOGRrHRIWdSQY9Qr45I3kSjyHN
 dL+2sN+F6u6WMEsMSkq+Bn03yCE2u8FqxLQix86G4EXh2pszFU4wwg6S6muAaJ6Zis
 qunKHB171HbmBgBP3QYZQrtMiSOcvCwLrVuAhFge8YDspWE1t0fAqZDeuuLrDNWuK0
 /EgPoeTJHVypS+bHHn5Jw0GyRhYwRmesQo15la2hUZEOmAK4IphFK18Bj3K8arWde5
 r6nW0nc6UgvXvJcPK3cxz5AsuauGS5lJaLYcjyj3nSCnpwRElMqbEuGxXluKNoLXb4
 p4Eht8KBzs65w==
Message-ID: <45e36fcb-797c-3a73-02de-acec265d44bb@HIDDEN>
Date: Tue, 3 Jan 2023 14:07:19 -0800
MIME-Version: 1.0
Subject: Re: [bug#59700] [DOCUMENTATION] [PATCH] doc: Move
 %facebook-host-aliases to operating-system.
Content-Language: en-US
To: guix-patches@HIDDEN
References: <cover.1669758136.git.mirai@HIDDEN>
 <ee0a6f0e347daa6dd0946df37af2b2b536ec08be.1669758136.git.mirai@HIDDEN>
 <87tu17z3a2.fsf_-_@HIDDEN>
From: Ryan Sundberg <ryan@HIDDEN>
In-Reply-To: <87tu17z3a2.fsf_-_@HIDDEN>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="------------GE2rQFRnOqjOmHwjUFx0INMM"
Received-SPF: pass client-ip=138.68.9.245; envelope-from=ryan@HIDDEN;
 helo=mail.arctype.co
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------GE2rQFRnOqjOmHwjUFx0INMM
Content-Type: multipart/mixed; boundary="------------qAkjPG1Q13wXQVwXasWj00xD";
 protected-headers="v1"
From: Ryan Sundberg <ryan@HIDDEN>
To: guix-patches@HIDDEN
Message-ID: <45e36fcb-797c-3a73-02de-acec265d44bb@HIDDEN>
Subject: Re: [bug#59700] [DOCUMENTATION] [PATCH] doc: Move
 %facebook-host-aliases to operating-system.
References: <cover.1669758136.git.mirai@HIDDEN>
 <ee0a6f0e347daa6dd0946df37af2b2b536ec08be.1669758136.git.mirai@HIDDEN>
 <87tu17z3a2.fsf_-_@HIDDEN>
In-Reply-To: <87tu17z3a2.fsf_-_@HIDDEN>

--------------qAkjPG1Q13wXQVwXasWj00xD
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi Maxim, Bruno,

In my opinion, this entire Facebook blocklist is out of scope of the
core operating system, and it should be removed entirely to reduce the
maintenance burden, and any other future attempt to add other hosts to
it. I am not sure how many users out there are relying on this behavior.

--
Sincerely,
Ryan Sundberg

On 1/3/23 2:01 PM, Maxim Cournoyer wrote:
> Hi Bruno,
>=20
> mirai@HIDDEN writes:
>=20
> Putting a facebook related stanzas
>=20
>> From: Bruno Victal <mirai@HIDDEN>
>>
>> ---
>>  doc/guix.texi | 58 +++++++++++++++++++++++++-------------------------=
-
>>  1 file changed, 29 insertions(+), 29 deletions(-)
>=20
> Please include a GNU Changelog commit message, it makes it easy to
> comprehend the changes (see: info "(standards) Style of Change Logs"
> from the 'standards' package).
>=20
> Moving %facebook-hosts-aliases to under the 'operating-system Reference=
'
> from network services doesn't seem an improvement to me (it seems even
> more out of place to me).
>=20
> I'd err on the side of the status quo.
>=20
> What do you think?
>=20
> Maxim

--------------qAkjPG1Q13wXQVwXasWj00xD--

--------------GE2rQFRnOqjOmHwjUFx0INMM
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsB5BAABCAAjFiEEyVG5Gm1pvFAzyXC2aiMi+MCr96sFAmO0pxcFAwAAAAAACgkQaiMi+MCr96vM
KQgAmIP043UcEIAMLIIVEpi6EjsPxmNKz0a7SzdnFkbmO7FEJ64+TrIIARbmjdnOAcia/HdGaoNq
JrDYgSIjwBmMYHSAKOLOkMu/TrlTvrglkyyZ3AfUbIRABFQ+t+CInwPDTzzb726pIKJzoD1e+e3N
TpdpGIPefID1cABpPXoLqx/vCn0FYA2A+8nRD21W5haiP8hEJQlCf9i8aGcDG0V3ezNJArJ13NWV
UyQ8AaEoHHyYI4d6pBVBNuhKcw8pqRCtkoxEOztOqTmH+3Q3F6ZdFumBT1BMsCP2gX6i6M70Pphd
fmJJKcx8SbNySPpJSuMzr3D6vH8eAI2XGIpCjDm+UA==
=wvUh
-----END PGP SIGNATURE-----

--------------GE2rQFRnOqjOmHwjUFx0INMM--




Information forwarded to guix-patches@HIDDEN:
bug#59700; Package guix-patches. Full text available.
Added tag(s) moreinfo. Request was from Maxim Cournoyer <maxim.cournoyer@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 59700 <at> debbugs.gnu.org:


Received: (at 59700) by debbugs.gnu.org; 3 Jan 2023 22:01:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 03 17:01:21 2023
Received: from localhost ([127.0.0.1]:46900 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pCpLV-0004v1-HE
	for submit <at> debbugs.gnu.org; Tue, 03 Jan 2023 17:01:21 -0500
Received: from mail-qt1-f179.google.com ([209.85.160.179]:44739)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1pCpLQ-0004ui-CS
 for 59700 <at> debbugs.gnu.org; Tue, 03 Jan 2023 17:01:20 -0500
Received: by mail-qt1-f179.google.com with SMTP id c11so25656634qtn.11
 for <59700 <at> debbugs.gnu.org>; Tue, 03 Jan 2023 14:01:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:user-agent:message-id:in-reply-to:date:references
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=9ZcTz+5Y6jQWA3x5+0z7BCr9WTTvpMyoGUo4h/DVsXI=;
 b=O5StgR9HQi3YFu95ZBbLg3G2aAZBw152K4tQ2W/ki0Oty89/0WV7OzM4UntGso0Sy6
 E5UPg0+rfFXZvu1s6ec/YcxBlnUhNbryXqZuWXPdPnFn0qjSHHCCEzWW8mBGikEnZT53
 lWD70VUPgIoGvY+1nScCQalcmfi5VqllpRTvTBaPjtf4lEcNtJIcdg8eFpPio2JnlNnf
 fsoC5xOC3T6+NcS+j7z9IvCWmoWOhiXpqL6ptx2PfLVgPoYJ3Nwz0YXVsqMi/Feuo9Nc
 Qbw+vEwyVVL/ybasGv6qGceN7bfD7Mh2iSYvjUAIiqsaKfMy/kaK04G7woTqgYENDJa7
 chrg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:message-id:in-reply-to:date:references
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=9ZcTz+5Y6jQWA3x5+0z7BCr9WTTvpMyoGUo4h/DVsXI=;
 b=OSKAXP4gOH6GpyTInvXsq+r5PtR1GLVp3AeYjh7CNCx7CLynhwwDs08RKtbhY4cj/5
 4eMwL+Ed0uHMTclR9V2dLz7RxAXWytmF8yHlelX57JF/OUMzY2uhzMoxYk6GkAJx7AK8
 nMUuu9PS7DO477XehTWTuI8XzbW8tMTf0Exyai8muoNfstvgHKfgxUI0oVusQgXJRtZ6
 ZcbO0iZRgA9pKSlMBRNgYmFEnxb1q3OeKSd9x+UbMlWgLJFY+UGvH4bVVBEBVIUrojtm
 ud0Cv2tYsSWqC4yBOPs3c9QAsekBt3Ddrj/KdsbGANhYFaWTwELlHRwsX10NGNngVRsp
 6wpA==
X-Gm-Message-State: AFqh2kpFhOxWISqhMJCjBeskIgk5ySZFoXa8J8XP0bpaw3yoYE0pgsPG
 ntOLu9ko0hg8Ua6DCtVsiXpF3iUGeMuGbQ==
X-Google-Smtp-Source: AMrXdXve1k6PdHOVTP+XGpwRaHuz49gnFJ0ShRFz3ZWONjiaqc1X69GX1KzFCVqMX5EwV7nvWU8qDQ==
X-Received: by 2002:ac8:47c4:0:b0:3a9:8b1a:fe23 with SMTP id
 d4-20020ac847c4000000b003a98b1afe23mr59836522qtr.31.1672783270595; 
 Tue, 03 Jan 2023 14:01:10 -0800 (PST)
Received: from hurd (dsl-10-135-221.b2b2c.ca. [72.10.135.221])
 by smtp.gmail.com with ESMTPSA id
 i10-20020ac813ca000000b003a6847d6386sm19039021qtj.68.2023.01.03.14.01.09
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 03 Jan 2023 14:01:10 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: mirai@HIDDEN
Subject: Re: bug#59700: [DOCUMENTATION] [PATCH] doc: Move
 %facebook-host-aliases to operating-system.
References: <cover.1669758136.git.mirai@HIDDEN>
 <ee0a6f0e347daa6dd0946df37af2b2b536ec08be.1669758136.git.mirai@HIDDEN>
Date: Tue, 03 Jan 2023 17:01:09 -0500
In-Reply-To: <ee0a6f0e347daa6dd0946df37af2b2b536ec08be.1669758136.git.mirai@HIDDEN>
 (mirai@HIDDEN's message of "Tue, 29 Nov 2022 21:47:13 +0000")
Message-ID: <87tu17z3a2.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 59700
Cc: 59700 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Bruno,

mirai@HIDDEN writes:

Putting a facebook related stanzas

> From: Bruno Victal <mirai@HIDDEN>
>
> ---
>  doc/guix.texi | 58 +++++++++++++++++++++++++--------------------------
>  1 file changed, 29 insertions(+), 29 deletions(-)

Please include a GNU Changelog commit message, it makes it easy to
comprehend the changes (see: info "(standards) Style of Change Logs"
from the 'standards' package).

Moving %facebook-hosts-aliases to under the 'operating-system Reference'
from network services doesn't seem an improvement to me (it seems even
more out of place to me).

I'd err on the side of the status quo.

What do you think?

Maxim




Information forwarded to guix-patches@HIDDEN:
bug#59700; Package guix-patches. Full text available.
Changed bug title to '[DOCUMENTATION] [PATCH] doc: Move %facebook-host-aliases to operating-system.' from '[PATCH 0/1] doc: Move %facebook-host-aliases to operating-system.' Request was from mirai <mirai@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 59700 <at> debbugs.gnu.org:


Received: (at 59700) by debbugs.gnu.org; 29 Nov 2022 21:47:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 29 16:47:21 2022
Received: from localhost ([127.0.0.1]:56617 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1p08Rl-0001Eg-5F
	for submit <at> debbugs.gnu.org; Tue, 29 Nov 2022 16:47:21 -0500
Received: from smtpm1.myservices.hosting ([185.26.105.232]:35494)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mirai@HIDDEN>) id 1p08Rj-0001Ea-2y
 for 59700 <at> debbugs.gnu.org; Tue, 29 Nov 2022 16:47:19 -0500
Received: from mail1.netim.hosting (unknown [185.26.106.172])
 by smtpm1.myservices.hosting (Postfix) with ESMTP id 51659202A7
 for <59700 <at> debbugs.gnu.org>; Tue, 29 Nov 2022 22:47:18 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
 by mail1.netim.hosting (Postfix) with ESMTP id 01AB180097;
 Tue, 29 Nov 2022 22:47:18 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting
Received: from mail1.netim.hosting ([127.0.0.1])
 by localhost (mail1-1.netim.hosting [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id B274oi_WcSQl; Tue, 29 Nov 2022 22:47:17 +0100 (CET)
Received: from guix-nuc.home.arpa (bl12-93-156.dsl.telepac.pt [85.245.93.156])
 (Authenticated sender: lumen@HIDDEN)
 by mail1.netim.hosting (Postfix) with ESMTPSA id 8BAA880093;
 Tue, 29 Nov 2022 22:47:17 +0100 (CET)
From: mirai@HIDDEN
To: 59700 <at> debbugs.gnu.org
Subject: [PATCH 1/1] doc: Move %facebook-host-aliases to operating-system.
Date: Tue, 29 Nov 2022 21:47:13 +0000
Message-Id: <ee0a6f0e347daa6dd0946df37af2b2b536ec08be.1669758136.git.mirai@HIDDEN>
X-Mailer: git-send-email 2.38.1
In-Reply-To: <cover.1669758136.git.mirai@HIDDEN>
References: <cover.1669758136.git.mirai@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 59700
Cc: Bruno Victal <mirai@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

From: Bruno Victal <mirai@HIDDEN>

---
 doc/guix.texi | 58 +++++++++++++++++++++++++--------------------------
 1 file changed, 29 insertions(+), 29 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 47b805dc7f..3636c45b29 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -16530,6 +16530,35 @@ It is an error to refer to @code{this-operating-system} outside an operating
 system definition.
 @end deffn
 
+@defvr {Scheme Variable} %facebook-host-aliases
+This variable contains a string for use in @file{/etc/hosts}
+(@pxref{Host Names,,, libc, The GNU C Library Reference Manual}).  Each
+line contains a entry that maps a known server name of the Facebook
+on-line service---e.g., @code{www.facebook.com}---to the local
+host---@code{127.0.0.1} or its IPv6 equivalent, @code{::1}.
+
+This variable is typically used in the @code{hosts-file} field of an
+@code{operating-system} declaration (@pxref{operating-system Reference,
+@file{/etc/hosts}}):
+
+@lisp
+(use-modules (gnu) (guix))
+
+(operating-system
+  (host-name "mymachine")
+  ;; ...
+  (hosts-file
+    ;; Create a /etc/hosts file with aliases for "localhost"
+    ;; and "mymachine", as well as for Facebook servers.
+    (plain-file "hosts"
+                (string-append (local-host-aliases host-name)
+                               %facebook-host-aliases))))
+@end lisp
+
+This mechanism can prevent programs running locally, such as Web
+browsers, from accessing Facebook.
+@end defvr
+
 @end deftp
 
 @node File Systems
@@ -20841,35 +20870,6 @@ Logging level.
 @end table
 @end deftp
 
-@defvr {Scheme Variable} %facebook-host-aliases
-This variable contains a string for use in @file{/etc/hosts}
-(@pxref{Host Names,,, libc, The GNU C Library Reference Manual}).  Each
-line contains a entry that maps a known server name of the Facebook
-on-line service---e.g., @code{www.facebook.com}---to the local
-host---@code{127.0.0.1} or its IPv6 equivalent, @code{::1}.
-
-This variable is typically used in the @code{hosts-file} field of an
-@code{operating-system} declaration (@pxref{operating-system Reference,
-@file{/etc/hosts}}):
-
-@lisp
-(use-modules (gnu) (guix))
-
-(operating-system
-  (host-name "mymachine")
-  ;; ...
-  (hosts-file
-    ;; Create a /etc/hosts file with aliases for "localhost"
-    ;; and "mymachine", as well as for Facebook servers.
-    (plain-file "hosts"
-                (string-append (local-host-aliases host-name)
-                               %facebook-host-aliases))))
-@end lisp
-
-This mechanism can prevent programs running locally, such as Web
-browsers, from accessing Facebook.
-@end defvr
-
 The @code{(gnu services avahi)} provides the following definition.
 
 @defvr {Scheme Variable} avahi-service-type
-- 
2.38.1





Information forwarded to guix-patches@HIDDEN:
bug#59700; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 29 Nov 2022 21:45:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 29 16:45:15 2022
Received: from localhost ([127.0.0.1]:56600 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1p08Pj-0001Cs-3z
	for submit <at> debbugs.gnu.org; Tue, 29 Nov 2022 16:45:15 -0500
Received: from lists.gnu.org ([209.51.188.17]:44092)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mirai@HIDDEN>) id 1p08Pg-0001Ck-Jb
 for submit <at> debbugs.gnu.org; Tue, 29 Nov 2022 16:45:14 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mirai@HIDDEN>) id 1p08Pg-0006hV-DT
 for guix-patches@HIDDEN; Tue, 29 Nov 2022 16:45:12 -0500
Received: from smtpm3.myservices.hosting ([185.26.105.234])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mirai@HIDDEN>) id 1p08Pe-0004Ne-Ip
 for guix-patches@HIDDEN; Tue, 29 Nov 2022 16:45:12 -0500
Received: from mail1.netim.hosting (unknown [185.26.106.172])
 by smtpm3.myservices.hosting (Postfix) with ESMTP id AB39B20D01
 for <guix-patches@HIDDEN>; Tue, 29 Nov 2022 22:45:07 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
 by mail1.netim.hosting (Postfix) with ESMTP id 579A880097;
 Tue, 29 Nov 2022 22:45:07 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting
Received: from mail1.netim.hosting ([127.0.0.1])
 by localhost (mail1-1.netim.hosting [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id Tb8XYKaEAziw; Tue, 29 Nov 2022 22:45:07 +0100 (CET)
Received: from guix-nuc.home.arpa (bl12-93-156.dsl.telepac.pt [85.245.93.156])
 (Authenticated sender: lumen@HIDDEN)
 by mail1.netim.hosting (Postfix) with ESMTPSA id C6A2580093;
 Tue, 29 Nov 2022 22:45:06 +0100 (CET)
From: Bruno Victal <mirai@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH 0/1] doc: Move %facebook-host-aliases to operating-system.
Date: Tue, 29 Nov 2022 21:44:53 +0000
Message-Id: <cover.1669758136.git.mirai@HIDDEN>
X-Mailer: git-send-email 2.38.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=185.26.105.234; envelope-from=mirai@HIDDEN;
 helo=smtpm3.myservices.hosting
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -0.3 (/)
X-Debbugs-Envelope-To: submit
Cc: Bruno Victal <mirai@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Looks misplaced among the various service definitions.

Bruno Victal (1):
  doc: Move %facebook-host-aliases to operating-system.

 doc/guix.texi | 58 +++++++++++++++++++++++++--------------------------
 1 file changed, 29 insertions(+), 29 deletions(-)


base-commit: aaf1f18b8044142515ff868bcbd2b72b81ced3ec
-- 
2.38.1





Acknowledgement sent to Bruno Victal <mirai@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#59700; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 3 Jan 2023 22:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.