From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id CNU0DL3sMGYxdwEAe85BDQ:P1 (envelope-from ) for ; Tue, 30 Apr 2024 15:06:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id CNU0DL3sMGYxdwEAe85BDQ (envelope-from ) for ; Tue, 30 Apr 2024 15:06:05 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=m4x.org header.s=gapps header.b=HtpHRw4z; dmarc=fail reason="SPF not aligned (relaxed)" header.from=m4x.org (policy=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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714482365; a=rsa-sha256; cv=none; b=gEitlGODhfJjVzbjHn3eIr5YD30Sc0Z/qkC/7y5NVEDuwnD6qazxgugPe5XLCYvNJ1KH/a n50JJlpt3bd0z0e/q28q0vD0boj/zZv87YjISYS8yLcm/B3L49YDOyiycR54JllFbtLLkR qAmBN6z4EgRYM4Tf0FnxXEwjtTWFaoeiPKm2alcw2P6lIzM7EGFQZCZq/0xi2UFRkooHMB ecYR6Q2xEYBhfQd32sfqNUdgCZQxxp5QpfFFQJFL/girwYXkDHAEqFlM7BlXx9FeY71bR5 FMQ40CmgmDq1mH5M4aBYn778PXtMONT9cdQl5X+6HChVsLzSHBUH5BZ8wAMEYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=m4x.org header.s=gapps header.b=HtpHRw4z; dmarc=fail reason="SPF not aligned (relaxed)" header.from=m4x.org (policy=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714482365; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=UVl5sFZaR6getmUse9qKiSd0bbswvCjxmiVRVZCCOLY=; b=hrf9T4KSSImvY5RdNSzslmw2dN1IYvgxp8ArAKPFIN7gRtVd09QnEeZzRF0t4GEJc3gA7/ t4i5pUb5x1XanZ3/FciZMEcMgzZjgv2vCHNJdGeYvR8ZhLLbYUV+WpZ9AiEa31kPM49ThA D8MXetf+nDFG/zuuPQiQoHmdw5CdQVZb1zsBGWLD5DWu2RqdchWRgSxva5e4XKOLwnAqex 9suhotQHSOadAPPuTHaUOOBgUY1XabJMIVylLOXakfJE0rBbIhEkBD5k1JAA8ouACW3CBh ea2gUaiVtKXR/kr8gw5OFZy+GL++c9aJo+KIJAN2BLjaGubL24e3zjSlvqz0lA== 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 ADE4C3248D for ; Tue, 30 Apr 2024 15:06:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1nB7-00026u-7c; Tue, 30 Apr 2024 09:05:49 -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 1s1nB1-00024w-Pv for guix-patches@gnu.org; Tue, 30 Apr 2024 09:05:44 -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 1s1nAz-00089q-Pt for guix-patches@gnu.org; Tue, 30 Apr 2024 09:05:43 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s1nBK-0003Bv-27 for guix-patches@gnu.org; Tue, 30 Apr 2024 09:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70670] [PATCH 1/2] services: dnsmasq: Fix tftp-unique-root option. References: <20240430125738.24600-1-jean-baptiste.note@m4x.org> In-Reply-To: <20240430125738.24600-1-jean-baptiste.note@m4x.org> Resent-From: Jean-Baptiste Note Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 30 Apr 2024 13:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70670 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70670@debbugs.gnu.org Cc: Jean-Baptiste Note Received: via spool by 70670-submit@debbugs.gnu.org id=B70670.171448233212244 (code B ref 70670); Tue, 30 Apr 2024 13:06:02 +0000 Received: (at 70670) by debbugs.gnu.org; 30 Apr 2024 13:05:32 +0000 Received: from localhost ([127.0.0.1]:59470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1nAp-0003BQ-Lz for submit@debbugs.gnu.org; Tue, 30 Apr 2024 09:05:32 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:58735) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1nAk-0003BH-7t for 70670@debbugs.gnu.org; Tue, 30 Apr 2024 09:05:30 -0400 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-41ba1ba5592so27951475e9.1 for <70670@debbugs.gnu.org>; Tue, 30 Apr 2024 06:05:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=m4x.org; s=gapps; t=1714482299; x=1715087099; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=UVl5sFZaR6getmUse9qKiSd0bbswvCjxmiVRVZCCOLY=; b=HtpHRw4zgkVN1GILqAMSUXGH1+Uupq0r15cyhqfsfJ0HbBnxr3YzFIs8SdS1JKZ7yu WOvrq/1bD7FpyCtuJn5de4TopIkdmzDhb79AX2a9cjmJ6+Ky4a/tHxAOzom9ztNjHjAp j0PN/AeYzTE+yyQCFKGduJsQLA+ostCMIX4w0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714482299; x=1715087099; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UVl5sFZaR6getmUse9qKiSd0bbswvCjxmiVRVZCCOLY=; b=iJayYHAt+GkWUJwCB96gBAsJ5zWM4vukgTR8ss6RrzxBwtMZiIb3Gk+pMLKXwr4c0B wPjYxcMaM60GpBuKxVRy75hut7E1BuRdUpgHejYOA4W8m1j+4iBZP2eKrinSjbfcajrP b8ovYp26+1tKvkbMpZWOr4z4auJ7Ec1+WodnNrEJSHqVkvtFdjYDe32sil/6KdBTbJcM ZGdz5N7SyDxlnOAZ7sRndVZtH3J18+UXm4r7RUqg5AAHka6Y2+rEhh3HWJF6OWed8Ukd JbprO8biE7TGTCKtHGupci5dN3m8UIB3vHlVWUhPkKQv7X2jaQmA4Gpf5UNH6HfIE1PJ H2sA== X-Gm-Message-State: AOJu0YyRh67mtd9PGzO6JASN4E4G7oBkFmpNeUNzxTWKF5sfXaqixiBZ CEEg0DMA67STbhU4J89gZvYdNeAiXHQiWysDxWPrHtN8mYNg4kqDXy+UexKrY9R4o9OzbsLFKqf Ka7w8GKgbFnyFcLVhqurqYHbKKrAoqDIkmlxYiVR1Yjlpz9Bf4IyvGd2fplpr9vI6nQ1OZGbwOp p8H2LRqRhsoiesbq8zqsYhxeUXNb6os0X7oBYQsAUBbDsn8pen2tMl52Ljm960XbI= X-Google-Smtp-Source: AGHT+IFQkQ+oyfto5mzc3lGTRUYKiLXhDSLeHlZhEXgqR6wTJcm1HMOBOy2YVI+fBNp+xYHgrcQ+NQ== X-Received: by 2002:a05:600c:4f84:b0:41a:aa6:b59e with SMTP id n4-20020a05600c4f8400b0041a0aa6b59emr12891494wmq.5.1714482299092; Tue, 30 Apr 2024 06:04:59 -0700 (PDT) Received: from guixrules.lan (2a01cb0808d89bcce2cec3fffe74cec8.ipv6.abo.wanadoo.fr. [2a01:cb08:8d8:9bcc:e2ce:c3ff:fe74:cec8]) by smtp.gmail.com with ESMTPSA id g9-20020a05600c310900b0041a9fc2a6b5sm28506639wmo.20.2024.04.30.06.04.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 06:04:58 -0700 (PDT) From: Jean-Baptiste Note Date: Tue, 30 Apr 2024 13:04:31 +0000 Message-ID: <20240430130449.7992-1-jean-baptiste.note@m4x.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: ADE4C3248D X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 4.11 X-Spam-Score: 4.11 X-TUID: 8DlX22quxVOf * gnu/services/dns.scm (dnsmasq-shepherd-service): tftp-unique-root is a string and its length is taken with string-length. --- gnu/services/dns.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/services/dns.scm b/gnu/services/dns.scm index 6608046909..ff169f4e8d 100644 --- a/gnu/services/dns.scm +++ b/gnu/services/dns.scm @@ -874,7 +874,7 @@ (define (dnsmasq-shepherd-service config) '()) #$@(if tftp-unique-root (list - (if (> (length tftp-unique-root) 0) + (if (> (string-length tftp-unique-root) 0) (format #f "--tftp-unique-root=~a" tftp-unique-root) (format #f "--tftp-unique-root"))) '())) -- 2.41.0