|
Bugzilla – Full Text Bug Listing |
| Summary: | service ddclient start failed | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.2 | Reporter: | Mark Van De Vyver <mvdv> |
| Component: | Network | Assignee: | Klaus Singvogel <kssingvo> |
| Status: | RESOLVED DUPLICATE | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | i686 | ||
| OS: | openSUSE 10.2 | ||
| Whiteboard: | |||
| Found By: | Customer | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
Sorry, but this behavior is intended. SUSEs philosophy is it that sysconfig variables can overwrite config files. Use YaST to modify the appropriate sysconfig variable instead. BTW: it's not nice that you removed the useful hint in the config file ddclient.conf above the daemon variable: ###################################################################### # daemon: consider to use /etc/sysconfig/ddclient instead of modifying here daemon=300 # check every 300 seconds Works as intended. Hi Kluas, Thanks for looking at this so promptly. With ddclient installed via Yast2 in openSUSE10.2, I don't remember seeing that line, apologies if I did remove it. Two points: 1) The way ddclient works seems to be that command line settings, such as in the init script, override config file settings. So it seems you have to override in the init script. 2) After installing via yast: `service ddclient start` reports 'failed', although the ddclient seems to be running. That is the only reason I was digging in the init scripts. Once there I noticed the 300 second setting. `ps aux` showed my config file setting was being overridden. HTH? Mark *** This bug has been marked as a duplicate of bug 229460 *** |
Hi, Using opendns.com the init.d script reports failed and status shows unused However, the ddclient seems to be running fine, so it seems to be a problem with the init.d script. The inti.d script has: start) echo -n "Starting ddclient daemon" startproc "$DDCLIENT_BIN" -daemon 300 However this overrides the conf file daemon setting. It seems the start line should be: start) echo -n "Starting ddclient daemon" startproc "$DDCLIENT_BIN" -file "$DDCLIENT_CONFIG" The following occurs with both of the start) settings described above: # service ddclient start Starting ddclient daemon failed The ddclient.conf setting is: daemon=86400 # check every 300 seconds syslog=yes # log update msgs to syslog #mail=root # mail all msgs to root mail-failure=root # mail failed update msgs to root pid=/var/run/ddclient.pid # record PID in file. ssl=yes # use ssl-support. Works with # ssl-library ## ## OpenDNS.com account-configuration ## use=web, web=whatismyip.org server=updates.opendns.com protocol=dyndns2 login=<opendns_user> password=<opendns_password> <opendnsnetworkname>