From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +NbnL83K5mNxOgAAbAwnHQ (envelope-from ) for ; Fri, 10 Feb 2023 23:53:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iO70L83K5mOiAwAA9RJhRA (envelope-from ) for ; Fri, 10 Feb 2023 23:53:01 +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 9AF533BC93 for ; Fri, 10 Feb 2023 23:53:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQcG2-0006qR-Nq; Fri, 10 Feb 2023 17:52:42 -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 1pQcG1-0006po-9C for help-guix@gnu.org; Fri, 10 Feb 2023 17:52:41 -0500 Received: from marvid.fr ([163.172.81.107] helo=courriel.marvid.fr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQcFz-0000Xb-CX for help-guix@gnu.org; Fri, 10 Feb 2023 17:52:41 -0500 Received: from localhost (schwifty.marvid.fr [51.159.4.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by sahkopoika (Postfix) with ESMTPSA id 4CBE57E03D66 for ; Fri, 10 Feb 2023 23:52:29 +0100 (CET) User-agent: mu4e 1.8.13; emacs 28.2 From: Sergiu Ivanov To: help-guix Subject: Examples of local-host-entries or hosts-service-type? Date: Fri, 10 Feb 2023 23:40:24 +0100 Message-ID: <87k00pi15e.fsf@colimite.fr> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=163.172.81.107; envelope-from=sivanov@colimite.fr; helo=courriel.marvid.fr X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, FORGED_SPF_HELO=1, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=no 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-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676069581; a=rsa-sha256; cv=none; b=IndNOiy/P8HhZE0nU37Z2FgvUDri2s+VAbSWZQtRx82VF58VK8YkYeCuCDwzrJEPymTkOg EbTPBt2H9NYjlHo/Y+BKw6mSP5v3O6H3ZRalzt4/U7KelzQKQmyOb32a/yGlzv1XdnalER xmjOoY/pGwBYMesZBOWtIDYjKCy9526OuyhfnZ5lPr8iRp4zrkh8IIHV7bL53GBuuJhLt8 mLmbgm1jOZTu/ElFl0Ezoz627LUKdmg9IEsAMRhlZWj2XNhbSn+TqPtOyxkNMtr+UHulRL KEsBoSFC3oPkXe8KoyPp+AaqR0QvNGCKfIxKZdWRSqKmhGIP7Q6k10zTybjgtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676069581; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=vdoMwQlMwWkxnPHGcRg2sCTATEnnnFuS0gGaupAAc2s=; b=cb1+8h2+94VSlGbBQEe4qzwWZzl9O58jZ/pKsryEnasM7QD0Wq9LBnZH+/2SLR+jRcXXfQ n/ToUGBWCC1QQhWdW5qJDn//+KvuHq30XDbBQOXNJS3KRDcDIw4Hnr0zZJ+L1u2/O9BYMf yiWR4P1XkJc2oPL9ohZ91KNrzDPqw/VdaxqTmsmALwN+r85L6rPMGg6MHNc6bipAGzNAp2 bg8r6eClkWMrV+IGHgLQoqsEkYf4PyiGPM4tLgzx+l/Vu+BvlQCP+0aXCRsWU+PvUkoEOd TDOjLXYXx74pT9mszaA1eHYriaoe8Bqn+GRMI3lpVOZ5NQ2RS8nKvL8WhamjtQ== X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -2.41 X-Spam-Score: -2.41 X-Migadu-Queue-Id: 9AF533BC93 Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=none X-TUID: UpRW4Sq76BRK Hello Guix, I am reconfiguring my system right now, and guix system reconfigure /etc/config.scm tells me this: /etc/config.scm:126:27: warning: 'local-host-aliases' is deprecated, use 'local-host-entries' instead /etc/config.scm:126:27: warning: 'local-host-aliases' is deprecated, use 'local-host-entries' instead /etc/config.scm:124:14: warning: the 'hosts-file' field is deprecated, please use 'hosts-service-type' instead For the record, here are the lines guix system reconfigure is complaining about: (hosts-file (plain-file "hosts" (string-append (local-host-aliases host-name) "some.ip.address.1 machine1\n" "some.other.ip.address machine2\n"))) I spent quite some time trying to find some examples of using local-host-entries or hosts-service-type, but I don't seem to find any mention of these. Quite on the contrary, the Guix manual actually seems to advice declarations similar to those which I have in my /etc/config.scm. Could someone point me to an example of how I should update my configuration? - Sergiu