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 mIf6K47xvmMnXQAAbAwnHQ (envelope-from ) for ; Wed, 11 Jan 2023 18:27:42 +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 4BsQK47xvmM/CgAAG6o9tA (envelope-from ) for ; Wed, 11 Jan 2023 18:27:42 +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 80E453CCA3 for ; Wed, 11 Jan 2023 18:27:42 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFesS-0005H2-9B; Wed, 11 Jan 2023 12:27:04 -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 1pFesR-0005Fx-50 for guix-patches@gnu.org; Wed, 11 Jan 2023 12:27:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pFesQ-0001AH-PK; Wed, 11 Jan 2023 12:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pFesQ-0003aH-Kq; Wed, 11 Jan 2023 12:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60735] [PATCH 0/2] Implement etc-hosts-service-type Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: ludo@gnu.org, guix-patches@gnu.org Resent-Date: Wed, 11 Jan 2023 17:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60735 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60735@debbugs.gnu.org Cc: Bruno Victal , maxim.cournoyer@gmail.com, ludo@gnu.org X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: ludo@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167345800813751 (code B ref -1); Wed, 11 Jan 2023 17:27:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Jan 2023 17:26:48 +0000 Received: from localhost ([127.0.0.1]:43712 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFesB-0003Zj-Mb for submit@debbugs.gnu.org; Wed, 11 Jan 2023 12:26:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:42046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFes9-0003Zb-M8 for submit@debbugs.gnu.org; Wed, 11 Jan 2023 12:26:46 -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 1pFes4-0004wb-CD for guix-patches@gnu.org; Wed, 11 Jan 2023 12:26:40 -0500 Received: from smtpmciv8.myservices.hosting ([185.26.106.203]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFes2-00010f-FE for guix-patches@gnu.org; Wed, 11 Jan 2023 12:26:40 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.172]) by smtpmciv8.myservices.hosting (Postfix) with ESMTP id A926320E2F; Wed, 11 Jan 2023 18:26:33 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 627E080096; Wed, 11 Jan 2023 18:26:33 +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 zDOu8bxpYRXW; Wed, 11 Jan 2023 18:26:33 +0100 (CET) Received: from guix-nuc.home.arpa (bl9-118-236.dsl.telepac.pt [85.242.118.236]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id D14A480093; Wed, 11 Jan 2023 18:26:32 +0100 (CET) From: Bruno Victal Date: Wed, 11 Jan 2023 17:26:23 +0000 Message-Id: X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 tags: patch Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.106.203; envelope-from=mirai@makinata.eu; helo=smtpmciv8.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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673458062; a=rsa-sha256; cv=none; b=J0eofjNUxWri/N0h5Lxq4qrYfuIn0lZbwzuN7YKBTvYddiDGJJ/c430APl1qcGWmie6ajK m2OkfgH6ChCQWOwZ6bmU/DM1+pn4Kb8AaxmCDblMfOx+MNL32wWSwZ2HU0yvLshHzERP3z vNdooPZ2nsZ+Zbef1zXljnoLbV+yTEJPnSdivo/XNfkucMbpIWqeBl1EQuEHnr6OGCmA02 NUjZsKCUtB9l5zS0ytPeWYko30+XsFkuz4E83b3r8aGPFuobgB9GsuENWQdwUu93ORfYDQ BKryycApgAbYlbRHxNKU5cLoup8Qvi+5N299j4Pb5b6+O9NuxWPhIaHuE6qbhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673458062; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=P5isT2bLAoAx19637/P8gS9dMDCDkgmrqOpes9qco8I=; b=g//TGRcfJt8R9tuwgg8aZ3PHv95IGOq7iV7gC3glDXKZ7kDDX+mbUtQO5Mct21yZ5V4oxT Falhrhft8x6GTWO48G10hoKTlg6Ljbr2mTOuT8ZaDK+tDvFOjksYCOhwMsnr9lg4y7KuGn Bb/w+E2tdcUi+sb7BPnIs+66IY6Do1AvqnIsK2nTtsz25vSvX8KDokDxv2tvsTI6f7sN/u xCdZalmu6lDicZsYb/HLv587OvEJxplS6bu8qwMiXxOSyJBpXYsTaPKfyfyQI0rsgMN4+M +kJdhrd9XalAZduvA/Jt3m/1dAh8Vj13XEHoh+ogYjKn9ze7Kp3PSzvXbb6rJw== X-Migadu-Spam-Score: -0.29 X-Spam-Score: -0.29 X-Migadu-Queue-Id: 80E453CCA3 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-TUID: IDVVX4iaMqpl This patch-set introduces etc-hosts-service-type which allows for /etc/hosts to be extended with service-extensions. As an example of such a service, %facebook-host-aliases was used as a base for the new block-facebook-hosts-service-type. Indirectly solves #59700. Bruno Victal (2): services: Add etc-hosts-service-type. services: Add block-facebook-hosts-service-type. doc/guix.texi | 42 ++++++++++++------------- gnu/services.scm | 18 +++++++++++ gnu/services/networking.scm | 61 ++++++++++++++++++------------------- gnu/system.scm | 55 ++++++++++++++++++++++++--------- 4 files changed, 107 insertions(+), 69 deletions(-) base-commit: c42ae60a84f0e7c30126f726a0057781b81f5074 -- 2.38.1