Re: Create multiple jails by copying

From: Alex Deiter (tiamat_at_komi.mts.ru)
Date: 12/23/04

  • Next message: Subhro: "RE: Problems with RAM"
    Date: Thu, 23 Dec 2004 18:31:27 +0300
    To: Siddhartha Jain <sid@netmagicsolutions.com>, freebsd-questions@freebsd.org
    
    

    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!
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Subhro: "RE: Problems with RAM"