Bug 1420135

Summary: DHCP NetworkManager dispatcher script restarts daemon unnecessarily
Product: Red Hat Enterprise Linux 7 Reporter: Trevor Hemsley <trevor.hemsley>
Component: dhcpAssignee: Pavel Zhukov <pzhukov>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-daemons
Severity: low Docs Contact:
Priority: low    
Version: 7.3   
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: 2019-03-13 11:42:25 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:
Attachments:
Description Flags
Don't restart dhcpd if a VPN interface comes up none

Description Trevor Hemsley 2017-02-07 23:55:00 UTC
Created attachment 1248515 [details]
Don't restart dhcpd if a VPN interface comes up

Description of problem:
Bringing up a VPN client connection restarts dhcpd unnecessarily

Version-Release number of selected component (if applicable):
dhcp-4.2.5-47.el7.centos.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install and configure some form of VPN client connection - I've used both NetworkManager-xl2tpd and vpnc
2. Connect the VPN client to your server and it brings up a new ppp or tun interface
3. NetworkManager runs the dhcp supplied script /etc/NetworkManager/dispatcher.d/12-dhcpd which unconditionally restarts the dhcpd process

Actual results:
Unexpected restart of dhcpd

Expected results:
No unnecesary restart

Additional info:
This script was proposed as part of https://bugzilla.redhat.com/show_bug.cgi?id=565921

Basic patch attached to check interface is ppp* or tun* and exit without restart

Comment 4 Pavel Zhukov 2019-03-13 11:42:25 UTC

*** This bug has been marked as a duplicate of bug 1672308 ***