Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672338 - net-dns/ddclient-3.9.0-r1 missing dependency on net in /etc/init.d/ddclient
Summary: net-dns/ddclient-3.9.0-r1 missing dependency on net in /etc/init.d/ddclient
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-12-01 15:07 UTC by arcctgx
Modified: 2018-12-09 22:09 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arcctgx 2018-12-01 15:07:19 UTC
I noticed that when my system boots, ddclient is trying to start before network is up, which results in the following error:

Dec  1 15:07:55 myhost ddclient[1610]: WARNING:  cannot connect to checkip.dyndns.com:80 socket: IO::Socket::INET: Bad hostname 'checkip.dyndns.com'
Dec  1 15:07:55 myhost ddclient[1610]: WARNING:  found neither ipv4 nor ipv6 address

I examined /etc/init.d/ddclient, and it does not have "need net" inside depends() anymore. ddclient.initd-r3 used to have that, but ddclient.initd-r5 does not. Adding "need net" to depends() fixes the problem.

In my system ddclient is added to default runlevel, as suggested in https://wiki.gentoo.org/wiki/Ddclient. Should I do something differently, or is this a problem in ddclient.initd-r5?
Comment 1 arcctgx 2018-12-01 15:57:39 UTC
Sorry, technically it's a warning, not an error. My mistake. But it shouldn't be in the syslog anyway.
Comment 2 Matt Turner gentoo-dev 2018-12-01 20:28:06 UTC
*** Bug 672306 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2018-12-02 23:38:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5a1aea329a52da62c39184d19935590b5c38e57

commit c5a1aea329a52da62c39184d19935590b5c38e57
Author:     Conrad Kostecki <conrad@kostecki.com>
AuthorDate: 2018-12-02 18:57:40 +0000
Commit:     Aaron W. Swenson <titanofold@gentoo.org>
CommitDate: 2018-12-02 23:38:01 +0000

    net-dns/ddclient: add need net for init script
    
    Also bumped to EAPI=7.
    
    Closes: https://bugs.gentoo.org/672338
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
    Closes: https://github.com/gentoo/gentoo/pull/10542
    Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>

 net-dns/ddclient/ddclient-3.9.0-r2.ebuild | 65 +++++++++++++++++++++++++++++++
 net-dns/ddclient/files/ddclient.initd-r6  | 22 +++++++++++
 2 files changed, 87 insertions(+)
Comment 4 gary artim 2018-12-09 22:09:13 UTC
just updated to the newest will monitor if I get the message. thanks!