From owner-freebsd-current@FreeBSD.ORG Sun Mar 10 22:11:33 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5ADA23D9; Sun, 10 Mar 2013 22:11:33 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 140482BE; Sun, 10 Mar 2013 22:11:32 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.80.1) with esmtp (envelope-from ) id <1UEoSq-001ZKa-6K>; Sun, 10 Mar 2013 23:11:32 +0100 Received: from e178008226.adsl.alicedsl.de ([85.178.8.226] helo=munin.geoinf.fu-berlin.de) by inpost2.zedat.fu-berlin.de (Exim 4.80.1) with esmtpsa (envelope-from ) id <1UEoSq-000dLD-3O>; Sun, 10 Mar 2013 23:11:32 +0100 Message-ID: <513D0553.2060302@zedat.fu-berlin.de> Date: Sun, 10 Mar 2013 23:12:35 +0100 From: "Hartmann, O." Organization: FU Berlin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130309 Thunderbird/17.0.4 MIME-Version: 1.0 To: Pawel Jakub Dawidek Subject: Re: r247839: broken pipe - for top, sudo and ports References: <5135B7E1.3050002@zedat.fu-berlin.de> <5135BBD9.9090009@FreeBSD.org> <51364914.2010104@zedat.fu-berlin.de> <201303060804.57238.jhb@freebsd.org> <20130310204430.GB9784@garage.freebsd.pl> In-Reply-To: <20130310204430.GB9784@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.8.226 Cc: davide@FreeBSD.org, freebsd-current@freebsd.org, Dimitry Andric X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sun, 10 Mar 2013 22:11:33 -0000 Am 03/10/13 21:44, schrieb Pawel Jakub Dawidek: > On Wed, Mar 06, 2013 at 08:04:57AM -0500, John Baldwin wrote: >> On Tuesday, March 05, 2013 2:35:48 pm Hartmann, O. wrote: >>> On recent FreeBSD 10.0-CURRENT/amd64 (CLANG buildworld, serveral systems >>> (3) the same symptoms)), many services drop a sporadic >>> >>> broken pipe >>> >>> This happesn to system's top (I have to type it several times to get >>> finally a top), it happens to "sudo su -", it happens to SSH (drops >>> connection with broken pipe) and as I reported earlier, it seems to >>> affect the entire port system, since I can not build any port, I receive >>> >>> *** [do-extract] Signal 13 >>> >>> This is dramatic for me, because several modules (rtc, linux_adobe ...) >>> can not be recompiled as it is required by the last /usr/src/UPDATING >>> entry 20130304. >>> >>> Since dbus fails to start and even the nVidia driver (which is a kernel >>> module, it canot be built and therefore ... ). >>> >>> Dimitry, I put you into CC, just in case. It seems that the last commits >>> (not only the new DRM2 mess) broke something. >>> >>> I hope that others using FreeBSD 10.0CURRENT with CLANG can confirm this.\ >> >> Have you tried backing up to just before all of pjd@'s file descriptor and >> capsicum commits? It broke some other stuff initially related to fd passing, >> so I don't think it is beyond imagination that it broke something with UNIX >> domain sockets in general. > > Is there a consensus already if this is result of my changes or davide's > r247804? > > I just upgraded my laptop to today's HEAD and I don't see any weird > behaviour yet. If someone can provide a way to reproduce the problem, > I'd be happy to investigate. > Just checked on one of my servers running most recent FreeBSD: FreeBSD 10.0-CURRENT #0 r248106: Sat Mar 9 16:43:06 CET 2013 amd64 Starting nscd with service nscd onestart and try to recompile suod with portmaster sudo results in [...] ===> Extracting for sudo-1.8.6.p7 => SHA256 Checksum OK for sudo-1.8.6p7.tar.gz. *** [do-extract] Signal 13 /etc/nscd.conf is as it is provided in /usr/share/examples/etc/nscd.conf. sudo itself also acts weird and sometimes, sporadically, with broken pipe. If I start nscd by system startup, even now with the above shown recent version of FBSD CURRENT, sometimes OpenLDAP's slapd doesn' startup - this is critical. As stated before, switching off nscd solves the problem. Regards, oh