From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qDf6Fv9V62PFggAAbAwnHQ (envelope-from ) for ; Tue, 14 Feb 2023 10:35:59 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iFoCFv9V62MwCAAAG6o9tA (envelope-from ) for ; Tue, 14 Feb 2023 10:35:59 +0100 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 AF5BC3A9E6 for ; Tue, 14 Feb 2023 10:35:58 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRrib-0000Ur-HG; Tue, 14 Feb 2023 04:35:21 -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 ) id 1pRriS-0000TM-VW for help-guix@gnu.org; Tue, 14 Feb 2023 04:35:14 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRriQ-0002HN-RT for help-guix@gnu.org; Tue, 14 Feb 2023 04:35:12 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 49807320099E; Tue, 14 Feb 2023 04:35:03 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 14 Feb 2023 04:35:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1676367302; x=1676453702; bh=yLTBrATzHl w7AJIUjwiMQcJaq8A7Devw2VUSjQod+q0=; b=WZ8kk7FN2MJHlev+R8kGL3BIRQ 0RUiRTQeDCr5Uvn0jifa/wVonVbIyyLZSi/EyDnEY4lQ1TYlzVqWSP9N6XXFZ1cY p6h5kfYNnolbhwl2ifRzfBYJEV7GAUpW6+o8Jl78/CimFQCQyKHLTihvAYVAOLSt aYkwv1hFPTwBGAP1ZN0yM9HmOJ4RX3CNVKBNlCpAfHu9GTY+rucVHf5E/enRfbVU A8CafElGWbCh0DQcGCKWL2IRo+yUV7Q9KfZ7CC8ZweW1d2Keb/2etxQeLqdjcXGS GRl9u+7RlWohrFvgTXvEqAbQGIqPXWhHM10klpcYHP3P3AWC88OngdiRiu/w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1676367302; x=1676453702; bh=yLTBrATzHlw7AJIUjwiMQcJaq8A7 Devw2VUSjQod+q0=; b=l/W40zlhz967OswXmJkqBRUpJP8lVr0OhSO7UjbuwqVE 00WSdPck8hhwOn9cMAj3uzhzhOT+r+MmLmvFB5p1VPNioG59ij+qjtHK5Evq03Z3 rb92gcSesD0rdnSL0KCR33DeXXhVCMrDpG6kSpAUODSsbqO42OCk7de8Rxq88xWd vt+7Zf9FvtkenNEB562u6fa0nEGfqGHAsJ8MR2x7tv5hMU7pQG/rhtnUOJYtqZc8 5CQ5PcHgHbvZmbBQIlGe//YgQmVSuKuFL0+EX4WUuJ47L28i/BSW9mXbfK1L576p E4Nk497N0Jv6D73BzSHQQzg9HcuOoLyJJbHvlvAdpw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeifedgtdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvvefujgffkfggtgesthdtredttdertdenucfhrhhomheptfgvmhgt ohcuvhgrnhcukdhtucggvggvrhcuoehrvghmtghosehrvghmfihorhhkshdrnhgvtheqne cuggftrfgrthhtvghrnhephfejleelueeiteeftdeljeelveetgeffgfdvjeelffejvedt tefhffduudevvddunecuffhomhgrihhnpehgnhhurdhorhhgnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhgvmhgtohesrhgvmhifohhrkhhs rdhnvght X-ME-Proxy: Feedback-ID: i568842cc:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 14 Feb 2023 04:35:01 -0500 (EST) References: <87k00pi15e.fsf@colimite.fr> <87r0uw4e78.fsf@remworks.net> <87k00ltxgs.fsf@colimite.fr> User-agent: mu4e 1.8.13; emacs 28.2 From: Remco van 't Veer To: Sergiu Ivanov Cc: help-guix@gnu.org Subject: Re: Examples of local-host-entries or hosts-service-type? In-reply-to: <87k00ltxgs.fsf@colimite.fr> Date: Tue, 14 Feb 2023 10:34:57 +0100 Message-ID: <87fsb8si7y.fsf@remworks.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=64.147.123.25; envelope-from=remco@remworks.net; helo=wout2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676367359; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=yLTBrATzHlw7AJIUjwiMQcJaq8A7Devw2VUSjQod+q0=; b=X6cxMBZJL+ODEjww45+KdmSZI8EPEXb4UfaeAZYwgeUBCwhWtK3PGOGJ4CDkZb5EFBDd8z Do20T5tAENhUKcMiKqHyYPCAPaKrRZ6MVOtpuERo2YgCDN5vdjYlAXRzPLKb5eEvdyoYt9 bVZyVWYCdJUGS9hGAraedpLCV/WOae/VlPtQivPUnqcjOMvIxtSp90KJaUGu+NJP+fBue5 eJ9tn2Hup6Uz7pH7A5/bNs/3U0TjectWKSdMkbHStEb5MrU3IT8LBVAy9uK7pyVlLzW9Uu 7TI5SBoNua7Z8xCKyNC0Sn3Jzm1rAcCVqKJ0LWMf6hTkT9iHl7i36CwnEZ68lw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=remworks.net header.s=fm3 header.b=WZ8kk7FN; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="l/W40zlh"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676367359; a=rsa-sha256; cv=none; b=uX7AniIpsqIIU0CWwUV6hNOkaUSstyVW/9aI81iqamlBY7bCMEL+G5ESptUp2bM4ANk9zm zrVhKYYoqQvUBExEoZzZT2Ug0wQnQ5zSfmJsLR5nbcq6f+sgG2hsLP31BEQWpO86cTZ/K8 ULVAp3DUxr0DrTVf/MgjIErtE/fdH9gc/gLho1VGBrd4ckcEoJ0/T7eQV5YFKBB0rBX0kl DaXe49vNqwteNMQ7xGJVlVc26lgqfTGL0olFST7JMB0JlDWZr4bCRoI5hOXqVKnGKnTHP1 ztF5ibpmzIbipkRIScPPsdMqSKG/eM3ekzVMXm4F3hz+hnHoKtfERheUrRSVVg== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=remworks.net header.s=fm3 header.b=WZ8kk7FN; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="l/W40zlh"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -1.02 X-Spam-Score: -1.02 X-Migadu-Queue-Id: AF5BC3A9E6 X-TUID: 4UKFoCh4Uprw Hi Sergiu, 2023/02/13 11:49, Sergiu Ivanov: > Actually, where did you get local-host-entries from? The documentation > page you and Bruno cite doesn't seem to ever mention this function :O > Unless I am looking at some old version of the docs. To be honest, I did not know about local-host-entries before your email and thought it would allow me to cleanup my own (operating-system .. (hosts-file (plain-file .. (string-append ..) mess. So I did some digging in the guix source and found some references in gnu/system.scm. >> Also, I agree the documentation needs some love here. > > I am willing to contribute. What would be the best place to do changes > to the documentation? doc/guix.texi > I would follow this mini-roadmap: > > 1. Add the explanation of local-host-entries to > https://guix.gnu.org/en/manual/devel/en/html_node/Service-Reference.html#index-hosts_002dservice_002dtype > > 2. Say here > https://guix.gnu.org/manual/en/html_node/operating_002dsystem-Reference.html > that hosts-file is deprecated. > > 3. Update the examples here to use hosts-service-type instead of > hosts-file: https://guix.gnu.org/manual/en/guix.html > > What do you think? Sounds like a plan to me. Note: all the above is part of doc/guix.texi, I think. > I've never submitted a patch to Guix docs before, so all suggestions and > hints are welcome :-) Me neither (apart from a typo I found in the Service Reference section during grepping for examples). I don't have a clue about how translations are kept in sync. Maybe just go for it and collect some feedback with a patch. Cheers, Remco