Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 59875 - Changing network interface configuration leaves old IP address intact and pump daemon running
Changing network interface configuration leaves old IP address intact and pum...
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2002-02-14 06:21 EST by Pekka Pessi
Modified: 2014-03-16 22:25 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-02-14 10:53:53 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Pekka Pessi 2002-02-14 06:21:08 EST
Description of Problem:

I use two configurations with eth0 interface of my laptop, one with fixed IP and
another with DHCPD (when I'm roaming). The configurations are
/etc/sysconfig/network-scripts/ifcfg-eth0 and

When changing back to configuration with fixed IP address (ifup eth0) from DHCP
configuration (ifup eth0.dhcp), the pump daemon is left running and the IP
address the pump ackquired is still assigned to the interface. In random
intervals, pump overwrites the /etc/resolv.conf and when its lease expires, it
removes the fixed IP address.

Version-Release number of selected component (if applicable):


How Reproducible:


Steps to Reproduce:

1. On a host having fixed IP address on eth0, create alternative configuration
using pump, e.g., 
cat > /etc/sysconfig/network-scripts/ifcfg-eth0.dhcp << EOF
2. Install pump (and uninstall dhcpcd): rpm -i pump-0.8.11-7* ; rpm -e dhcpcd
3. Activate dhcp configuration: ifup eth0.dhcp
4. Reactivate fixed IP configuration: ifup eth0

Actual Results:

At step 4, adding default route causes a complaint as the route from DHCP still
exists. Both IP addresses, one from DHCP and the fixed IP address, are active
Pump is still running.

$ ip addr show dev eth0
$ pidof pump

Expected Results:

Address from DHCP is released and pump is killed.

Additional Information:
Apply this patch: 
--- /sbin/ifup.virgin	Tue Sep  4 07:02:08 2001
+++ /sbin/ifup	Thu Feb 14 13:17:27 2002
@@ -181,6 +181,15 @@
     [ -n "$FWHACK" ] && ipchains -D input -s 0/0 53 -d 0/0 1025:65535 -p udp -j
+    # Kill pump
+    if [ -x /sbin/pump ] ;then
/sbin/pump -i ${DEVICE} --release --kill
+    fi
+    # Remove existing addresses
+    ip addr flush dev ${DEVICE} 2> /dev/null
     if [ -z "${IPADDR}" ]; then
          # enable device without IP, useful for e.g. PPPoE
 	 ip link set ${DEVICE} up
Comment 1 Bill Nottingham 2002-02-14 10:53:48 EST
This is fixed in 6.40.2-1 and later.

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