Bug 710673

Summary: ddclient does not start as a service
Product: [Fedora] Fedora Reporter: an0nym
Component: ddclientAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 15CC: ADent123, an0nym, bugzilla-2004, bugzilla-redhat, CoffeeAndKeyboard, jik, jorti, jrowens.fedora, nicolas.mailhot, nojunk311, pcfe, redhat-bugzilla, surkum, thomas
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-15 15:17:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description an0nym 2011-06-04 00:57:48 UTC
Description of problem:
ddclient does not start as a service

Version-Release number of selected component (if applicable):
Version     : 3.8.0
Release     : 4.fc15

How reproducible:
Always (reproduced before and after fresh reinstall).

Steps to Reproduce:
1. yum install ddclient
2. set up /etc/ddclient.conf
3. service ddclient start
  
Actual results:
Hosts are not updated.
No ddclient in ps ax at all. 
[root@localhost ~]# service ddclient status
ddclient.service - LSB: Client to update dynamic DNS host entries
	  Loaded: loaded (/etc/rc.d/init.d/ddclient)
	  Active: active (exited) since Sat, 04 Jun 2011 04:03:59 +0400; 40min ago
	 Process: 1214 ExecStart=/etc/rc.d/init.d/ddclient start (code=exited, status=0/SUCCESS)
	  CGroup: name=systemd:/system/ddclient.service

Expected results:
Hosts are updated. 
ddclient in ps ax like "ddclient - sleeping for 600 seconds". 

Additional info:
chkconfig ddclient on and shutdown -r now does not work. 
direct invocation of ddclient from cmd line works. 
[root@localhost ~]# ddclient
[root@localhost ~]# ps ax | grep ddclient
 4033 pts/3    S      0:00 ddclient - sleeping for 600 seconds
 4039 pts/3    R+     0:00 grep --color=auto ddclient
[root@localhost ~]#

Comment 1 Patrick C. F. Ernzer 2011-06-15 12:40:56 UTC
this is most probably a duplicate of Bug 699889

Comment 2 Joachim Jaeckel 2011-07-06 16:44:50 UTC
I have the same problem.
System does not run NetworkManager.

network starts on reboot.
ddclient does not start on reboot.

ddclient-3.8.0-8.fc15.noarch
Version     : 3.8.0
Release     : 8.fc15

Comment 3 HughieB 2011-08-03 12:53:21 UTC
I have this problem too. Same everything

Comment 4 Juan Orti 2011-09-07 12:56:25 UTC
I have the same problem.

ddclient-3.8.0-4.fc15.noarch

Comment 5 Davide Repetto 2011-11-09 15:22:46 UTC
Here is a definition for a systemd service that you could use instead on the old init file:

[Unit]
Description=ddclient Client to update dynamic DNS host entries
After=syslog.target network.target

[Service]
Type=forking
User=ddclient
EnvironmentFile=/etc/sysconfig/ddclient
ExecStart=/usr/sbin/ddclient

Comment 6 Jonathan Kamens 2012-05-15 15:17:37 UTC
ddclient has been converted to systemd in current release. It still doesn't work, but that's a different issue which should be a separate bug report.

Comment 7 Jonathan Kamens 2012-05-15 15:21:25 UTC
*** Bug 789567 has been marked as a duplicate of this bug. ***