From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: bug#37318: OpenNTPD generated config is convoluted Date: Tue, 03 Sep 2019 13:33:42 +0900 Message-ID: <87r24yvw0p.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57643) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i64eO-0001VB-26 for bug-guix@gnu.org; Thu, 05 Sep 2019 23:11:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i64eM-0006uR-N6 for bug-guix@gnu.org; Thu, 05 Sep 2019 23:11:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55736) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i64eM-0006uA-Hl for bug-guix@gnu.org; Thu, 05 Sep 2019 23:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i64eM-000646-C6 for bug-guix@gnu.org; Thu, 05 Sep 2019 23:11:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:55906) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i64dr-0001Qp-QB for bug-guix@gnu.org; Thu, 05 Sep 2019 23:10:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i64dn-0005zy-7T for bug-guix@gnu.org; Thu, 05 Sep 2019 23:10:30 -0400 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]:38353) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i64dm-0005so-Be for bug-guix@gnu.org; Thu, 05 Sep 2019 23:10:26 -0400 Received: by mail-pf1-x42e.google.com with SMTP id h195so3332848pfe.5 for ; Thu, 05 Sep 2019 20:10:21 -0700 (PDT) Received: from x200 ([240f:c7:38e9:1:314b:485c:9ba4:72c6]) by smtp.gmail.com with ESMTPSA id 196sm3491118pfz.99.2019.09.05.20.10.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2019 20:10:18 -0700 (PDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 37318@debbugs.gnu.org For the documented following openntpd-service-type definition: --8<---------------cut here---------------start------------->8--- (openntpd-configuration (listen-on '("127.0.0.1" "::1")) (sensor '("udcf0 correction 70000")) (constraint-from '("www.gnu.org")) (constraints-from '("https://www.google.com/")) (allow-large-adjustment? #t))) --8<---------------cut here---------------end--------------->8--- The following configuration file is generated: --8<---------------cut here---------------start------------->8--- listen on 127.0.0.1 listen on ::1 constraints from "https://www.google.com/" constraints from "https://www.google.com/" sensor udcf0 correction 70000 constraints from "https://www.google.com/" server 0.guix.pool.ntp.org server 1.guix.pool.ntp.org server 2.guix.pool.ntp.org server 3.guix.pool.ntp.org constraints from "https://www.google.com/" constraints from "https://www.google.com/" constraint from www.gnu.org --8<---------------cut here---------------end--------------->8--- Notice the repeated "constraints from" directives.