jailkit-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] jk_init errors in OS X 10.4


From: Olivier Sessink
Subject: Re: [Jailkit-users] jk_init errors in OS X 10.4
Date: Fri, 06 Apr 2007 08:13:51 +0200
User-agent: Icedove 1.5.0.9 (X11/20061220)

Gregory German wrote:
> Hi,
> 
> I'm using jailkit 1.2 which I obtained from darwinports.com (now
> macports).  When I try to set up the jail by using jk_init I get the
> following errors:
> 
> ERROR: /jail is not owned by root:root!
> 
> ERROR: chrootdir /jail is not safe
> 
> This appears to be problematic because there is no group called root in
> OS X so I can't do "chown root:root jail".  If I am not mistaken, the
> "root" group in OS X is wheel.  Is there a way to get around this? 
> Should I be using a different version of jailkit?  I know 1.2 is not
> nearly the latest version, but it is the latest version provided by
> macports.
>

a similar error has been fixed in jailkit for freebsd and openbsd. Not
sure if it fixes the problem for osx, but there is quite a chance.

I think jk_init checks if the user is 0 and the group is 0, so you could
try to set that directory manually to 0:0

`chown 0:0 /jail`

regards,
        Olivier




reply via email to

[Prev in Thread] Current Thread [Next in Thread]