From owner-freebsd-stable@FreeBSD.ORG Sun Jul 1 03:02:25 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4AD2106566B for ; Sun, 1 Jul 2012 03:02:24 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 973EB8FC08 for ; Sun, 1 Jul 2012 03:02:24 +0000 (UTC) Received: by obbun3 with SMTP id un3so7804272obb.13 for ; Sat, 30 Jun 2012 20:02:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=ML1977SBRrDjRndc9ffpa4Fb6DwBp2LQNxmhDr+7OPI=; b=VIA/yI/Fz/6Mj24JACUsbcBQz5Tuw4s89PAuFg/tsWpRpYcthLGb/NN0YQ+6NXaqkT Lo3meDT+JEm2W74uIbxPoMNAvhsts3sWIa675HIXqyO9wYL4OdC48KiT8N6txsdEqvvz OBPBvTVdktdiEaSOFlD/BtaTlzstJfa8h+29s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-gm-message-state; bh=ML1977SBRrDjRndc9ffpa4Fb6DwBp2LQNxmhDr+7OPI=; b=js4eeadZXZwiUa24QEMXigzZt7GM8b1AFpG80ilRRNvhT5dSqPJkS5A5flvgdNs3kr IrfatIwYMlZlmZ501iBKePErKYBif7dX1YIbr1rgd2LdNxsETd0KQTbkOiYx1T/WEHuw nioyzI2GoFRAvdHK0djW5asrWhNwnNmSfyuVlH0cxOhepSKYoEB5mkAk8/db1Z+PZG6G rQjaaL29BebcGevbk8kc/RGy00enVuxpOoNXw6NYxUjN67Pzlc/kEbhAoor1Achnt0N2 oQ7TEzWc93z6NHn+WYVN8k7Ct6LKrqQQGg8NJNcbZIqmZjK3/4jhCFJDvP+9u8DS+8HK ap3w== Received: by 10.50.135.74 with SMTP id pq10mr2462913igb.48.1341111744312; Sat, 30 Jun 2012 20:02:24 -0700 (PDT) Received: from DataIX.net (75-128-120-86.dhcp.aldl.mi.charter.com. [75.128.120.86]) by mx.google.com with ESMTPS id g5sm5519475ign.4.2012.06.30.20.02.22 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 30 Jun 2012 20:02:22 -0700 (PDT) Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.5/8.14.5) with ESMTP id q6132Kgc012390 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 30 Jun 2012 23:02:20 -0400 (EDT) (envelope-from jhellenthal@DataIX.net) Received: (from jh@localhost) by DataIX.net (8.14.5/8.14.5/Submit) id q6132Kif012389; Sat, 30 Jun 2012 23:02:20 -0400 (EDT) (envelope-from jhellenthal@DataIX.net) Date: Sat, 30 Jun 2012 23:02:20 -0400 From: Jason Hellenthal To: Marcin Wisnicki Message-ID: <20120701030220.GA11912@DataIX.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Gm-Message-State: ALoCoQnDvvp2Gdzg+lnhzV+/HCZ7v7wYHzz67FB2Fc4Apk3HxsycTx/gzTANdMwOhd21DD8vRgCn Cc: freebsd-stable@freebsd.org Subject: Re: mountd suddenly stopped working X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jul 2012 03:02:25 -0000 On Sat, Jun 30, 2012 at 09:07:17PM +0000, Marcin Wisnicki wrote: > On Sat, 30 Jun 2012 16:21:18 +0200, Ronald Klop wrote: > > > On Sat, 30 Jun 2012 15:53:53 +0200, Marcin Wisnicki > > wrote: > > > >> I have just rebooted an old system after 100 days of uptime and this > >> came up: > >> > >> Jun 30 15:39:00 ghost mountd[1592]: can't change attributes for > >> /tftpboot Jun 30 15:39:00 ghost mountd[1592]: bad exports list line > >> /tftpboot -ro -mapall > >> > > > > Than probably somebody changed something else. Can you provide the > > content of your exports file? > > > > OK, I've found the reason. > > There were two paths exported with same attributes: > > /tftpboot -ro -mapall=nobody > /vol/tank1 -ro -mapall=nobody > > As long as there is a filesystem mounted on /vol/tank1, above exports > will work. Since I've disconnected that drive, there was nothing mounted > this time. > > Apparently mountd does not allow exporting multiple paths from a single > filesystem on separate lines if they happen to have identical attributes. > Its been like that for a long time. I remember running into this way back on 6.X and 5.X. The solution is to: /tftpboot /vol/tank1 -ro -mapall=nobody -- - (2^(N-1))