From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id SJyIOCiSv2YgDAEA62LTzQ:P1 (envelope-from ) for ; Fri, 16 Aug 2024 17:53:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id SJyIOCiSv2YgDAEA62LTzQ (envelope-from ) for ; Fri, 16 Aug 2024 19:53:45 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="Seg3X/He"; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20240523 header.b="n OVbTxH"; 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=1723830824; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=vnzkPZ+fKuTcOknIsdaLbMYSyGytZ3zGmAf8/OvPc6U=; b=QM+tqjmGy2/w3xIpkbfZ1yk1UZCrxjTNdU+Wy+Nezo16t33K2KkfoxPrjdDzlXP0ZgLfaV G4c6/rfFQYzQ7rbWIzLhB+MbVA/llVz5Aar0+jI+Spn+FBuDrsd+u41rICtkb/XbCr19JH 5I4hqrVpEcdsQvNYDWWpnGPRoLdLjQdC7TD2jxE+rjrZqQanHTApjYvSKkscBt6pOKtD47 ycGkWDf5l45DA7On3S88SpgDMlS8rrqgYsCOFCPCewfy2ma3v6/ARCYAR/GXXDeitJyOyb 8YDZMeUy9E2ilZUfK5g47yyxpP5QS+8VGtmAlMR2JV7+m1jU4JbMrTO6wIr7NA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="Seg3X/He"; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20240523 header.b="n OVbTxH"; 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-Seal: i=1; s=key1; d=yhetil.org; t=1723830824; a=rsa-sha256; cv=none; b=Zwi8ehsXXiN3px9Gzjxn6/ndgRJmzcDkD3rI40GYqdr3fxp01RfoFu3xPyHB6fiQamP35c pa8XwbJr/8GFPktcPxL2WzJ1RW937Bhd9ULj3rw1yQLUSXONNr9e03an597LUb1C4ty1vB HwM5pgXSJ4kWBntclWklY7gy2oIEnO6n4+qaSgv8mlHe1GZEcdu1wNx9sy3PjfOMAMu44e pAU9kVQ7fe/y4seNkOOCvyeiUupgmtz/vtILK9qccn+3sCRvHedXquzaS/I0IZ5jNcKOya 6NSFJ4MPW/JylZ1JrAY7FA528wq8WfeZ0HIClySYd6u25wF9P6YG4Kre77oE/A== 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 6ED9853C42 for ; Fri, 16 Aug 2024 19:53:44 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sf18h-0007Mp-PX; Fri, 16 Aug 2024 13:53:27 -0400 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 1sf18e-0007Mb-UW for guix-patches@gnu.org; Fri, 16 Aug 2024 13:53:25 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sf18e-0004nl-LJ for guix-patches@gnu.org; Fri, 16 Aug 2024 13:53:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:In-Reply-To:From:To:References:Subject; bh=vnzkPZ+fKuTcOknIsdaLbMYSyGytZ3zGmAf8/OvPc6U=; b=Seg3X/He7Gdhhg4tBsT8/0A2WVsYGwc8/cMWXvf78OlQUx43FDpIKCE66wOkGFyL6ssNie14d7kabtxPkKqMsF3einpDGyKUvwExpXHSlndLtqs27DdmOHtOhLdwKmmHt0IlWjGzoESwiCAGyX97458jRMePzpIcxMM2dRWiI9jbGIEx4pdAtGX1u6BuT51IdLJsP50L/hg16IlEF9GyT+kKeHutv7Jm0Cv8tH/qMFpfw1DEOvkEn3P5YQLVk8rdpuyiSAYL+5q8ggupRU884zCxxdIFEOcIk74nrJV6mVIAlHKLOn9jCXo/O4k/0tm2L6fTgeIuk3UopWC2IkCSdA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sf19G-0002Ok-88 for guix-patches@gnu.org; Fri, 16 Aug 2024 13:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72577] [PATCH v2] services: agate: Change variable names and add system test. References: Resent-From: Christopher Howard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 16 Aug 2024 17:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72577 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Rodion Goritskov Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxim Cournoyer , 72577@debbugs.gnu.org, Matthew Trzcinski , Florian Pelz Received: via spool by 72577-submit@debbugs.gnu.org id=B72577.17238308049168 (code B ref 72577); Fri, 16 Aug 2024 17:54:02 +0000 Received: (at 72577) by debbugs.gnu.org; 16 Aug 2024 17:53:24 +0000 Received: from localhost ([127.0.0.1]:52811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sf18e-0002No-4P for submit@debbugs.gnu.org; Fri, 16 Aug 2024 13:53:24 -0400 Received: from mx.kolabnow.com ([212.103.80.154]:48260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sf18b-0002NX-Ss for 72577@debbugs.gnu.org; Fri, 16 Aug 2024 13:53:22 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id E6A50317EFAB; Fri, 16 Aug 2024 19:52:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:in-reply-to:subject:subject:from:from :received:received:received; s=dkim20240523; t=1723830757; x= 1725645158; bh=vnzkPZ+fKuTcOknIsdaLbMYSyGytZ3zGmAf8/OvPc6U=; b=n OVbTxHgIcqgDdz73TU7Nk2I/Z4HuZkJ/xROrrz/GZ+G25/sywA3e8Y9VeRxknmpK pd7CUdL/b1Kt21e4pwRYxlZtYS+uT0hr015qFhXIYs6EnaQnjPzQn2Rm+wWyAfGV +jb3yoexLPzapgP/R6K6BHrxnvvGgfLfM1C7bJWw7M9xTyu/qBCuYzlz+HQMjyBZ 4B914wc49zcWWP8rGmopRURZRmHo84ADQXMsrpWyL/iS4ufuBuDHTq563VpqYh5c IpEymGiUpc1nQ3CMP4cm1P+Aod5H1iXkOSaEzdyZV6jh7Y24/RGhnvDQxwhmDdZ1 6FdC58oafLJdeidwl6MHg== X-Virus-Scanned: amavis at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out011.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id guQJKMfVloq9; Fri, 16 Aug 2024 19:52:37 +0200 (CEST) Received: from int-mx009.mykolab.com (unknown [10.9.13.9]) by mx.kolabnow.com (Postfix) with ESMTPS id 94B79317EFA9; Fri, 16 Aug 2024 19:52:34 +0200 (CEST) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx009.mykolab.com (Postfix) with ESMTPS id 98BC220C896B; Fri, 16 Aug 2024 19:52:33 +0200 (CEST) From: Christopher Howard In-Reply-To: Rodion Goritskov's message of "Mon, 12 Aug 2024 09:31:14 +0400 (4 days, 12 hours, 14 minutes ago)" Date: Fri, 16 Aug 2024 09:52:29 -0800 Message-ID: <877ccgtkwy.fsf@librehacker.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 X-Migadu-Queue-Id: 6ED9853C42 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -9.01 X-Spam-Score: -9.01 X-TUID: FZne9y8VjE8D Hi, I'm testing these patches in a qemu VM. I thought I should share that, = if I explicitly set the certs field, I get an error: ``` /home/user/config.scm:52:35: error: (agate-configuration (content "/srv/gem= ini") (certs "/srv/gemini-tls") (log-ip? #f)): extraneous field initializer= s (certs) ``` Here is the config file: ``` ;; -*- mode: scheme; -*- ;; This is an operating system configuration template ;; for a "bare bones" setup, with no X11 display server. (use-modules (gnu)) (use-service-modules networking ssh web) (use-package-modules screen ssh) (operating-system (host-name "guix") (timezone "America/Anchorage") (locale "en_US.utf8") ;; Boot in "legacy" BIOS mode, assuming /dev/sdX is the ;; target hard disk, and "my-root" is the label of the target ;; root file system. (bootloader (bootloader-configuration (bootloader grub-bootloader) (targets '("/dev/sda")))) ;; It's fitting to support the equally bare bones =E2=80=98-nographic=E2= =80=99 ;; QEMU option, which also nicely sidesteps forcing QWERTY. (kernel-arguments (list "console=3DttyS0,115200")) (file-systems (cons (file-system (device (file-system-label "my-root")) (mount-point "/") (type "ext4")) %base-file-systems)) ;; This is where user accounts are specified. The "root" ;; account is implicit, and is initially created with the ;; empty password. (users (cons (user-account (name "user") (comment "Generic user") (group "users") ;; Adding the account to the "wheel" group ;; makes it a sudoer. Adding it to "audio" ;; and "video" allows the user to play sound ;; and access the webcam. (supplementary-groups '("wheel" "audio" "video"))) %base-user-accounts)) ;; Globally-installed packages. (packages (cons screen %base-packages)) ;; Add services to the baseline: a DHCP client and an SSH ;; server. You may wish to add an NTP service here. (services (append (list (service dhcp-client-service-type) (service agate-service-type (agate-configuration (content "/srv/gemini") (certs "/srv/gemini-tls") (log-ip? #f))) (service openssh-service-type (openssh-configuration (openssh openssh-sans-x) (port-number 2222)))) %base-services))) ``` --=20 Christopher Howard