Jail and questions

2012-03-12 Thread Bernt Hansson
Hello list I've setup a 32-bit jail on amd64 freebsd 8.2-stable. It works, sort of, but when i run portsnap extract in the jail it say Building new INDEX files... make_index: fopen(/dev/stdin): No such file or directory #ls /dev lrwxr-xr-x 1 root wheel12 6 Mar 02:56 log -

Re: Jail and questions

2012-03-12 Thread Da Rock
On 03/13/12 09:15, Bernt Hansson wrote: Hello list I've setup a 32-bit jail on amd64 freebsd 8.2-stable. It works, sort of, but when i run portsnap extract in the jail it say Building new INDEX files... make_index: fopen(/dev/stdin): No such file or directory #ls /dev lrwxr-xr-x 1 root

Re: jail - beginner questions

2009-11-18 Thread Laszlo Nagy
The address 192.168.0.11 must be assigned to a interface in the host FreeBSD. You can do it before starting the jail, or when the jail is being started. To assign the address before starting the jail do somthing like this: # ifconfig lnc0 alias 192.168.0.11/24 where lnc0 is the name of nic in

Re: jail - beginner questions

2009-11-18 Thread Boris Samorodov
Laszlo Nagy gand...@shopzeus.com writes: I do not want to expose my jail's private IP address to the internet. Use loopback interface and 127.x.x.x address. -- WBR, bsam ___ freebsd-questions@freebsd.org mailing list

Re: jail - beginner questions

2009-11-18 Thread Brian A. Seklecki (CFI NOC)
I really think that it should be corrected to: cd /usr/src make distribution DESTDIR=$D That's almost certainly correct, but it notes: Notes [1] This step is not required on FreeBSD 6.0 and later. But then I get this error in syslog: bind: Can't assign requested address That's a

Re: jail - beginner questions

2009-11-18 Thread Michael Svobodin
On Wed, Nov 18, 2009 at 09:09:32AM +0100, Laszlo Nagy wrote: Great. Here is what I did: sorb# mkdir -p /usr/jails/vm1 sorb# cd /usr/src sorb# setenv D /usr/jails/vm1 sorb# make installworld DESTDIR=$D sorb# make distribution DESTDIR=$D sorb# cat /etc/rc.conf jail_enable=YES

jail - beginner questions

2009-11-17 Thread Laszlo Nagy
I'm experimenting with jails. I have installed a 7.2 stable FreeBSD inside vmware. Then I have created two jails, using the method written in the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-build.html The only thing that didn't work is this: cd /etc make

Re: jail - beginner questions

2009-11-17 Thread Lowell Gilbert
Laszlo Nagy gand...@shopzeus.com writes: I'm experimenting with jails. I have installed a 7.2 stable FreeBSD inside vmware. Then I have created two jails, using the method written in the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-build.html The only thing

Re: jail - beginner questions

2009-11-17 Thread Laszlo Nagy
No, I think you added the '/' before 'etc', which isn't in the web page. Gotcha. Is the problem perhaps in your /etc/rc.d/vm1 script? Normally you would use /etc/rc.d/jail. Yes, I'm. Sorry - it was a typo. I used this: /etc/rc.d/jail start vm1 Are those addresses already assigned

Re: jail - beginner questions

2009-11-17 Thread Michael Svobodin
On Tue, Nov 17, 2009 at 10:41:14PM +0430, Laszlo Nagy wrote: My computer is a windows machine, with address 192.168.0.X Then the FreeBSD host is actually a guest os running in wvmare. It has address 192.168.37.133 And finally, the vm1 jail should have 192.168.0.11 I don't know why

Re: Jail FS questions.

2003-10-10 Thread Marc G. Fournier
On Thu, 9 Oct 2003, Kris Kennaway wrote: On Fri, Oct 10, 2003 at 12:46:18AM -0300, Marc G. Fournier wrote: On Thu, 9 Oct 2003, Kris Kennaway wrote: Yes, it's a good thing that some developers are finally working on fixing some of the problems, but the fact remains that

Re: Jail FS questions.

2003-10-10 Thread Marc G. Fournier
On Thu, 9 Oct 2003, Kris Kennaway wrote: Shooting down ppl that are willing to test and report bugs is equally as irresponsible though, and I've been seeing alot of that ... Okay, so you're changing the topic (we were talking about users, not testers). No, I'm talking about end-users

Re: Jail FS questions.

2003-10-09 Thread Kenny Freeman
I'm not sure about union fs, never had a real use for it yet I have a similair setup as you. I have about 4 jails running so far (~8 more to go). I've written a fairly large bash scipt to build the jails + configure them automagically too. I've got a 120GB drive in that system, so for me I

Re: Jail FS questions.

2003-10-09 Thread Kenny Freeman
err none /secure/files/mail /secure/internal/smtp/postfix/server/var/spool/mail nullfs rw,noexec,nosuid,nodev 0 0 same for the other entry - forgot the fs type... -Kenny On October 9, 2003 05:00 pm, Kenny Freeman wrote: I'm not sure about union fs, never had a real use for it yet I have

Re: Jail FS questions.

2003-10-09 Thread Lewis Thompson
On Thu, Oct 09, 2003 at 05:00:02PM -0400, Kenny Freeman wrote: Content-Description: signed data I've got a 120GB drive in that system, so for me I don't really have a problem with space. Yeah, same here, but the way I figure it is it's surely better to conserve the disk space if at all possible

Re: Jail FS questions.

2003-10-09 Thread Marc G. Fournier
On Fri, 10 Oct 2003, Lewis Thompson wrote: Anyway, nullfs is great for remounting parts of the file system. Yeah, right now I'm using NFS mounts, which is a bit ugly, to say the least. Since I had troubles with union I steered clear of nullfs, since the same ``slippery dog'' warning

Re: Jail FS questions.

2003-10-09 Thread Lewis Thompson
On Thu, Oct 09, 2003 at 09:17:12PM -0300, Marc G. Fournier wrote: On Fri, 10 Oct 2003, Lewis Thompson wrote: Anyway, nullfs is great for remounting parts of the file system. Yeah, right now I'm using NFS mounts, which is a bit ugly, to say the least. Since I had troubles with union

Re: Jail FS questions.

2003-10-09 Thread Marc G. Fournier
On Fri, 10 Oct 2003, Lewis Thompson wrote: On Thu, Oct 09, 2003 at 09:17:12PM -0300, Marc G. Fournier wrote: On Fri, 10 Oct 2003, Lewis Thompson wrote: Anyway, nullfs is great for remounting parts of the file system. Yeah, right now I'm using NFS mounts, which is a bit ugly,

Re: Jail FS questions.

2003-10-09 Thread Lewis Thompson
On Thu, Oct 09, 2003 at 09:31:05PM -0300, Marc G. Fournier wrote: On Fri, 10 Oct 2003, Lewis Thompson wrote: Just causing system reboots. Randomly. Also, for some reason it doesn't seem to propogate permissions, which is annoying for using them as the bases for jails. system

Re: Jail FS questions.

2003-10-09 Thread Kris Kennaway
On Thu, Oct 09, 2003 at 05:00:02PM -0400, Kenny Freeman wrote: I've been reading about unionfs and nullfs (well, more skim reading really; I'm not FS guru, which is why I'm asking here) and one of these sounds like it could be the idea solution. At first glance I'd say that unionfs

Re: Jail FS questions.

2003-10-09 Thread Marc G. Fournier
5.1-RELEASE, latest patches. I think this might be the problem. I'm having vinum issues too. 'K, haven't started to play with 5.1 yet, since its still label'd as not production quality ... or at least it was when I asked before installing my last server a month or so ago ... permissions:

Re: Jail FS questions.

2003-10-09 Thread Marc G. Fournier
On Thu, 9 Oct 2003, Kris Kennaway wrote: On Thu, Oct 09, 2003 at 05:00:02PM -0400, Kenny Freeman wrote: I've been reading about unionfs and nullfs (well, more skim reading really; I'm not FS guru, which is why I'm asking here) and one of these sounds like it could be the idea

Re: Jail FS questions.

2003-10-09 Thread Kris Kennaway
On Thu, Oct 09, 2003 at 10:55:26PM -0300, Marc G. Fournier wrote: On Thu, 9 Oct 2003, Kris Kennaway wrote: On Thu, Oct 09, 2003 at 05:00:02PM -0400, Kenny Freeman wrote: I've been reading about unionfs and nullfs (well, more skim reading really; I'm not FS guru, which is why

Re: Jail FS questions.

2003-10-09 Thread Kris Kennaway
On Thu, Oct 09, 2003 at 10:19:46PM -0300, Marc G. Fournier wrote: If I use unionfs as the ``base'' for the jail then every directory seems to be automagically owned by the person that mounted it (i.e. root). This causes me problems for stuff like mailspool, etc. I think this is the way

Re: Jail FS questions.

2003-10-09 Thread Marc G. Fournier
On Thu, 9 Oct 2003, Kris Kennaway wrote: Yes, it's a good thing that some developers are finally working on fixing some of the problems, but the fact remains that nullfs/unionfs *are not known to work in all situations* (indeed, I was able to trigger unionfs bugs within a few minutes of

Re: Jail FS questions.

2003-10-09 Thread Marc G. Fournier
On Thu, 9 Oct 2003, Kris Kennaway wrote: On Thu, Oct 09, 2003 at 10:19:46PM -0300, Marc G. Fournier wrote: If I use unionfs as the ``base'' for the jail then every directory seems to be automagically owned by the person that mounted it (i.e. root). This causes me problems for stuff

Re: Jail FS questions. (Columbus ref)

2003-10-09 Thread Pat Lashley
--On Thursday, October 09, 2003 22:55:26 -0300 Marc G. Fournier [EMAIL PROTECTED] wrote: You know, its this attitude that would have kept Christopher Columbus in Europe ... all the big scary warnings said that the world was flat back then, no? No, not at all. Because by the time of Columbus,

Re: Jail FS questions.

2003-10-09 Thread Kris Kennaway
On Fri, Oct 10, 2003 at 12:48:49AM -0300, Marc G. Fournier wrote: On Thu, 9 Oct 2003, Kris Kennaway wrote: On Thu, Oct 09, 2003 at 10:19:46PM -0300, Marc G. Fournier wrote: If I use unionfs as the ``base'' for the jail then every directory seems to be automagically owned by the

Re: Jail FS questions.

2003-10-09 Thread Kris Kennaway
On Fri, Oct 10, 2003 at 12:46:18AM -0300, Marc G. Fournier wrote: On Thu, 9 Oct 2003, Kris Kennaway wrote: Yes, it's a good thing that some developers are finally working on fixing some of the problems, but the fact remains that nullfs/unionfs *are not known to work in all situations*

Jail FS questions.

2003-08-14 Thread Lewis Thompson
Hi, I currently have a bunch of jails running on my FreeBSD box. I've done this by making installworld a number of times, each time with a different DESTDIR (say /jail1, /jail2, /jail3). Clearly this is using a significant amount of space on the machine. I've been reading about unionfs and