Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Apr 2010 14:01:47 +0300
From:      Dan Naumov <dan.naumov@gmail.com>
To:        Aiza <aiza21@comclark.com>
Cc:        Mars G Miro <spry@anarchy.in.the.ph>, freebsd-jail@freebsd.org, Glen Barber <glen.j.barber@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: bizarre mount_nullfs issue with jails / ezjail
Message-ID:  <z2mcf9b1ee01004070401ye292a041wffb11477181bd23d@mail.gmail.com>
In-Reply-To: <4BBC2FD0.3040204@comclark.com>
References:  <k2xcf9b1ee01004061429ub4986488ya54af1a525aa209c@mail.gmail.com> <20100406213711.GA38637@orion.hsd1.pa.comcast.net> <p2wcf9b1ee01004061443j2009774ewe8221d4668cff9ba@mail.gmail.com> <z2of12f408a1004062049h92c68feaub51a48cb52289d31@mail.gmail.com> <t2tcf9b1ee01004062328hb3b221b5oaf90579419c3a8e9@mail.gmail.com> <4BBC2FD0.3040204@comclark.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 7, 2010 at 10:10 AM, Aiza <aiza21@comclark.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?z2mcf9b1ee01004070401ye292a041wffb11477181bd23d>