Bug 136152 - ifdown script leaves dhcpcd running if BOOTPROTO changed while interface is up
Summary: ifdown script leaves dhcpcd running if BOOTPROTO changed while interface is up
Status: CLOSED DUPLICATE of bug 127726
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: initscripts
Version: 2.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-18 12:16 UTC by Neil Horman
Modified: 2014-03-17 02:49 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2006-02-21 19:06:24 UTC


Attachments (Terms of Use)
patch to kill appropriate dhcpcd|pump client after iface config has changed (309 bytes, patch)
2004-10-18 12:17 UTC, Neil Horman
no flags Details | Diff

Description Neil Horman 2004-10-18 12:16:40 UTC
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:

Comment 1 Neil Horman 2004-10-18 12:17:32 UTC
Created attachment 105372 [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.

Comment 2 Bill Nottingham 2005-01-12 20:22:11 UTC

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

Comment 3 Red Hat Bugzilla 2006-02-21 19:06:24 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


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