From owner-freebsd-current@FreeBSD.ORG Thu Jul 7 00:02:39 2011 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 D79D11065688 for ; Thu, 7 Jul 2011 00:02:39 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9131B8FC19 for ; Thu, 7 Jul 2011 00:02:38 +0000 (UTC) Received: by vws18 with SMTP id 18so492897vws.13 for ; Wed, 06 Jul 2011 17:02:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=K2NKZhmwEO4lDeAvgqmrSlBtrWMFI7dJ4UXVOJKyHSM=; b=axRJZRwpr6o3Tsa6aPYKd8aHbm8MPxjVgRW69U06qvEnQeI+YGY+vcmad1K99GtR0l leker/klbGL99UEzV1zv6D61jnI0lB4zKNMLmGthesidwYn5FJO+NDyUj/0jgxdQbLd8 iYeEpHFPBrZf6C/2KemsYeLO9qt2gxWMPamgA= MIME-Version: 1.0 Received: by 10.220.59.193 with SMTP id m1mr74037vch.38.1309996957706; Wed, 06 Jul 2011 17:02:37 -0700 (PDT) Received: by 10.220.92.201 with HTTP; Wed, 6 Jul 2011 17:02:37 -0700 (PDT) In-Reply-To: <20110706235733.GA71278@troutmask.apl.washington.edu> References: <20110706235733.GA71278@troutmask.apl.washington.edu> Date: Wed, 6 Jul 2011 17:02:37 -0700 Message-ID: From: Garrett Cooper To: Steve Kargl Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: Can options NFSD and NFSSERVER exist in the same kernel? 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: Thu, 07 Jul 2011 00:02:39 -0000 On Wed, Jul 6, 2011 at 4:57 PM, Steve Kargl wrote: > So, I upgraded a system from Feb 10 -current to today's > -current code. =A0In doing so, I changed the kernel config > options from > > options =A0 =A0 =A0 =A0 NFSCLIENT =A0 =A0 =A0 =A0 =A0 =A0 =A0 # Network F= ilesystem Client > options =A0 =A0 =A0 =A0 NFSSERVER =A0 =A0 =A0 =A0 =A0 =A0 =A0 # Network F= ilesystem Server > > to > > options =A0 =A0 =A0 =A0 NFSCL =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Network Fi= lesystem Client > options =A0 =A0 =A0 =A0 NFSD =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # Network Fi= lesystem Server > > rebuild and install the kernel. =A0Upon rebooting, I'm greeted > with a > > Jul =A06 16:09:41 node16 root: /etc/rc: WARNING: Unable to load > kernel module nfsserver > > Of course, it can't load nfsserver because I don't use modules > nor build them. =A0So, why is the system trying to load a nfsserver > module? =A0Because, my /etc/rc.conf contains > > nfs_client_enable=3D"YES" > nfs_server_enable=3D"YES" > > if I change this to > > nfs_client_enable=3D"YES" > nfsv4_server_enable=3D"YES" > > The system no longer tries to load nfsserver upon rebooting. > Unfortunately, this has the effect that no nfsd daemons are > started. =A0Well, I can start the daemons post-booting. > > node16:root[139] /etc/rc.d/nfsd start > Cannot 'start' nfsd. Set nfs_server_enable to YES in /etc/rc.conf or use = 'onestart' instead of 'start'. Try nfsserver instead of nfsd. Here's the archived discussion of my foray into this territory a few months ago: http://www.mailinglistarchive.com/html/freebsd-current@freebsd.org/2011-05/= msg00008.html . Cheers! -Garrett