RE: JAIL can't FTP ports?

2003-11-10 Thread Brent Wiese
In addition to Rus' comments:

 1) Can I use FTP to install ports or packages without going 
 through sysinstall?

Yes, and to me, this seems the smarter way to do it. You can pkg_add -r to
your hearts content, or, if you want all the ports (which I prefer over
packages myself), use fetch to grab the latest ports.tar.gz and unzip it.

 2) If not, is there any other way to get the entire ports 
 collection into the jail, without actually being at the console?

SSH in and do the fetch I mentioned above.

 And if I create a jail from a system with no ports, does that 
 mean the jail will have no ports? And if my system has the 
 entire ports collection installed, will a new jail also have them?

I do not believe (I could be wrong, I've only done jail setups once) that
when you create the jail it does not install the ports tree whether its on
your box or not. However, if you want to avoid the bandwidth hit of fetching
the ports.tar.gz, you could copy it over from the master into the jail/ports
dir. If its an old ports.tar.gz, then you can cvsup it from inside the
jail...

I found this link to be superb when setting up jails for the first time:
http://www.onlamp.com/pub/a/bsd/2003/09/04/jails.html

Brent


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


JAIL can't FTP ports?

2003-11-08 Thread Chris

While logged into a jail (running on a public IP address), I can SSH into it and run 
/stand/sysinstall. I choose the options to install a port or package via FTP, and I 
end up with a message like No network devices available

I found a year-and-a-half-old post that mentioned sysinstall trying to use low level 
calls, and jails not allowing low level calls. While I really don't understand exactly 
what that means, I guess it brings up the questions:

1) Can I use FTP to install ports or packages without going through sysinstall?
2) If not, is there any other way to get the entire ports collection into the jail, 
without actually being at the console?

And if I create a jail from a system with no ports, does that mean the jail will have 
no ports? And if my system has the entire ports collection installed, will a new jail 
also have them?

Thanks again,
Chris

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]