Bug 707987 - DHCP4_* variables no longer exported to dispatcher scripts
Summary: DHCP4_* variables no longer exported to dispatcher scripts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-26 13:50 UTC by Miroslav Lichvar
Modified: 2011-06-01 09:24 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-01 09:24:53 UTC
Type: ---


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.