unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Florian Hoertlehner <hoertlehner@gmail.com>
To: 52770@debbugs.gnu.org
Subject: bug#52770: ddclient service not working, but package works.
Date: Fri, 24 Dec 2021 11:16:46 +0100	[thread overview]
Message-ID: <CADXXfWmRy3FXv47Ud9M3RfAH-LggnJaPgWiWcM1Eh6Hc8edxfA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1352 bytes --]

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?

[-- Attachment #2: Type: text/html, Size: 2565 bytes --]

             reply	other threads:[~2021-12-24 10:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-24 10:16 Florian Hoertlehner [this message]
2023-08-16 22:54 ` bug#52770: ddclient service not working, but package works Oleg Pykhalov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADXXfWmRy3FXv47Ud9M3RfAH-LggnJaPgWiWcM1Eh6Hc8edxfA@mail.gmail.com \
    --to=hoertlehner@gmail.com \
    --cc=52770@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).