From owner-freebsd-questions@FreeBSD.ORG Thu Dec 23 15:31:33 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7910316A4CE for ; Thu, 23 Dec 2004 15:31:33 +0000 (GMT) Received: from mx2.mts.ru (mx2.mts.ru [212.44.140.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51E1443D2D for ; Thu, 23 Dec 2004 15:31:32 +0000 (GMT) (envelope-from tiamat@komi.mts.ru) Received: from mts.ru (localhost [127.0.0.1]) by mx2.mts.ru (Postfix) with SMTP id 8B46F2416A for ; Thu, 23 Dec 2004 18:31:30 +0300 (MSK) Received: by mx2.mts.ru (Postfix, from userid 12347) id 822CD2418C; Thu, 23 Dec 2004 18:31:30 +0300 (MSK) Received: from maeko.inside.mts.ru (maeko [192.168.10.3]) by mx2.mts.ru (Postfix) with SMTP id 719002410B for ; Thu, 23 Dec 2004 18:31:30 +0300 (MSK) Received: from stella.komi.mts.ru ([10.50.1.1]) by maeko.inside.mts.ru (NAVGW 2.5.2.12) with SMTP id M2004122318312923778 ; Thu, 23 Dec 2004 18:31:29 +0300 Received: from [10.50.1.13] (sandra.komi.mts.ru [10.50.1.13]) (user=tiamat mech=CRAM-MD5 bits=0) by stella.komi.mts.ru (MTS Komi/Smtp) with ESMTP id iBNFVR80017509; Thu, 23 Dec 2004 18:31:29 +0300 (MSK) (envelope-from tiamat@komi.mts.ru) Message-ID: <41CAE4CF.7040508@komi.mts.ru> Date: Thu, 23 Dec 2004 18:31:27 +0300 From: Alex Deiter Organization: MTS Komi User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: Siddhartha Jain , freebsd-questions@freebsd.org References: <411E1F10.6010902@netmagicsolutions.com> In-Reply-To: <411E1F10.6010902@netmagicsolutions.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SpamTest-Info: Profile: Formal (183/041220) X-SpamTest-Info: Profile: Detect Soft No RBL (4/030526) X-SpamTest-Info: Profile: SysLog X-SpamTest-Info: Profile: Delete only Spam ( for alarm mail to spam@mts.ru) X-SpamTest-Status: Not detected X-SpamTest-Version: SMTP-Filter Version 2.0.0 [0124], SpamtestISP/Release Subject: Re: Create multiple jails by copying X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Dec 2004 15:31:33 -0000 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!