bizarre mount_nullfs issue with jails / ezjail

Dan Naumov dan.naumov at gmail.com
Wed Apr 7 11:01:50 UTC 2010


On Wed, Apr 7, 2010 at 10:10 AM, Aiza <aiza21 at 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


More information about the freebsd-jail mailing list