From owner-freebsd-jail@FreeBSD.ORG Thu Apr 17 21:18:15 2008 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A178F106566C for ; Thu, 17 Apr 2008 21:18:15 +0000 (UTC) (envelope-from schulra@earlham.edu) Received: from sipala.earlham.edu (sipala.earlham.edu [159.28.1.75]) by mx1.freebsd.org (Postfix) with ESMTP id 6B6A88FC13 for ; Thu, 17 Apr 2008 21:18:15 +0000 (UTC) (envelope-from schulra@earlham.edu) Received: from tdream.lly.earlham.edu (tdream.lly.earlham.edu [159.28.7.241]) by sipala.earlham.edu (8.13.6/8.13.6) with ESMTP id m3HKZcXb029658 for ; Thu, 17 Apr 2008 16:35:38 -0400 (EDT) Received: from tdream.lly.earlham.edu (tdream.lly.earlham.edu [159.28.7.241]) by tdream.lly.earlham.edu (Postfix) with ESMTP id A5D648E275 for ; Thu, 17 Apr 2008 16:35:33 -0400 (EDT) Date: Thu, 17 Apr 2008 16:35:33 -0400 (EDT) From: Randy Schultz X-X-Sender: schulra@tdream.lly.earlham.edu To: freebsd-jail@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: ypserv in a jail? X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 21:18:15 -0000 Anybody ever set up a NIS server in a jail? I'm running a jail on a 6.2 system. When I run ypserv on the parent things work great. When I shut down ypserv on the parent and bring it up in the jail, it comes up fine but never answers any of the broadcasts. I have ruled out any firewalling. I have also tried forcing ypbind to look directly at the jailed ypserv with the -S option. That was ineffective. I have toyed with sysctl variables and have gone as far as: security.jail.allow_raw_sockets=1 security.jail.sysvipc_allowed=1 security.jail.set_hostname_allowed=1 security.jail.socket_unixiproute_only=0 Doign a ps on the parent shows the jailed ypserv, sockstat shows ypserv listening on the ports. Thoughts on what I'm missing? -- Randy (schulra@earlham.edu) 765.983.1283 <*> Love with your heart, think with your head; not the other way around.