Re: Configuration differences for jails

2005-04-23 Thread Jas arlerr
From: Jeremie Le Hen <[EMAIL PROTECTED]> To: Jas arlerr <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED], freebsd-hackers@freebsd.org Subject: Re: Configuration differences for jails Date: Fri, 22 Apr 2005 17:41:40 +0200 Hi, > I am not very familar with mount_nullfs, but i think it is _

Re: Configuration differences for jails

2005-04-22 Thread Jeremie Le Hen
Hi, > I am not very familar with mount_nullfs, but i think it is _one_ copy with > _multiple_ references(FIXME).So if we modify something in one jail, the > same effect will also impose on other jails,even the real machine. Due > to this problem, readonly mounts may be a good choice. Usually, /b

Re: Configuration differences for jails

2005-04-22 Thread Jeremie Le Hen
> # This will create the standard directory hierarchy using mtree(8). > make DESTDIR=/jail distrib-dirs For the record, I discovered the "hierarchy" make target in /usr/src/Makefile.inc. I think we ought to use this one instead on the internal distrib-dirs target. -- Jeremie Le Hen < jeremie a

Re: Configuration differences for jails

2005-04-22 Thread Jas arlerr
From: Joerg Sonnenberger <[EMAIL PROTECTED]> To: freebsd-hackers@freebsd.org Subject: Re: Configuration differences for jails Date: Thu, 21 Apr 2005 13:43:59 +0200 On Thu, Apr 21, 2005 at 07:39:08AM -0400, c0ldbyte wrote: > Now if that last question is correct and thats the procces

Re: Configuration differences for jails

2005-04-22 Thread Jeremie Le Hen
> I've seen them mentioned again in this thread. There apparently is a > "make distribution" target designed to address /etc, but I can't find it > anywhere. cd /usr/src/etc # This will create the standard directory hierarchy using mtree(8). make DESTDIR=/jail distrib-dirs # This will install a

Re: Configuration differences for jails

2005-04-21 Thread Joan Picanyol i Puig
* Jeremie Le Hen <[EMAIL PROTECTED]> [20050420 18:55]: [snip much appreciated example] > > I don't think it's easy to take /etc/ outside the root fs, but I don't > > see how to share /bin or /lib without leaking info. > > > > How do you handle this? > > As I said above, null mount each directory

Re: Configuration differences for jails

2005-04-21 Thread Devon H. O'Dell
On Thu, Apr 21, 2005 at 08:23:46AM -0400, c0ldbyte wrote: > On Thu, 21 Apr 2005, Joerg Sonnenberger wrote: > > >On Thu, Apr 21, 2005 at 07:39:08AM -0400, c0ldbyte wrote: > >>Now if that last question is correct and thats the proccess you are using > >>to create a jail then depending on the situati

Re: Configuration differences for jails

2005-04-21 Thread c0ldbyte
On Thu, 21 Apr 2005, Joerg Sonnenberger wrote: On Thu, Apr 21, 2005 at 07:39:08AM -0400, c0ldbyte wrote: Now if that last question is correct and thats the proccess you are using to create a jail then depending on the situation wouldnt that inturn defeat some of the main purposes of the jail, like

Re: Configuration differences for jails

2005-04-21 Thread 张 风
From: Jeremie Le Hen <[EMAIL PROTECTED]> To: ?? ?? <[EMAIL PROTECTED]> CC: freebsd-hackers@freebsd.org Subject: Re: Configuration differences for jails Date: Wed, 20 Apr 2005 16:37:15 +0200 > Now with some distance, I must admit that all this gymnastic is quite > boring. I now

Re: Configuration differences for jails

2005-04-21 Thread Joerg Sonnenberger
On Thu, Apr 21, 2005 at 07:39:08AM -0400, c0ldbyte wrote: > Now if that last question is correct and thats the proccess you are using > to create a jail then depending on the situation wouldnt that inturn > defeat some of the main purposes of the jail, like the following. If you > mounted your "/bi

Re: Configuration differences for jails

2005-04-21 Thread c0ldbyte
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 20 Apr 2005, Jeremie Le Hen wrote: I'm trying to untangle myself on this issue. I have different filesystems for /, /usr, and /usr/local, mounted in unusual places: 504,p0,1$ ls -l /usr{,/X11R6,/local} lrwxr-xr-x 1 root wheel 18 7 nov 2003

Re: Configuration differences for jails

2005-04-20 Thread Jeremie Le Hen
> I'm trying to untangle myself on this issue. I have different > filesystems for /, /usr, and /usr/local, mounted in unusual places: > > 504,p0,1$ ls -l /usr{,/X11R6,/local} > lrwxr-xr-x 1 root wheel 18 7 nov 2003 /usr -> fs/base/mount/usr/ > lrwxr-xr-x 1 root wheel 25 8 nov 2003 /usr/X

Re: Configuration differences for jails

2005-04-20 Thread Joan Picanyol i Puig
* Jeremie Le Hen <[EMAIL PROTECTED]> [20050420 16:37]: > > Now with some distance, I must admit that all this gymnastic is quite > > boring. I now decided to run two virtual hosts as they are managed in > > a very natural way. These two hosts are just like two real boxes, one > > running Bind and

Re: Configuration differences for jails

2005-04-20 Thread Jeremie Le Hen
> Now with some distance, I must admit that all this gymnastic is quite > boring. I now decided to run two virtual hosts as they are managed in > a very natural way. These two hosts are just like two real boxes, one > running Bind and the other one running Postfix. When I need to update > someth

Re: Configuration differences for jails

2005-04-20 Thread Jeremie Le Hen
Hi, > I am now trying to use jail in FreeBSD. I have read the jail(8) man page > and some > others documents for setting up jails. But I'm a little confused about the > procedure and configurations for setting up jails. > As known to all, jail can be used for two purposes, i.e. jailing a singl

Configuration differences for jails

2005-04-20 Thread 张 风
Hi, I am now trying to use jail in FreeBSD. I have read the jail(8) man page and some others documents for setting up jails. But I'm a little confused about the procedure and configurations for setting up jails. As known to all, jail can be used for two purposes, i.e. jailing a single applicat