Bug 1387995
Summary: | dispatcher script cause dhcpd deactivation | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Tomas Pelka <tpelka> |
Component: | dhcp | Assignee: | Pavel Šimerda (pavlix) <psimerda> |
Status: | CLOSED DUPLICATE | QA Contact: | Release Test Team <release-test-team-automation> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.3 | CC: | lnykryn, vbenes |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-01 16:27:42 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1380362 |
Description
Tomas Pelka
2016-10-24 07:20:54 UTC
That looks like a bug in systemd if the limit on restarts leads to stopping the service instead of either restarting or failing right away. That of course doesn't mean that the script shouldn't be improved. But we probably shouldn't ignore the behavior of systemd that looks entirely wrong to me. In ideal case dhcpd should offer an reload action. You can also tweak StartLimitInterval=, StartLimitBurst= in the unit files. In the worst case you can call systemctl restart dhcpd.service; systemctl reset-failed dhcpd.service from your script. reset-failed in this case will reset the counter. Closing duplicate... I will move information from this bug to the older one. *** This bug has been marked as a duplicate of bug 1302282 *** |