From owner-freebsd-stable@FreeBSD.ORG Tue Feb 7 19:16:19 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76FA6106566B for ; Tue, 7 Feb 2012 19:16:19 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 148D08FC14 for ; Tue, 7 Feb 2012 19:16:17 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q17JGFlI089635; Tue, 7 Feb 2012 12:16:15 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q17JGFLF089632; Tue, 7 Feb 2012 12:16:15 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 7 Feb 2012 12:16:15 -0700 (MST) From: Warren Block To: Torfinn Ingolfsen In-Reply-To: <20120207195607.919234a7.torfinn.ingolfsen@broadpark.no> Message-ID: References: <20120202212222.e940f64c.torfinn.ingolfsen@broadpark.no> <20120203204110.cc933dc5.torfinn.ingolfsen@broadpark.no> <20120204043756.GA67863@DataIX.net> <20120204164423.ba815842.torfinn.ingolfsen@broadpark.no> <20120204165214.6f14f4a5.torfinn.ingolfsen@broadpark.no> <20120204230409.338a597b.torfinn.ingolfsen@broadpark.no> <20120207195607.919234a7.torfinn.ingolfsen@broadpark.no> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Tue, 07 Feb 2012 12:16:15 -0700 (MST) Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD 8.2-stable: devd fails to restart X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Feb 2012 19:16:19 -0000 On Tue, 7 Feb 2012, Torfinn Ingolfsen wrote: > On Mon, 06 Feb 2012 00:08:55 -0700 (MST) > Warren Block wrote: > >> On Sat, 4 Feb 2012, Torfinn Ingolfsen wrote: >> >>> On Sat, 04 Feb 2012 10:34:19 -0700 (MST) >>> Warren Block wrote: >>> >>>> >>>> Possibly relevant: >>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=140462&cat= >>>> >>>> (Using DHCP from /etc/rc.conf leaves a lock on devd.pid. SYNCDHCP does >>>> not.) >>>> >>>> And the thread: >>>> http://lists.freebsd.org/pipermail/freebsd-current/2009-October/012749.html >>> >>> Yes, it seems to be that problem. Tested on my other machine, which hasn't changed since the problem was discovered: >>> root@kg-v7# service devd status >>> devd is not running. >>> root@kg-v7# ll /var/run/devd.pid >>> -rw------- 1 root wheel 3 Jan 12 20:40 /var/run/devd.pid >>> root@kg-v7# lsof /var/run/devd.pid >>> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME >>> dhclient 1075 root 5w VREG 0,70 3 918547 /var/run/devd.pid >>> dhclient 1091 _dhcp 5w VREG 0,70 3 918547 /var/run/devd.pid >>> root@kg-v7# >>> >>> So, if this was worked on back in 2009, why isn't fixed yet? >> >> I switched to using SYNCDHCP which avoids the problem, didn't enter a >> PR, and quickly forgot about it. It would be nice to have it fixed. > > I'm all for getting it fixed, even if I don't know how yet. > Should a PR be against devd, dhclient, or ... something else? It's devd, IMO. Hey, come to think of it, I did enter a PR, the one above. If this is still a problem in 9 (which I can test in a bit), posting to -current might get some needed attention on it.