Bug 860310
Summary: | ddclient systemd service does not start properly due to incorrect ownership of /var/cache/ddclient/ddclient.cache | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Andrew J. Schorr <aschorr> | |
Component: | ddclient | Assignee: | Robert Scheck <redhat-bugzilla> | |
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 26 | CC: | chapinjeff, mail2benny, pascal.schott, redhat-bugzilla, spamrefuse, thomas | |
Target Milestone: | --- | Keywords: | Reopened | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1167493 (view as bug list) | Environment: | ||
Last Closed: | 2018-05-29 12:37:20 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: |
Description
Andrew J. Schorr
2012-09-25 14:34:55 UTC
Oops, I see that the 2nd problem was caused by my own permissions problem (my /etc/ddclient.conf file was not readable by user ddclient). Fixing the ownership of /var/cache/ddclient/ddclient.cache fixes the bug. ddclient-3.8.1-3.fc17.noarch is still broken as of Jan. 18 2013, even after fixing the ownership of /var/cache/ddclient/ddclient.cache. When starting the service, it hangs and exits as follows: # service ddclient start Redirecting to /bin/systemctl start ddclient.service Job failed. See system journal and 'systemctl status' for details. However, when manually I do: # mkdir /var/run/ddclient # chown ddclient:ddclient /var/run/ddclient the service starts as expected! I assume another fix is needed in the RPM package. R. (In reply to comment #2) > ddclient-3.8.1-3.fc17.noarch is still broken as of Jan. 18 2013, even after > fixing the ownership of /var/cache/ddclient/ddclient.cache. > > When starting the service, it hangs and exits as follows: > > # service ddclient start > Redirecting to /bin/systemctl start ddclient.service > Job failed. See system journal and 'systemctl status' for details. > > However, when manually I do: > > # mkdir /var/run/ddclient > # chown ddclient:ddclient /var/run/ddclient > > the service starts as expected! > > I assume another fix is needed in the RPM package. I forgot that /var/run is not a fixed directory anymore, but created on the fly at boot by /etc/tmpfiles.d/ddclient , which has the proper settings. However, when installing the RPM package, this 'tmpfile' is not there yet (a reboot is needed....). Hence, the errors with the service. I guess the RPM package should then create the ddclient file in the /var/run directory (with proper ownership!), so that the ddclient package becomes usable immediately after the installation without the need of a reboot..... R. (In reply to comment #2) > ddclient-3.8.1-3.fc17.noarch is still broken as of Jan. 18 2013, even after > fixing the ownership of /var/cache/ddclient/ddclient.cache. > > When starting the service, it hangs and exits as follows: > > # service ddclient start > Redirecting to /bin/systemctl start ddclient.service > Job failed. See system journal and 'systemctl status' for details. > > However, when manually I do: > > # mkdir /var/run/ddclient > # chown ddclient:ddclient /var/run/ddclient > > the service starts as expected! > > I assume another fix is needed in the RPM package. I forgot that /var/run is not a fixed directory anymore, but created on the fly at boot by /etc/tmpfiles.d/ddclient , which has the proper settings. However, when installing the RPM package, this 'tmpfile' is not there yet (a reboot is needed....). Hence, the errors with the service. I guess the RPM package should then create the ddclient file in the /var/run directory (with proper ownership!), so that the ddclient package becomes usable immediately after the installation without the need of a reboot..... R. On another note: Remove in /etc/sysconfig/ddclient the line: DDCLIENT_OPTIONS="-daemon 300" because the default config file in /etc/ddclient.conf already has daemon=300 Changing the time in /etc/ddclient.conf has no effect as the setting in /etc/sysconfig/ddclient overrides the setting in the config file! If you want to demonstrate the use of /etc/sysconfig/ddclient, then better use instead the default config file location: DDCLIENT_OPTIONS="-file /etc/ddclient.conf" because this setting is independent of the settings in the config file. R. This bug is in Fedora 18, as well. Confirmed, still present in F18... As a workaround you can start ddclient with rc.local in /etc/rc.d/ rc-local.service This message is a reminder that Fedora 17 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 17. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '17'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 17's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 17 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 17's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. I think something has rotted with this service and it needs some love, because I'm experiencing issues on latest CentOS for example. They seem similar to what is described here. Thanks! This message is a reminder that Fedora 26 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '26'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 26 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |