Re: [gentoo-user] replacement for ddclient?

2023-06-04 Thread Jack
I may have an explanation.  How did you run ddclient when you got that 
error?  I think its check for ownership is very specific, and if you 
just run ddclient from command line as either yourself or root, you are 
not the owner (ddclient) of the file.  When run as a service (rc-service 
ddclient start, in my case) the process is owned by ddclient, so the 
ownership matches.  Also - that is just a warning, not an error, so it 
should work anyway.


Jack

On 6/4/23 10:42, Grant Edwards wrote:

Can anybody recommend a replacement for ddclient as a dynamic IP
service updater? I've been trying to use it for decades, and there
have been periods when it works as it's supposed to. But, usually it
doesn't, and I'm sick of fighting with it.

At the moment, it _always_ tries to do an update for reasons I can't
figure out. It has also started says that the last update attempt
failed even though it worked fine.

I've tried deleting the cache file so many times I've lost count, but
that never helps.

It has also started warning about the file mode for /etc/ddclient.conf
even though it's set exactly the way the warning says to set it:

 # ls -l /etc/ddclient.conf
 -r 1 ddclient ddclient 509 Jun  3 08:36 /etc/ddclient.conf
 # ddclient
 WARNING:  file /etc/ddclient.conf: file /etc/ddclient.conf should be owned 
only by ddclient or not be writable.
 WARNING:  file /etc/ddclient.conf: file /etc/ddclient.conf should be owned 
only by ddclient or not be writable.
 CONNECT:  checkip.dynu.com (IPv4)
 CONNECTED:  using SSL

And then it _doesn't_ warn you when it's unable to create a cache file
or find a cache file (which then causes it to misbehave).

I keep thinking that the next update might fix things, and sometimes
it does, but then something else is usually broken.

--
Grant







Re: [gentoo-user] replacement for ddclient?

2023-06-04 Thread Jack

On 6/4/23 10:42, Grant Edwards wrote:

Can anybody recommend a replacement for ddclient as a dynamic IP
service updater? I've been trying to use it for decades, and there
have been periods when it works as it's supposed to. But, usually it
doesn't, and I'm sick of fighting with it.

At the moment, it _always_ tries to do an update for reasons I can't
figure out. It has also started says that the last update attempt
failed even though it worked fine.

I've tried deleting the cache file so many times I've lost count, but
that never helps.

It has also started warning about the file mode for /etc/ddclient.conf
even though it's set exactly the way the warning says to set it:

 # ls -l /etc/ddclient.conf
 -r 1 ddclient ddclient 509 Jun  3 08:36 /etc/ddclient.conf
 # ddclient
 WARNING:  file /etc/ddclient.conf: file /etc/ddclient.conf should be owned 
only by ddclient or not be writable.
 WARNING:  file /etc/ddclient.conf: file /etc/ddclient.conf should be owned 
only by ddclient or not be writable.
 CONNECT:  checkip.dynu.com (IPv4)
 CONNECTED:  using SSL
I have ddclient installed, and in my case /etc/ddclient.conf is 600 not 
400, but I get the same error.  However, it appears it isn't actually 
running, so I actually have no idea how my IP is getting updated.  In 
addition, looking at the project's github page, although there is still 
some activity, the current lead is not working on it, so it might be 
time to look for a replacement.


And then it _doesn't_ warn you when it's unable to create a cache file
or find a cache file (which then causes it to misbehave).

I keep thinking that the next update might fix things, and sometimes
it does, but then something else is usually broken.

--
Grant







[gentoo-user] replacement for ddclient?

2023-06-04 Thread Grant Edwards
Can anybody recommend a replacement for ddclient as a dynamic IP
service updater? I've been trying to use it for decades, and there
have been periods when it works as it's supposed to. But, usually it
doesn't, and I'm sick of fighting with it.

At the moment, it _always_ tries to do an update for reasons I can't
figure out. It has also started says that the last update attempt
failed even though it worked fine.

I've tried deleting the cache file so many times I've lost count, but
that never helps.

It has also started warning about the file mode for /etc/ddclient.conf
even though it's set exactly the way the warning says to set it:

# ls -l /etc/ddclient.conf
-r 1 ddclient ddclient 509 Jun  3 08:36 /etc/ddclient.conf
# ddclient 
WARNING:  file /etc/ddclient.conf: file /etc/ddclient.conf should be owned 
only by ddclient or not be writable.
WARNING:  file /etc/ddclient.conf: file /etc/ddclient.conf should be owned 
only by ddclient or not be writable.
CONNECT:  checkip.dynu.com (IPv4)
CONNECTED:  using SSL

And then it _doesn't_ warn you when it's unable to create a cache file
or find a cache file (which then causes it to misbehave).

I keep thinking that the next update might fix things, and sometimes
it does, but then something else is usually broken.

--
Grant