Bug 707987

Summary: DHCP4_* variables no longer exported to dispatcher scripts
Product: [Fedora] Fedora Reporter: Miroslav Lichvar <mlichvar>
Component: NetworkManagerAssignee: Dan Williams <dcbw>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: dcbw, jklimes, jpopelka, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-01 09:24:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Miroslav Lichvar 2011-05-26 13:50:36 UTC
Description of problem:
It seems that most of the DHCP4_* environment variables are no longer available in the /etc/NetworkManager/dispatcher.d/* scripts.

Missing DHCP4_NEW_NTP_SERVERS breaks the ntp and chrony packages, when the DHCP server provides a list of NTP servers, they won't be configured to use them.

Version-Release number of selected component (if applicable):
NetworkManager-0.8.999-2.git20110509.fc15.x86_64
dhclient-4.2.1-9.P1.fc15.x86_64

How reproducible:
always

Steps to Reproduce:
1. add a script to /etc/NetworkManager/dispatcher.d/ which prints all DHCP4_* environment variables
2. reconnect network
  
Actual results:
Only DHCP4_OPTIONS='(null)'

Expected results:
All DHCP4_* variables, including DHCP4_NEW_NTP_SERVERS.

Comment 1 Jirka Klimes 2011-06-01 09:24:53 UTC
That's fixed in latest update.