[Bug 381634] New: service ddclient start failed
https://bugzilla.novell.com/show_bug.cgi?id=381634 Summary: service ddclient start failed Product: openSUSE 10.2 Version: Final Platform: i686 OS/Version: openSUSE 10.2 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mvdv@spamcop.net QAContact: qa@suse.de Found By: Customer 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> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=381634 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |kssingvo@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=381634 User kssingvo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=381634#c1 Klaus Singvogel <kssingvo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #1 from Klaus Singvogel <kssingvo@novell.com> 2008-04-21 11:22:07 MST --- 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. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=381634 User mvdv@spamcop.net added comment https://bugzilla.novell.com/show_bug.cgi?id=381634#c2 Mark Van De Vyver <mvdv@spamcop.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | --- Comment #2 from Mark Van De Vyver <mvdv@spamcop.net> 2008-04-21 20:06:05 MST --- 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 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=381634 User kssingvo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=381634#c3 Klaus Singvogel <kssingvo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kssingvo@novell.com Status|REOPENED |RESOLVED Resolution| |DUPLICATE --- Comment #3 from Klaus Singvogel <kssingvo@novell.com> 2008-04-22 02:08:42 MST --- *** This bug has been marked as a duplicate of bug 229460 *** https://bugzilla.novell.com/show_bug.cgi?id=229460 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com