Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2007 21:30:07 GMT
From:      Don Lewis <truckman@FreeBSD.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/115430: rpc.statd core dumps if unable to mmap() /var/db/statd.status file
Message-ID:  <200708122130.l7CLU74g091785@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/115430; it has been noted by GNATS.

From: Don Lewis <truckman@FreeBSD.org>
To: maxim@macomnet.ru
Cc: timur@FreeBSD.org, bug-followup@FreeBSD.org
Subject: Re: bin/115430: rpc.statd core dumps if unable to mmap()
 /var/db/statd.status file
Date: Sun, 12 Aug 2007 14:25:26 -0700 (PDT)

 On 13 Aug, Maxim Konovalov wrote:
 
 > [...]
 >> >Release:        FreeBSD 6.2-STABLE i386
 >> >Organization:
 >> >Environment:
 >>
 >> >Description:
 >>
 >> Somehow with my recent enough build rpc.statd is unable to mmap() "/var/db/statd.status" file and core dumps. Possibly, the failure of mmap() is fixed in latest STABLE, but this problem revealed a race condition in the rpc.statd. Here is the stack trace and piece of offending code:
 >>
 [snip]
 >>
 > Could it be fixed by the latest truckman@ work?
 
 This problem should be fixed for 6.2-STABLE by
 usr.sbin/rpc.statd/statd.c 1.12.8.2 (Sun Aug 12 01:46:19 2007 UTC) and
 for 7.0-CURRENT by statd.c 1.15 (Sun Aug 5 16:33:06 2007 UTC).
 
 The warn() call should probably be changed to err() because the
 implemention does not have code to handle the case where mmap() fails.
 
 



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