Project

General

Profile

Actions

Bug #259

closed

When disabling a dhcp interface, dhclient is not stopped

Added by Seth Mos almost 12 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
Interfaces
Target version:
Start date:
12/29/2009
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

Description

After disabling a opt2 interface on a dummy vlan, dhclient was still running and spamming the logs after I disabled the interface.

Actions #1

Updated by Ermal Luçi almost 12 years ago

  • Status changed from New to Feedback
Actions #2

Updated by Chris Buechler over 11 years ago

  • Status changed from Feedback to New

No change, still leaves it running.

Actions #3

Updated by Ermal Luçi over 11 years ago

  • Status changed from New to Feedback

More fixes.

Actions #4

Updated by Chris Buechler over 11 years ago

  • Status changed from Feedback to Resolved

fixed

Actions #5

Updated by Seth Mos almost 11 years ago

  • Status changed from Resolved to Feedback

I just tested this with a clean 2.0 BETA5 i386 install and I still see dhclient messages in the system logs.

Actions #6

Updated by Jim Pingle almost 11 years ago

  • Status changed from Feedback to New
Actions #7

Updated by Ermal Luçi almost 11 years ago

  • Status changed from New to Feedback
Actions #8

Updated by Seth Mos almost 11 years ago

Hi, in the 2011 02 02 snapshot the dhclient still isn't killed when switching to static from the console or UI.

Feb 3 12:38:55 dhclient: FAIL
2.0-BETA5 (i386)
built on Wed Feb 2 23:56:12 EST 2011

Actions #9

Updated by Ermal Luçi almost 11 years ago

Found the remaining issue.
The previous, dhcp, interface type information was being lost when the apply changes button was clicked so no attempt to kill dhclient was made. Now dhclient will be killed and apply changes will put the new ip in place.

Actions #10

Updated by rancor rancor over 10 years ago

It seems to work now.

Before I disable vlan203 the dhclient is running
$ ps ax | grep dhclient
8629 ?? Is 0:00.00 dhclient: em0 [priv] (dhclient)
12493 ?? Ss 0:00.00 dhclient: em1_vlan203 [priv] (dhclient)
14048 ?? Is 0:00.10 dhclient: em0 (dhclient)
17124 ?? S 0:00.00 sh -c ps ax | grep dhclient
17737 ?? S 0:00.00 grep dhclient
50794 ?? Ss 0:00.00 dhclient: em1_vlan203 (dhclient)

And after I disable it

$ ps ax | grep dhclient
8629 ?? Is 0:00.00 dhclient: em0 [priv] (dhclient)
14048 ?? Ss 0:00.10 dhclient: em0 (dhclient)
29088 ?? S 0:00.00 sh -c ps ax | grep dhclient
29659 ?? S 0:00.00 grep dhclient

Case closed?

// rancor

Actions #11

Updated by Ermal Luçi over 10 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF