Re: r247839: broken pipe - for top, sudo and ports

From: Hartmann, O. <ohartman_at_zedat.fu-berlin.de>
Date: Sun, 10 Mar 2013 23:12:35 +0100
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_at_'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
Received on Sun Mar 10 2013 - 21:11:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:35 UTC