Description of problem: If an interface is ifup-ed with a config indicating BOOTPROTO=[dhcp|bootp], and then the config is changed such that BOOTPROTO=static, the dhcpcd or pump daemon is left running when service network restart is run, leading to undesired interface address changes Version-Release number of selected component (if applicable): all How reproducible: allways Steps to Reproduce: 1.config an interface to use dhcp or bootp 2.start the interface with service network restart or ifup 3.reconfig the interface such that BOOTPROTO=static 4.restart networking service Actual results: dhcpcd|pump is left running, and eventually the ip address will change on the interface when the lease is renewed Expected results: dhcpcd|pump should be killed Additional info:
Created attachment 105371 [details] patch to kill appropriate dhcpcd|pump client after iface config has changed This corrects the ifdown script to detect if a dhcpcd client is running on an interface regardless of its current config, allowing the client to be properly killed after its BOOTPROTO has changed.
Technically, this doesn't handle pump. :)
Good point, I hadn't considered the use of all the various dhcp clients. I guess it would need to have an or clause for each of the dhcp clients that ifup/down supports :)
*** This bug has been marked as a duplicate of 136465 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.