Bug 989207

Summary: NM dispatcher script leaks error exit code
Product: [Fedora] Fedora Reporter: Michal Hlavinka <mhlavink>
Component: dhcpAssignee: Jiri Popelka <jpopelka>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: jpopelka, thozza
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dhcp-4.2.5-23.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-23 00:27:30 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 Michal Hlavinka 2013-07-28 11:04:51 UTC
Description of problem:
dhcpd uses NetworkManager dispatech script. In this script it tests whether dhcpd, dhcpd6 are enabled and restarts them. Unfortunately if dhcpd6 (being the last one to test) is not enabled, the test returns 1 and because it's the last command executed, whole script exits with 1.

systemctl -q is-enabled dhcpd6.service && systemctl restart dhcpd6.service
^^^ this whole block exits with error 1, when dhcpd6.service is not enabled

Version-Release number of selected component (if applicable):
dhcp-4.2.5-15.fc19.x86_64

How reproducible:
always

Steps to Reproduce:
1.configure NetworkManager network
2.configure dhcpd
3.reboot

Actual results:
error logged:
... Script '/etc/NetworkManager/dispatcher.d/12-dhcpd' exited with error status 1

Expected results:
no error logged

Additional info:

Comment 1 Jiri Popelka 2013-07-29 10:58:57 UTC
Thanks

Comment 2 Fedora Update System 2013-09-12 16:42:16 UTC
dhcp-4.2.5-20.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/dhcp-4.2.5-20.fc20

Comment 3 Fedora Update System 2013-09-12 16:42:21 UTC
dhcp-4.2.5-20.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/dhcp-4.2.5-20.fc19

Comment 4 Fedora Update System 2013-09-13 01:11:42 UTC
Package dhcp-4.2.5-20.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dhcp-4.2.5-20.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-16621/dhcp-4.2.5-20.fc19
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-09-23 00:27:30 UTC
dhcp-4.2.5-20.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-10-02 06:46:41 UTC
dhcp-4.2.5-23.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.