Re: Jail Replication

2003-02-12 Thread Anders Nordby
Hi,

On Tue, Feb 11, 2003 at 09:38:19PM -0400, The Hermit Hacker wrote:
  The easiest way is to set the jail up as a file using vnconfig.
 there are various software packages that will not work in a vnconfig
 environment ... I tried using it, and one of the issues I hit was a
 distinct lack of inodes until you got into some relatively large vnodes
 ... postfix was one piece of software that I just couldn't get to work in
 a vnode, as it always told me the message was too large, yet I had 30Meg
 of free space ...

Like I told you some time ago, you can set message_size_limit to 0 to
work around this. It may not be something you want to stay that way, but
at least it works.

Cheers,

-- 
Anders.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Jail Replication

2003-02-12 Thread Marc G. Fournier
On Thu, 13 Feb 2003, Anders Nordby wrote:

 Hi,

 On Tue, Feb 11, 2003 at 09:38:19PM -0400, The Hermit Hacker wrote:
 The easiest way is to set the jail up as a file using vnconfig.
  there are various software packages that will not work in a vnconfig
  environment ... I tried using it, and one of the issues I hit was a
  distinct lack of inodes until you got into some relatively large vnodes
  ... postfix was one piece of software that I just couldn't get to work in
  a vnode, as it always told me the message was too large, yet I had 30Meg
  of free space ...

 Like I told you some time ago, you can set message_size_limit to 0 to
 work around this. It may not be something you want to stay that way, but
 at least it works.

Actually, if I recall correctly, the issue was one of a lack of inodes,
which setting message_size_limit to 0 doesn't help ... I even played with
increasing the # of inodes, and the lose of space that resulted, I didn't
find, warranted using it ...


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Jail Replication

2003-02-11 Thread The Hermit Hacker
On Tue, 11 Feb 2003, Dave Kingsley wrote:

 Good Afternoon!
 We have been trying to set up a system of jails on FreeBSD 5.0 machines.

 Building a jail from scratch seems to be no problem.  Everything seems
 to work

 just fine.  Here is our problem.  We would like to be able to replicate
 jails

 quickly, both on the original host machine and on others as well.

 Creating a tar-ball, untarring in the new location, making necessary
 tweaks,

 seemed to work OK at first.  But we can't reset passwords, etc. out side of

 sysinstall!?  What are we doing wrong?  What are we missing?

Good question, we do this on a near daily basis without any problems ...
we use 'tar cvzpf' to create the archive (and xvzpf to extract) te
archives, to ensure that permissions are maintained ... but that's it ...


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Jail Replication

2003-02-11 Thread Stefanos Kiakas


Hello,

The easiest way is to set the jail up as a file using vnconfig. 
Then you just copy the file like any file, transfer it by FTP etc.

Therefore by coping the original jail to a new file it has the 
default passwords which can then be changed as needed.


Stefanos

--- Forwarded Message

Message-ID: [EMAIL PROTECTED]
Date: Tue, 11 Feb 2003 16:25:45 -0500
From: Dave Kingsley [EMAIL PROTECTED]
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20030117
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Jail Replication

Good Afternoon!
We have been trying to set up a system of jails on FreeBSD 5.0 machines.

Building a jail from scratch seems to be no problem.  Everything seems 
to work

just fine.  Here is our problem.  We would like to be able to replicate 
jails

quickly, both on the original host machine and on others as well.

Creating a tar-ball, untarring in the new location, making necessary 
tweaks,

seemed to work OK at first.  But we can't reset passwords, etc. out side of

sysinstall!?  What are we doing wrong?  What are we missing?


Help!


Thanks,


- -- Dave

- -- 
Dave Kingsley   Voice: 617-745-3806
Systems Administrator   FAX:   617-745-3907
Eastern Nazarene College
23 E. Elm AvenueE-mail: [EMAIL PROTECTED]
Quincy, MA 02170
***
There are 10 types of people . . . . Those who understand binary,
And those who don't!



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message

--- End of Forwarded Message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Jail Replication

2003-02-11 Thread The Hermit Hacker
On Tue, 11 Feb 2003, Stefanos Kiakas wrote:



 Hello,

   The easiest way is to set the jail up as a file using vnconfig.

there are various software packages that will not work in a vnconfig
environment ... I tried using it, and one of the issues I hit was a
distinct lack of inodes until you got into some relatively large vnodes
... postfix was one piece of software that I just couldn't get to work in
a vnode, as it always told me the message was too large, yet I had 30Meg
of free space ...


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message