From owner-freebsd-current@FreeBSD.ORG Tue Sep 9 08:12:06 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 014CA16A4BF for ; Tue, 9 Sep 2003 08:12:06 -0700 (PDT) Received: from mailhub02.unibe.ch (mailhub02-skge0.unibe.ch [130.92.9.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C2E243FF3 for ; Tue, 9 Sep 2003 08:12:04 -0700 (PDT) (envelope-from roth@iam.unibe.ch) Received: from localhost (localhost [127.0.0.1]) by mailhub02.unibe.ch (Postfix) with ESMTP id D8AB57642E for ; Tue, 9 Sep 2003 17:12:02 +0200 (MEST) Received: from mailhub02.unibe.ch ([127.0.0.1]) by localhost (mailhub02 [127.0.0.1:10024]) (amavisd-new) with LMTP id 17482-01-27 for ; Tue, 9 Sep 2003 17:12:01 +0200 (MEST) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub02.unibe.ch (Postfix) with ESMTP id B2D397643A for ; Tue, 9 Sep 2003 17:11:59 +0200 (MEST) Received: from speedy.unibe.ch (speedy [130.92.64.35]) by asterix.unibe.ch (8.11.7+Sun/8.11.7) with ESMTP id h89FBxH02933 for ; Tue, 9 Sep 2003 17:11:59 +0200 (MET DST) Received: (from roth@localhost) by speedy.unibe.ch (8.11.6+Sun/8.10.2) id h89FBhG18124 for current@freebsd.org; Tue, 9 Sep 2003 17:11:43 +0200 (MEST) Date: Tue, 9 Sep 2003 17:11:43 +0200 From: Tobias Roth To: current@freebsd.org Message-ID: <20030909151143.GA17327@speedy.unibe.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Operating-System: SunOS speedy 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-80 X-Virus-checked: by University of Berne Subject: dhclient bug X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 15:12:06 -0000 from man 8 dhclient: The -1 flag cause dhclient to try once to get a lease. If it fails, dhclient exits with exit code two. with a missing dhcpserver or non-existent interface, this works. however, it does not when i unplug the ethernet cable. in that case, i get back true after the timeout, not 2. can someone verify this? is it a bug that must be fixed from the freebsd side or should a bug report to the isc-dhcp people?