[Bug 730519] New: ddclient caching prevents update after ip change
https://bugzilla.novell.com/show_bug.cgi?id=730519 https://bugzilla.novell.com/show_bug.cgi?id=730519#c0 Summary: ddclient caching prevents update after ip change Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: All OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Yarny@public-files.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 The initial update of a dyndns account works fine, but ddclient refuses to update this account again with a different ip. It seems that the new ip is "masked" by the old ip which is stored in the cache file. Reproducible: Always Steps to Reproduce: This can be done without a dyndns account or an internet connection. Install ddclient and socat. Create some temporary directory and cd into it. Run this script: ################################################################ testport=50000 cat >| response << eof HTTP/1.1 200 OK Cache-Control: no-cache Content-Type: text/plain Server: Microsoft-IIS/7.5 Date: $(date -R) Connection: close good 1.2.3.4 eof cat >| ddclient.conf << eof min-interval=1 protocol=dyndns2 server=127.0.0.1:${testport} login=yarny password=yarny a.b.c eof rm -f ./ddclient.cache socat tcp4-listen:${testport} 'gopen:response!!stdout' & sleep 2 ddclient \ -file ./ddclient.conf \ -cache ./ddclient.cache \ -nosyslog \ -daemon 0 \ -verbose \ -debug \ -ip 1.2.3.4 sleep 2 ddclient \ -file ./ddclient.conf \ -cache ./ddclient.cache \ -nosyslog \ -daemon 0 \ -verbose \ -debug \ -ip 1.2.3.5 ################################################################ Note: When I try to run this script again, socat complains that the port (50000 here) is blocked. If this happens to you also, you can either wait a minute or change the testport variable. Actual Results: SUCCESS: a.b.c: skipped: IP address was already set to 1.2.3.4. Expected Results: ddclient should try to update to 1.2.3.5 (which would fail of course unless one starts socat again). ddclient version: 3.8.0-13.14.1 perl version: 5.12.3-11.16.1 -- 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=730519
https://bugzilla.novell.com/show_bug.cgi?id=730519#c1
Yarny Yarny
https://bugzilla.novell.com/show_bug.cgi?id=730519
https://bugzilla.novell.com/show_bug.cgi?id=730519#c2
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=730519
https://bugzilla.novell.com/show_bug.cgi?id=730519#c3
Yarny Yarny
Long time no response.So closed.Feel free to reopen it.Thanks. Yes, I have to accept that offer. This bug still exists and still wants to be fixed; please consider my Comment #1.
Since this bug also exists in openSUSE 12.1, I'm bumping the version number. -- 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=730519
https://bugzilla.novell.com/show_bug.cgi?id=730519#c4
Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=730519
https://bugzilla.novell.com/show_bug.cgi?id=730519#c5
--- Comment #5 from Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=730519
https://bugzilla.novell.com/show_bug.cgi?id=730519#c6
Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=730519
https://bugzilla.novell.com/show_bug.cgi?id=730519#c7
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=730519
https://bugzilla.novell.com/show_bug.cgi?id=730519#c8
Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=730519
https://bugzilla.novell.com/show_bug.cgi?id=730519#c9
--- Comment #9 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=730519
https://bugzilla.novell.com/show_bug.cgi?id=730519#c10
--- Comment #10 from Dirk Mueller
participants (1)
-
bugzilla_noreply@novell.com