Bug 449108
Summary: | dhcp6c requires initscript | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Lawrence Lim <llim> |
Component: | initscripts | Assignee: | initscripts Maintenance Team <initscripts-maint-list> |
Status: | CLOSED NOTABUG | QA Contact: | Brock Organ <borgan> |
Severity: | low | Docs Contact: | |
Priority: | urgent | ||
Version: | 5.2 | CC: | ddumas, iboverma, tools-bugs |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-06-02 20:41:18 UTC | Type: | --- |
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: | 253764 |
Description
Lawrence Lim
2008-05-30 13:59:04 UTC
I don't think I explained this issue quite right. An init script for dhcp6c won't solve the problem of dhcp6c not restarting when you run "service network restart". The network service (which is /etc/rc.d/init.d/network) is a script owned by the initscripts package: # rpm -qf /etc/rc.d/init.d/network initscripts-8.45.19.EL.1 The network script runs the ifup/ifdown scripts for each interface configured in /etc/sysconfig/network-scripts. The /etc/sysconfig/network-scripts/ifup-eth scripts actually runs dhcp6c for the interface if the following conditions are met: 1) The variable NETWORKING_IPV6=y is set in /etc/sysconfig/network 2) The variable DHCPV6C=y is set in the /etc/sysconfig/network-scripts/ifcfg-ethX file for the interface in question. At that point you should be able to ifup/ifdown the interface individually and have it start and stop dhcp6c through that mechanism. Likewise, the 'service network restart' method should do it for all network interfaces. This is how dhclient is started and stopped for each interface (i.e., there is no /etc/rc.d/init.d/dhclient init script, but rather one is started for the interface through the ifup scripts). If that isn't working, then the initscripts package should be fixed. 'This patch'? How is what's there now not working? (In reply to comment #3) > 'This patch'? How is what's there now not working? Bill, I think there was some confusion with the testers on how to trigger a dhcp6c restart when you do 'service network restart'. They thought I needed to create a dhcp6c init script, so I posted the explanation above. For me, if you add NETWORKING_IPV6=y to /etc/sysconfig/network and DHCPV6C=y to the ifcfg-ethX script, it works fine. Just tested locally and that's what happens for me, so this is probably just a non-bug. OK, two engineers have independently confirmed that a correctly configured system works. Closing this, notabug. |