From owner-freebsd-questions@FreeBSD.ORG Fri Oct 31 07:08:54 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F71916A4D3 for ; Fri, 31 Oct 2003 07:08:54 -0800 (PST) Received: from web11702.mail.yahoo.com (web11702.mail.yahoo.com [216.136.172.68]) by mx1.FreeBSD.org (Postfix) with SMTP id E55E643F3F for ; Fri, 31 Oct 2003 07:08:53 -0800 (PST) (envelope-from prash_sarma@yahoo.com) Message-ID: <20031031150842.83258.qmail@web11702.mail.yahoo.com> Received: from [204.198.76.131] by web11702.mail.yahoo.com via HTTP; Fri, 31 Oct 2003 07:08:42 PST Date: Fri, 31 Oct 2003 07:08:42 -0800 (PST) From: Prashant Sarma To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Unable to start NFS server from FreeBSD Jail environment. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2003 15:08:54 -0000 Hi everybody, I am relatively new to FreeBSD, so please pardon me if this question is not appropriate for this mailing list. My question pertains to FreeBSD jail environments. I am unable start an NFS server from within a FreeBSD jail. I have configured the jail environment to allow sshd and telnet, but I am unable to export file systems from the jail. My logs and configuration are as follows: /var/log/messages (Jail Environment): Oct 31 09:36:00 emulite2 mountd[210]: can't delete exports for / Oct 31 09:36:00 emulite2 mountd[210]: can't delete exports for /usr/testbed Oct 31 09:36:00 emulite2 mountd[210]: can't delete exports for /ops-jail Oct 31 09:36:00 emulite2 mountd[210]: can't delete exports for /var Oct 31 09:36:00 emulite2 mountd[210]: can't change attributes for /usr Oct 31 09:36:00 emulite2 mountd[210]: bad exports list line /usr -alldirs leaningtower Oct 31 09:36:00 emulite2 nfsd:[230]: nfssvc: Operation not permitted Oct 31 09:36:00 emulite2 nfsd:[231]: nfssvc: Operation not permitted Oct 31 09:36:00 emulite2 nfsd:[214]: can't Add UDP socket Oct 31 09:36:00 emulite2 nfsiod:[237]: nfssvc: Operation not permitted Oct 31 09:36:00 emulite2 nfsiod:[238]: nfssvc: Operation not permitted CONFIGURATION: Parent Machine: Pentium 1.5 GHz., 3Com (xl0) 10/100 interface, FreeBSD 4.8-RELEASE Jail Environment: Runs on an independent hard disk, mounted by the Parent, has network connectivity (network interface is aliased from Parent's interface), successfully runs sshd. Here is an 'rpcinfo -p' done on the jail: 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100005 3 udp 1008 mountd 100005 3 tcp 1021 mountd 100005 1 udp 1008 mountd 100005 1 tcp 1021 mountd 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100024 1 udp 998 status 100024 1 tcp 1020 status Here is the Jail's /etc/exports file: /usr -alldirs leaningtower I would would appreciate any advice/pointers in this regard. Thank you, Prashant __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/