From owner-freebsd-current@FreeBSD.ORG Wed Jun 17 10:45:04 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2BD31065674; Wed, 17 Jun 2009 10:45:04 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from dhcp-172-16-23-160.lon.corp.google.com (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CD6E28FC1D; Wed, 17 Jun 2009 10:45:03 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <4A38C92F.7050809@FreeBSD.org> Date: Wed, 17 Jun 2009 11:45:03 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Pawel Jakub Dawidek , Kip Macy , FreeBSD Current , Rick Macklem Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: destroyed NFS exported filesystems not removed from /etc/zfs/exports X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 17 Jun 2009 10:45:04 -0000 mountd was failing to start after an upgrade, with lots of log entries like: Jun 17 10:19:22 pointyhat mountd[855]: bad exports list line /a/portbuild/i386/20090421213917 Jun 17 10:19:22 pointyhat mountd[855]: bad exports list line /a/portbuild/i386/7-exp/builds/20090422073914/src Jun 17 10:19:22 pointyhat mountd[855]: bad exports list line /a/portbuild/i386/8-exp/builds/20080814181849/ports These came from /etc/zfs/exports, and refer to filesystems that used to exist & were exported, but which have been destroyed. These were not cleaned up at destroy time. zfs unshare -a didn't clean this file up either, I had to remove it and recreate. Also, mountd was treating these as fatal errors at runtime and failing to start. I think this is a recent change in mountd, since this used to work even with the stale entries (the 200808 filesystem was destroyed in 2008, and mountd has started correctly after numerous reboots until the upgrade I just did from a May 9 world+kernel). Kris