From owner-freebsd-current@FreeBSD.ORG Wed Aug 20 02:03:53 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 9A48516A4E4 for ; Wed, 20 Aug 2003 02:03:53 -0700 (PDT) Received: from mailhub02.unibe.ch (mailhub02.unibe.ch [130.92.9.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E47343FCB for ; Wed, 20 Aug 2003 02:03:52 -0700 (PDT) (envelope-from roth@iam.unibe.ch) Received: from localhost (localhost [127.0.0.1]) by mailhub02.unibe.ch (Postfix) with ESMTP id 091B276413 for ; Wed, 20 Aug 2003 11:03:51 +0200 (MEST) Received: from mailhub02.unibe.ch ([127.0.0.1]) by localhost (mailhub02 [127.0.0.1:10024]) (amavisd-new) with LMTP id 18086-01-6 for ; Wed, 20 Aug 2003 11:03:47 +0200 (MEST) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub02.unibe.ch (Postfix) with ESMTP id A28BA7644A for ; Wed, 20 Aug 2003 11:03:47 +0200 (MEST) Received: from speedy.unibe.ch (speedy [130.92.64.35]) by asterix.unibe.ch (8.11.6+Sun/8.11.6) with ESMTP id h7K93lK16743 for ; Wed, 20 Aug 2003 11:03:47 +0200 (MET DST) Received: (from roth@localhost) by speedy.unibe.ch (8.11.6+Sun/8.10.2) id h7K93l606066 for current@freebsd.org; Wed, 20 Aug 2003 11:03:47 +0200 (MEST) Date: Wed, 20 Aug 2003 11:03:47 +0200 From: Tobias Roth To: current@freebsd.org Message-ID: <20030820090347.GA6042@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 and pid file 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: Wed, 20 Aug 2003 09:03:53 -0000 Hi I just noticed that dhclient takes 'ages' to write it's pidfile. Shell-constructs similar to this dhclient -q -1 -pf /etc/dhclient.pid fxp0 [ -e /etc/dhclient.pid ] && kill -9 `cat /etc/dhclient.pid` do not work because dhclient is too slow in writing its pid file. is this the expected behaviour with pid-file writing daemons? thanks, t.