From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wNLpCmqexWE9lQAAgWs5BA (envelope-from ) for ; Fri, 24 Dec 2021 11:18:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uDiQBmqexWFjLwAAB5/wlQ (envelope-from ) for ; Fri, 24 Dec 2021 10:18:18 +0000 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 A8DC351F8 for ; Fri, 24 Dec 2021 11:18:17 +0100 (CET) Received: from localhost ([::1]:43824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0heS-0000yS-Rv for larch@yhetil.org; Fri, 24 Dec 2021 05:18:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0heG-0000xw-TV for bug-guix@gnu.org; Fri, 24 Dec 2021 05:18:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52412) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n0heD-0000ym-Vj for bug-guix@gnu.org; Fri, 24 Dec 2021 05:18:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n0heD-0003mc-Mv for bug-guix@gnu.org; Fri, 24 Dec 2021 05:18:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52770: ddclient service not working, but package works. Resent-From: Florian Hoertlehner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 24 Dec 2021 10:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52770 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 52770@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164034102414471 (code B ref -1); Fri, 24 Dec 2021 10:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Dec 2021 10:17:04 +0000 Received: from localhost ([127.0.0.1]:35725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0hdH-0003lL-TN for submit@debbugs.gnu.org; Fri, 24 Dec 2021 05:17:04 -0500 Received: from lists.gnu.org ([209.51.188.17]:44678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0hdF-0003ks-0t for submit@debbugs.gnu.org; Fri, 24 Dec 2021 05:17:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0hdE-0000Oh-Sa for bug-guix@gnu.org; Fri, 24 Dec 2021 05:17:00 -0500 Received: from [2607:f8b0:4864:20::829] (port=43635 helo=mail-qt1-x829.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n0hdC-0000ZV-OQ for bug-guix@gnu.org; Fri, 24 Dec 2021 05:17:00 -0500 Received: by mail-qt1-x829.google.com with SMTP id q14so7239769qtx.10 for ; Fri, 24 Dec 2021 02:16:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=YqpSVugp8iDn/iEyh+XARx7iXaTh3Y4LaHYVC8l/dKg=; b=m65VZer2os8HXTbqjFXIwvuNRqySZqalAbvaOCE+tzjNB7opPJGVDUfPGJHgBF2aPH RHrJG8NEVRw1ue/mSdgXm2kD//Uxlst7LuGpqAcfj1YUxEKm3Ueox1waQKUCU6mbNbCH UXLs1mkbad681se1d4eUJCrK+ELZe6Q3EGsw5W7HQAQ7XeitEuHur8W/IeOtL8L7AvTz 1i1+STO66ZXP8xu+OHW0N7vDE2q4iVOIqDuRVFUm/spf1Wk15YVKS8lC8deK1C4/miro UVI3pwDvZYWxEub9/WhA4tvn8s7kD4cCSHbDORrRRhZgKuyMBIMlN3G5ICwMSa2iTSwN GG7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=YqpSVugp8iDn/iEyh+XARx7iXaTh3Y4LaHYVC8l/dKg=; b=rQEjIpK4w4pu7U6xLa8yYDb4n7N/QRf8bQWI5pUQkMpGU31xFldyo8yNbWeK46BeQS qpEw7rUG7NfBDHNbMhSD30NCGQuk3UInOmlrUIkJ3WOLEuI07vOqnofCZrAbRq9ZA2/z 87/FbNEKCdTITiKZ2YQaEzxyEG1zdMRdfDzOZKd00/chEZqAYKFBM2y5enQaCc19U6jc 0xjCE0LUbYuG3DhHDNQ3QUsORUKjPf5z+dRzilP1jGt+Gsdc2rR9Kq4OmeZ8T8DNAcVS 697+IMVmonD8JtvIPZvrfqAdXpQ6qY7ZV5IoTagQWHc8GqUpLahbPCEp4y6r8iUcqrCv adMw== X-Gm-Message-State: AOAM533YcByIy1pT6qjEQFDdvvDp6QiybmSryOiEUVF3BqMxZs31WOBF hhA8hhT/aZxjPhEy2uemZvzVn5mqzGtqhlwbcEMs3MFAt9RL4Apm X-Google-Smtp-Source: ABdhPJyee88aUmEbs6zBxLoWrbBoJkg3oXih5lAxXrm2r4tInnzjmBHYL1p2q0+WTNZg9iOwmrIuDyQEZVBWhyBBxbs= X-Received: by 2002:a05:622a:1206:: with SMTP id y6mr4979359qtx.356.1640341017348; Fri, 24 Dec 2021 02:16:57 -0800 (PST) MIME-Version: 1.0 From: Florian Hoertlehner Date: Fri, 24 Dec 2021 11:16:46 +0100 Message-ID: Content-Type: multipart/alternative; boundary="000000000000a64d8605d3e1a753" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::829 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::829; envelope-from=hoertlehner@gmail.com; helo=mail-qt1-x829.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640341097; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=YqpSVugp8iDn/iEyh+XARx7iXaTh3Y4LaHYVC8l/dKg=; b=Uec1eKX6s3YucvNcD/wJ+K84Ct5OyK/rWavjCIdoZ283cAxwemqXi5Dl/T78rl8Sx8prmC aRFOaZERKfol5BPgtMrFMdnUMoEFvBGL+RCnYnYYU+bcaYK2F6grqnQXhIlaNoz/X5vRvH FQ6hohfP/GmVT89LyYIU656j0WH4WWSis+L+d+Gk2RXGbSOdoxpXw4g9BiHVXRjI/bu5i8 jTqevtFhagXUL8g4M5jzDI4S2Bust2kuqS2eQHzqyWDUV6IGKJ79PUzmDVOf8qeyfmAxc1 5ji1uculgWj3x9LU1gAjtMfkrkX3aDReOsqo1RAbZnZBsxULR9zr/4sZalc4kA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640341097; a=rsa-sha256; cv=none; b=s5TX4G0t5a7JBXLBazz0tRtze0si3Gg9Ee28KnzVyJ6CWvdj3UiuwbUABzleN4pCrxMIa6 3etuANPRb8uXNnmXg/iKNntrrAwDhTLuxtSAYp9ZBS4WT+aX0as010MQiylxfrk7dxFM+q ruIpowMCMXIKzyjnLo/TaU7S+N+OVebUQE+j3vB4nlLo8CWiQPLtD8c60a0W34/Pk5G/Uy aJuLXfcJbeN8/ijgxbTO6jHnL/2QS8jDY66UDv670otQ9SwPlVjQDfchF6hhc1c3FKNhdK uU2dlOONORhTf+RG5hN1B4w6S2mGztc19hDzC9V5szl7DQrQXQa6A5Lg4eFbOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=m65VZer2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=m65VZer2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A8DC351F8 X-Spam-Score: -2.66 X-Migadu-Scanner: scn0.migadu.com X-TUID: UAxacSMfakLL --000000000000a64d8605d3e1a753 Content-Type: text/plain; charset="UTF-8" ddclient is working. I checked it with: sudo ddclient -foreground -file /home/florian/repo/myLinux/data/nuc/ddclient.conf The cache file gets updated, sudo cat /var/cache/ddclient/ddclient.cache ## .ddclient-real-3.9.1 ## last updated at Fri Dec 24 11:08:10 2021 (1640340490) atime=0,backupmx=0,custom=0,host=nuc.pinkgorilla.org,ip=85.125.195.170,mtime=1640340334,mx=,script=/nic/update,static=0,status=,warned-min-error-interval=0,warned-min-interval=0,wildcard=0,wtime=30 nuc.pinkgorilla.org I can also run ddclient without sudo, but this then does not update ddclient.cache file. But it does its job. As a service it is not working though. This is my service definition. service-ddclient-nuc is used in the operating system definiton. (define-public service-ddclient-nuc (service ddclient-service-type (ddclient-configuration (secret-file "/home/florian/repo/myLinux/data/nuc/ddclient.conf") ))) in var/log/messages I get this error(I just pasted 3 errors; it repeats every 5 minutes). Dec 24 10:15:34 localhost .ddclient-real[10715]: WARNING: found neither ipv4 nor ipv6 address Dec 24 10:20:34 localhost .ddclient-real[10715]: WARNING: found neither ipv4 nor ipv6 address Dec 24 10:25:34 localhost .ddclient-real[10715]: WARNING: found neither ipv4 nor ipv6 address Perhaps the ddclient service needs to wait until network is available? --000000000000a64d8605d3e1a753 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

ddclient is working.=C2=A0
I= checked it with:
sudo ddclient -foreground -file /home/florian/r= epo/myLinux/data/nuc/ddclient.conf

The cache f= ile gets updated, sudo cat =C2=A0/var/cache/ddclient/ddclient.cache
## .ddclient-real-3.9.1
## last updated at Fri Dec 24 11:08:10 2021 (= 1640340490)
atime=3D0,backupmx=3D0,custom=3D0,host=3Dnuc.pinkgorilla.org,ip=3D85.125.195.170,mtime=3D164= 0340334,mx=3D,script=3D/nic/update,static=3D0,status=3D,warned-min-error-in= terval=3D0,warned-min-interval=3D0,wildcard=3D0,wtime=3D30 nuc.pinkgorilla.org

I can also run ddclient without sudo, but this then does not update ddclie= nt.cache file. But it does its job.

As a service i= t is not working though. This is my service definition.
service-d= dclient-nuc is used in the operating system definiton.
(define-p= ublic service-ddclient-nuc
(service ddclient-service-type
(ddclient-configuration
(secret-file "/home/florian/repo/myLinux/data/nuc/ddcli= ent.conf")
)))


in var/log/messages I get this error(I just pasted 3 errors; it repe= ats every 5 minutes).
Dec 24 10:15:34 localhost .ddclient-real[10= 715]: WARNING: =C2=A0found neither ipv4 nor ipv6 address
D= ec 24 10:20:34 localhost .ddclient-real[10715]: WARNING: =C2=A0found neithe= r ipv4 nor ipv6 address
Dec 24 10:25:34 localhost .ddclient-real[10715]= : WARNING: =C2=A0found neither ipv4 nor ipv6 address

=
Perhaps t= he ddclient service needs to wait until network is available?



--000000000000a64d8605d3e1a753--