Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2013 23:12:35 +0100
From:      "Hartmann, O." <ohartman@zedat.fu-berlin.de>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        davide@FreeBSD.org, freebsd-current@freebsd.org, Dimitry Andric <dim@freebsd.org>
Subject:   Re: r247839: broken pipe - for top, sudo and ports
Message-ID:  <513D0553.2060302@zedat.fu-berlin.de>
In-Reply-To: <20130310204430.GB9784@garage.freebsd.pl>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?513D0553.2060302>