https://bugs.koozali.org/show_bug.cgi?id=11667
--- Comment #20 from Reidar D. Midtun <[email protected]> ---
(In reply to Terry Fage from comment #18)
>
> All functions working as expected, modify, create virtrual domaina and
> delete and save..
>
> Verified as far as SM goes, marking resolved awaiting any SM2 comments and
> then can move to verifie3d
[root@e-smith ddclient] yum list installed | grep ddcl
ddclient.noarch 3.9.1-2.el7.sme @smecontribs
smeserver-ddclient.noarch 1.3.0-15.el7.sme @smetest
Verified that the /etc/ddclient/ddclient.conf was updated after modifying
dynamic client in the server-manager. Checked the /etc/ddclient.conf and saw
that it was not updated. Since an update of this was not triggered by the
changes in the config, I removed the file (should not be used). I then
restarted the service and get the following:
[root@e-smith ddclient]# systemctl status ddclient.service
● ddclient.service - A Perl Client Used To Update Dynamic DNS
Loaded: loaded (/usr/lib/systemd/system/ddclient.service; enabled; vendor
preset: enabled)
Drop-In: /usr/lib/systemd/system/ddclient.service.d
└─50koozali.conf
Active: active (running) since Mon 2021-09-06 18:48:25 CEST; 19s ago
Process: 4864 ExecStart=/usr/sbin/ddclient $DDCLIENT_OPTIONS (code=exited,
status=0/SUCCESS)
Process: 4862 ExecStartPre=/bin/touch /var/cache/ddclient/ddclient.cache
(code=exited, status=0/SUCCESS)
Main PID: 4866 (ddclient - slee)
Memory: 7.6M
CGroup: /system.slice/ddclient.service
└─4866 ddclient - sleeping for 290 seconds
Sep 06 18:48:25 e-smith.midtun.dyndns.org systemd[1]: Starting A Perl Client
Used To Update Dynamic DNS...
Sep 06 18:48:25 e-smith.midtun.dyndns.org ddclient[4864]: stat() on closed
filehandle FD at /usr/sbin/ddclient line 1167.
Sep 06 18:48:25 e-smith.midtun.dyndns.org ddclient[4864]: Use of uninitialized
value $mode in bitwise and (&) at /usr/sbin/ddclient line 1168.
Sep 06 18:48:25 e-smith.midtun.dyndns.org ddclient[4864]: readline() on closed
filehandle FD at /usr/sbin/ddclient line 1180.
Sep 06 18:48:25 e-smith.midtun.dyndns.org ddclient[4864]: WARNING: file
/etc/ddclient.conf: Cannot open file '/etc/ddclient.conf'. (No such file or
directory)
Sep 06 18:48:25 e-smith.midtun.dyndns.org systemd[1]: Started A Perl Client
Used To Update Dynamic DNS.
which shows that the /etc/ddclient.conf is still used by the service. I then
copied the /etc/ddclient/ddclient.conf to /etc/ddclient.conf and restarted the
service. The service is then running ok.
[root@e-smith etc]# systemctl status ddclient.service
● ddclient.service - A Perl Client Used To Update Dynamic DNS
Loaded: loaded (/usr/lib/systemd/system/ddclient.service; enabled; vendor
preset: enabled)
Drop-In: /usr/lib/systemd/system/ddclient.service.d
└─50koozali.conf
Active: active (running) since Mon 2021-09-06 18:58:27 CEST; 6s ago
Process: 5466 ExecStart=/usr/sbin/ddclient $DDCLIENT_OPTIONS (code=exited,
status=0/SUCCESS)
Process: 5464 ExecStartPre=/bin/touch /var/cache/ddclient/ddclient.cache
(code=exited, status=0/SUCCESS)
Main PID: 5469 (ddclient - slee)
Memory: 7.7M
CGroup: /system.slice/ddclient.service
└─5469 ddclient - sleeping for 300 seconds
Sep 06 18:58:27 e-smith.midtun.dyndns.org systemd[1]: Starting A Perl Client
Used To Update Dynamic DNS...
Sep 06 18:58:27 e-smith.midtun.dyndns.org ddclient[5466]: WARNING: file
/etc/ddclient.conf: file /etc/ddclient.conf must be accessible only by its
owner.
Sep 06 18:58:27 e-smith.midtun.dyndns.org systemd[1]: Started A Perl Client
Used To Update Dynamic DNS.
To conclude, the service is still using the wrong conf file!
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/