Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 2004 18:31:27 +0300
From:      Alex Deiter <tiamat@komi.mts.ru>
To:        Siddhartha Jain <sid@netmagicsolutions.com>, freebsd-questions@freebsd.org
Subject:   Re: Create multiple jails by copying
Message-ID:  <41CAE4CF.7040508@komi.mts.ru>
In-Reply-To: <411E1F10.6010902@netmagicsolutions.com>
References:  <411E1F10.6010902@netmagicsolutions.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Siddhartha Jain wrote:

> I created one jail in FreeBSD 4.10. Since the compile time for make
> world and make distribution is too high, I copied the contents of jail1
> to jail2 this way:
> jailbsd:/jails/jail1# find . | cpio -pdmv /jails/jail2
> jail1 is functional. Now, when I run:
> # mount -t procfs proc /jails/jail2/proc
> (No complaints/errors)
> #jail /jails/jail2 jail2 10.1.1.173 /bin/sh /etc/rc
> I get an error from sendmail-client, sshd, cron, sendmail cannot
> chdir(/var/spool/clientmqueue/): Permission denied
> Program mode requires special privileges, eg., root or TrustedUser

I get same error on FreeBSD 5.3. The problem was solved change of the 
permission on jail directory (/jails/jail2): 0700 -> 0755.

Thanks!



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