Bug 722202 - DDClient won't start with systemd
Summary: DDClient won't start with systemd
Keywords:
Status: CLOSED DUPLICATE of bug 699889
Alias: None
Product: Fedora
Classification: Fedora
Component: ddclient
Version: 15
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Robert Scheck
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-14 15:42 UTC by Arthur Dent
Modified: 2011-07-18 21:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-18 21:39:56 UTC
Type: ---


Attachments (Terms of Use)

Description Arthur Dent 2011-07-14 15:42:11 UTC
Description of problem:

OK - I admit, I still don't really understand systemd and I may have got this wrong... But today I discovered that my DynDNS account had expired (meaning I now have to fork out for a paid account) because I assumed DDClient was working when in fact it was not.

Checking the systemd status it showed the service as "active (exited)" whatever that means.

# systemctl status ddclient.service
ddclient.service - LSB: Client to update dynamic DNS host entries
	  Loaded: loaded (/etc/rc.d/init.d/ddclient)
	  Active: active (exited) since Sat, 02 Jul 2011 09:48:39 +0100; 1 weeks and 5 days ago
	  CGroup: name=systemd:/system/ddclient.service


Looking at the /etc/init.d/ddclient script I noticed in the "start" stanza the following:

"start() {
	# Check that networking is up.
	[ ! -f /var/lock/subsys/network -a ! -f /var/lock/subsys/NetworkManager ] && exit 0
"

I don't speak fluent bash, but it looks to me as if it's looking for either of those files in /var/lock/subsys.

On my Fedora 15 System I have only /var/lock/subsys/netfs and nfs (beginning with N).

Is my system at fault or does the init.d script need to be updated to reflect systemd control?


Thanks in advance

Mark



Version-Release number of selected component (if applicable):

ddclient-3.8.0-4.fc15.noarch

Comment 1 Arthur Dent 2011-07-18 21:39:56 UTC
Whoops... I'm really sorry. I forgot to check for existing bugs (I have no idea why I forgot to do so on this occasion).

This has clearly been reported in bug 710673 which is itself a duplicate of Bug 699889.

Moreover, a native systemd unit file is being worked on in bug 718756.

Sorry for the noise.

*** This bug has been marked as a duplicate of bug 699889 ***


Note You need to log in before you can comment on or make changes to this bug.