From owner-freebsd-questions@FreeBSD.ORG Wed Apr 7 11:01:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F024106567B; Wed, 7 Apr 2010 11:01:50 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 57FE58FC1E; Wed, 7 Apr 2010 11:01:48 +0000 (UTC) Received: by bwz8 with SMTP id 8so740875bwz.3 for ; Wed, 07 Apr 2010 04:01:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=x0ZS/T3MGm++xJCTlUzcjbuhSwf3yOYA42WAfbLiD/0=; b=JaBxaNTvLj3JHUCxOQYqUvslCDud3cpIDyaCDKiEHGcse3rWHoyhR+rwSYs93y5tsB hzpG1ecUJR5N0prZr7MqTnpUeOoL3ZNCYb+O3AItOhWWv3+mzsVjRMVUHBRS3pWoGm9I p3aOFlj1r+WH0c8WTIZAnolPlY2c+4klGFBv4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=hRRygY3rwS8mrFcazwhs43Lw4yoUMK3teQUvEkWmVklOoS8z8DN5fUNuWN1/GJOs7o ZyHzDNZBFSS1RtnTyGhZhktJYIT7sQBBkldkhlYVyP3hYp5vNlU3zOJis7Or+owOhMqo HhCRg2wOZ+UL5IMBMcU1FozZyM/ulrBdKRSKk= MIME-Version: 1.0 Received: by 10.204.116.203 with HTTP; Wed, 7 Apr 2010 04:01:47 -0700 (PDT) In-Reply-To: <4BBC2FD0.3040204@comclark.com> References: <20100406213711.GA38637@orion.hsd1.pa.comcast.net> <4BBC2FD0.3040204@comclark.com> Date: Wed, 7 Apr 2010 14:01:47 +0300 Received: by 10.204.7.201 with SMTP id e9mr821498bke.122.1270638107976; Wed, 07 Apr 2010 04:01:47 -0700 (PDT) Message-ID: From: Dan Naumov To: Aiza Content-Type: text/plain; charset=ISO-8859-1 Cc: Mars G Miro , freebsd-jail@freebsd.org, Glen Barber , freebsd-questions@freebsd.org Subject: Re: bizarre mount_nullfs issue with jails / ezjail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Apr 2010 11:01:50 -0000 On Wed, Apr 7, 2010 at 10:10 AM, Aiza wrote: > Dan Naumov wrote: >>>> >>>> An additional question: how come "sade" and "sysinstall" which are run >>>> inside the jail can see (and I can only assume they can also operate >>>> on and damage) the real underlying disks of the host? >>>> >>> Disks (as well as others you have in your host's /dev) aren't visible >>> inside jails. >> >> Well, somehow they are on my system. >> >> I guess I should've also clarified that the jail was installed using >> ezjail and not completely manually >> >>> From /usr/local/etc/ezjail/semipublic >> >> export jail_semipublic_devfs_enable="YES" >> export jail_semipublic_devfs_ruleset="devfsrules_jail" >> >> - Sincerely, >> Dan Naumov >> >> > You are not in a jail but as the host. Use ezjail-admin console jailname and > things will look alot different. What you are playing with are ezjails > system control files. No, I am not, I am running sade / sysinstall INSIDE THE JAIL (AFTER ezjail-admin console jailname or after connecting to the jail via ssh). - Sincerely, Dan Naumov