Re: /etc/rc.d/jail script

2013-01-29 Thread Fbsd8
Fbsd8 wrote: I have noticed that the /etc/rc.d/jail script will not start a jail that has the same ip address as a jail that is already running. But if I define 2 jails the manual way in rc.conf that have the same ip address they will start. So is this a bug in the "jail" script o

/etc/rc.d/jail script

2013-01-28 Thread Fbsd8
I have noticed that the /etc/rc.d/jail script will not start a jail that has the same ip address as a jail that is already running. But if I define 2 jails the manual way in rc.conf that have the same ip address they will start. So is this a bug in the "jail" script or is there some

poudriere jail stable/0 create via svn: auditdistd user is missing

2013-01-08 Thread Patrick Lamaiziere
Hello, # poudriere jail -c -j 9amd64 -v stable/9 -m svn ... -- >>> World build completed on Wed Jan 9 01:32:43 CET 2013 -- >> Starting make installworld

Re: changing prompt for user in jail

2012-12-31 Thread Polytropon
On Mon, 31 Dec 2012 12:29:44 -0500, Fbsd8 wrote: > Aldis Berjoza wrote: > > > > 31.12.2012, 18:26, "Fbsd8" : > > > >> Them I put the set prompt = "# %/ >" statement in the jail's > >> /usr/share/skel/.cshrc and created a different user account > >> using the same pw command, still no joy. > > >

Re: changing prompt for user in jail

2012-12-31 Thread Polytropon
On Mon, 31 Dec 2012 11:25:38 -0500, Fbsd8 wrote: > Now when I login to the jail over remote ssh to the just created user > account I get the % prompt, then su to root and get the > set prompt = "# %/ >". > I want that same prompt for all user I create in the jail. Ea

Re: changing prompt for user in jail

2012-12-31 Thread Fbsd8
Aldis Berjoza wrote: 31.12.2012, 18:26, "Fbsd8" : Them I put the set prompt = "# %/ >" statement in the jail's /usr/share/skel/.cshrc and created a different user account using the same pw command, still no joy. Shouldn't that be /etc/skel/.cshrc ? Nope, no such directory as /etc/skel as

Re: changing prompt for user in jail

2012-12-31 Thread Aldis Berjoza
31.12.2012, 18:26, "Fbsd8" : > Them I put the set prompt = "# %/ >" statement in the jail's > /usr/share/skel/.cshrc and created a different user account > using the same pw command, still no joy. Shouldn't that be /etc/skel/.cshrc ? -- Aldis Berjoza FreeBSD addict ___

changing prompt for user in jail

2012-12-31 Thread Fbsd8
When I change the prompt for root's .cshrc file in the jail it works as expected. if ($?prompt) then # An interactive shell -- set some stuff up set prompt = "# %/ >" set filec set history = 100 set savehist = 100 set mail

Re: how to configure host login account to use jail?

2012-12-23 Thread Fbsd8
Fbsd8 wrote: Matthew Seaman wrote: On 23/12/2012 13:11, Fbsd8 wrote: Ok but as my question asks, how do you configure things to get that to work? I am after the details. You need to run an instance of sshd in each jail. Because sshd defaults to binding to INADDR_ANY, you need to modify the

Re: how to configure host login account to use jail?

2012-12-23 Thread Fbsd8
Matthew Seaman wrote: On 23/12/2012 13:11, Fbsd8 wrote: Ok but as my question asks, how do you configure things to get that to work? I am after the details. You need to run an instance of sshd in each jail. Because sshd defaults to binding to INADDR_ANY, you need to modify the sshd

Re: how to configure host login account to use jail?

2012-12-23 Thread Matthew Seaman
On 23/12/2012 13:11, Fbsd8 wrote: > Ok but as my question asks, how do you configure things > to get that to work? I am after the details. You need to run an instance of sshd in each jail. Because sshd defaults to binding to INADDR_ANY, you need to modify the sshd configuration in th

Re: how to configure host login account to use jail?

2012-12-23 Thread Fbsd8
ic I want lan users to login to their jail by ip address using ssh. How do I setup host user accounts so they login to their associated jail? Is this something I code in the host user account or is it done by the remote ssh login command? How do other jail users do this? I assign public IPs

Re: how to configure host login account to use jail?

2012-12-22 Thread Damien Fleuriot
c > > I want lan users to login to their jail by ip address using ssh. > How do I setup host user accounts so they login to > their associated jail? > Is this something I code in the host user account or is it done > by the remote ssh login command? > > How do other jail

how to configure host login account to use jail?

2012-12-22 Thread Fbsd8
Have jails up and running on host with ip address of 10.0.10.10 10.0.10.11 10.0.10.12 10.0.10.13 10.0.10.14 The host rc.conf has ifconfig_xl0="DHCP" # nix connected to isp ifconfig_rl0="inet 10.0.10.2" #lan nic I want lan users to login to their jail by ip address using

Re: poudriere upgade perl in jail

2012-12-22 Thread Bas Smeelen
On 12/22/12 17:08, Patrick Lamaiziere wrote: Le Sat, 22 Dec 2012 16:56:09 +0100, Bas Smeelen a écrit : I have poudriere setup on a server to compile packages for my old laptop, mini, and some friends laptops and it works great. How can I upgrade the perl version of the poudriere jail to perl

Re: poudriere upgade perl in jail

2012-12-22 Thread Patrick Lamaiziere
Le Sat, 22 Dec 2012 16:56:09 +0100, Bas Smeelen a écrit : > I have poudriere setup on a server to compile packages for my old > laptop, mini, and some friends laptops and it works great. > > How can I upgrade the perl version of the poudriere jail to > perl-5.16, it is now pe

poudriere upgade perl in jail

2012-12-22 Thread Bas Smeelen
I have poudriere setup on a server to compile packages for my old laptop, mini, and some friends laptops and it works great. How can I upgrade the perl version of the poudriere jail to perl-5.16, it is now perl-5.14? I tried startied the jail with poudriere jail -s -j and then try jail

Re: IPCS resource access within a down-level jail?

2012-10-16 Thread Fbsd8
David Wolfskill wrote: [Please include me in responses; I've set Reply-To as a hint. Thanks!] A colleague had been running a program that makes use of IPCS message queues in a 7.x/i386 environment. He was moved to a 32-bit 7.x-based jail instantiated on an 8.x/amd64 host. Within that

IPCS resource access within a down-level jail?

2012-10-16 Thread David Wolfskill
[Please include me in responses; I've set Reply-To as a hint. Thanks!] A colleague had been running a program that makes use of IPCS message queues in a 7.x/i386 environment. He was moved to a 32-bit 7.x-based jail instantiated on an 8.x/amd64 host. Within that jail, "ipcs -a&quo

Re: Problem with r-o access in jail

2012-08-22 Thread James Edwards
> Want a nullfs filesystem to be read-only for tech people to search-only > maillog files. > > host machine's files: > > /var/log/mx1/maillog* files > > the maillog files are all 644 and r bit is set all along the path > > > using ezjail > > jail root is

Problem with r-o access in jail

2012-08-21 Thread Len Conrad
Want a nullfs filesystem to be read-only for tech people to search-only maillog files. host machine's files: /var/log/mx1/maillog* files the maillog files are all 644 and r bit is set all along the path using ezjail jail root is /var/jails jail name is fixit mkdir -p /var/jails/fixi

Re: can a jail have link to outside of the jail?

2012-08-16 Thread Wojciech Puchar
I have an ssh user who needs only to search some log files not in his jail. The jail required because I don't want the user seeing the rest the machine. If the dirs were linked to his jail, would that work? man mount_nullfs ___ freebsd-ques

Re: can a jail have link to outside of the jail?

2012-08-16 Thread Christer Solskogen
On Thu, Aug 16, 2012 at 8:51 PM, Len Conrad wrote: > > I have an ssh user who needs only to search some log files not in his jail. > The jail required because I don't want the user seeing the rest the machine. > If the dirs were linked to his jail, would that work? >

Re: can a jail have link to outside of the jail?

2012-08-16 Thread Devin Teske
On Aug 16, 2012, at 11:51 AM, Len Conrad wrote: > > I have an ssh user who needs only to search some log files not in his jail. > The jail required because I don't want the user seeing the rest the machine. > If the dirs were linked to his jail, would that work? > To s

Re: can a jail have link to outside of the jail?

2012-08-16 Thread Jeff Tipton
On 08/16/2012 21:51, Len Conrad wrote: I have an ssh user who needs only to search some log files not in his jail. The jail required because I don't want the user seeing the rest the machine. If the dirs were linked to his jail, would that work? What I'd really like is some

can a jail have link to outside of the jail?

2012-08-16 Thread Len Conrad
I have an ssh user who needs only to search some log files not in his jail. The jail required because I don't want the user seeing the rest the machine. If the dirs were linked to his jail, would that work? What I'd really like is something like ftpchroot for but ssh. suggest

Re: NFS within a Jail?!

2012-08-12 Thread Wojciech Puchar
http://forums.freebsd.org/showthread.php?t=29968&highlight=nfsd Found this which I think says it all at the conclusion. you are truly funny. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

Re: NFS within a Jail?!

2012-08-12 Thread blackfriar
to use (eg: > tinderbox) finally, 3) If you try to use net/unfs3 and succeed to export > NFS, this will not have a very fast (ro) transport rate and will have > many (rw) speed limitations. > > > My personal conclusion is to wait until the default kernel version of >

Re: NFS within a Jail?!

2012-08-12 Thread Fbsd8
of nfs is updated to be jail-friendly before I try using nfs in jails. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: Apache FCGI in a a jail under FBSD 9 won't start due to shared memory creation error

2012-08-11 Thread Chad Leigh Shire.Net LLC
On Aug 9, 2012, at 9:41 AM, Fbsd8 wrote: > Chad Leigh Shire.Net LLC wrote: >> On Aug 7, 2012, at 10:31 AM, Mark Felder wrote: >>> jail_sysvipc_allow="YES" in rc.conf should do it. >> Hmm >> I added that and rebooted the jail host sy

Re: NFS within a Jail?!

2012-08-11 Thread Wojciech Puchar
formance. Just do it. Do you run unfs3 in a jail on both the host:server and remote:client sides? Not now. but tried. unfs doesn't need ANY special kernel calls. It runs just like any program using UDP/TCP communication. jail/no jail doesn't make a difference. As with most programs.

Re: NFS within a Jail?!

2012-08-11 Thread Fbsd8
ome online? Do you run unfs3 in a jail on both the host:server and remote:client sides? Are there any sysctl nob settings needed to make unfs3 run in a jail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: NFS within a Jail?!

2012-08-11 Thread Wojciech Puchar
Now here is the KEY. No where does it say it has the "server" side function, only the client side. /usr/ports/net/unfs3 Even if someone "proved" that it doesn't do NFS server work, i will continue to use it as NFS server, because it works very well ;) ___

Re: NFS within a Jail?!

2012-08-10 Thread Ruben de Groot
On Fri, Aug 10, 2012 at 10:42:45AM -0400, Fbsd8 typed: > Ruben de Groot wrote: > >On Fri, Aug 10, 2012 at 08:36:04AM -0400, Fbsd8 typed: > >>Wojciech Puchar wrote: > >Many thanks in advance. > > > Quick answer is "No, NFS only runs on the host system". > > >>>but user space nfsd wo

Re: NFS within a Jail?!

2012-08-10 Thread Adam Vande More
On Wed, Aug 8, 2012 at 1:57 PM, Fbsd8 wrote: > > Dealing with this has been SOP practice in jails since their inception. >> See man 8 jail. The best way to run the NFS server is from the jail. >> Running it host side is the hard part. >> >> > http://www.freebsd

Re: NFS within a Jail?!

2012-08-10 Thread Fbsd8
Ruben de Groot wrote: On Fri, Aug 10, 2012 at 08:36:04AM -0400, Fbsd8 typed: Wojciech Puchar wrote: Many thanks in advance. Quick answer is "No, NFS only runs on the host system". but user space nfsd works. in ports - unfsd Close but no cigar. In the ports system it's named unfs3 and de

Re: NFS within a Jail?!

2012-08-10 Thread Ruben de Groot
On Fri, Aug 10, 2012 at 08:36:04AM -0400, Fbsd8 typed: > Wojciech Puchar wrote: > >>> > >>>Many thanks in advance. > >>> > >> > >>Quick answer is "No, NFS only runs on the host system". > >> > >but user space nfsd works. in ports - unfsd > > > > > > Close but no cigar. > > In the ports system it'

Re: NFS within a Jail?!

2012-08-10 Thread Fbsd8
s have 18k downloads even though it's labeled as beta version. So the question back to Wojciech Puchar is; are you running this unfs3 in a client jail on one pc and the server side in a jail on the host? Put another way can you confirm from experience that this unfs3 port has both clien

Re: NFS within a Jail?!

2012-08-10 Thread Blackfriar
Really? Is that stable enough to serve files for months without disruption? Wojciech Puchar wrote: >>> >>> Many thanks in advance. >>> >> >> Quick answer is "No, NFS only runs on the host system". >> >but user space nfsd works. in ports - unfsd -- Sent from my Android phone with K-9 Mail. Pl

Re: NFS within a Jail?!

2012-08-09 Thread Wojciech Puchar
Many thanks in advance. Quick answer is "No, NFS only runs on the host system". but user space nfsd works. in ports - unfsd ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, s

Re: Apache FCGI in a a jail under FBSD 9 won't start due to shared memory creation error

2012-08-09 Thread Fbsd8
Chad Leigh Shire.Net LLC wrote: On Aug 7, 2012, at 10:31 AM, Mark Felder wrote: jail_sysvipc_allow="YES" in rc.conf should do it. Hmm I added that and rebooted the jail host system. However, the setting in sysctl security.jail.sysvipc_allowed is still 0 after the reboot #

Re: NFS within a Jail?!

2012-08-08 Thread Fbsd8
their inception. See man 8 jail. The best way to run the NFS server is from the jail. Running it host side is the hard part. http://www.freebsd.org/cgi/query-pr.cgi?pr=133265 The jail code maintainer says NFS server/client will not work jailed. So since you say this is SOP (standard operation

Re: NFS within a Jail?!

2012-08-08 Thread Mark Felder
On Wed, 08 Aug 2012 11:55:51 -0500, Adam Vande More wrote: There are a number of people who have reached the opposite decision concerning VIMAGE/VNET enabled jails. They are much easier to work with and provide nice capabilities. I tried it on 9.0-RELEASE and was able to cause kernel pani

Re: NFS within a Jail?!

2012-08-08 Thread Adam Vande More
ir inception. See man 8 jail. The best way to run the NFS server is from the jail. Running it host side is the hard part. > There is some experimental software to give each jail its own network > stack but I sure would not deploy a production system based on this. > There are a numb

Re: NFS within a Jail?!

2012-08-08 Thread blackfriar
Clear! Thanks a lot. On Wed, 2012-08-08 at 10:02 -0400, Fbsd8 wrote: > blackfriar wrote: > > Hi everybody! > > I'm wondering if it's possible to run in a "clear fashion" an NFS server > > within a jail on FreeBSD 9.0. > > > > I'm having s

Re: NFS within a Jail?!

2012-08-08 Thread Fbsd8
blackfriar wrote: Hi everybody! I'm wondering if it's possible to run in a "clear fashion" an NFS server within a jail on FreeBSD 9.0. I'm having some issues that make me think this is not supposed to work. I've googled it but I couldn't find much especially

Re: Apache FCGI in a a jail under FBSD 9 won't start due to shared memory creation error

2012-08-07 Thread Chad Leigh Shire.Net LLC
On Aug 7, 2012, at 10:31 AM, Mark Felder wrote: > jail_sysvipc_allow="YES" in rc.conf should do it. Hmm I added that and rebooted the jail host system. However, the setting in sysctl security.jail.sysvipc_allowed is still 0 after the reboot # sysctl -a |

Re: Apache FCGI in a a jail under FBSD 9 won't start due to shared memory creation error

2012-08-07 Thread Mark Felder
jail_sysvipc_allow="YES" in rc.conf should do it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Apache FCGI in a a jail under FBSD 9 won't start due to shared memory creation error

2012-08-07 Thread Chad Leigh Shire . Net LLC
n the jail in question, and recently had need to add mod_fcgid to it. NOTE that the Apache and mod_fcgid were not installed through ports or packages. I download the source and build myself (for various reasons). Apache inside the Jail, with mod_fcgid enabled will not start: [Mon Jul 23 10:

NFS within a Jail?!

2012-08-07 Thread blackfriar
Hi everybody! I'm wondering if it's possible to run in a "clear fashion" an NFS server within a jail on FreeBSD 9.0. I'm having some issues that make me think this is not supposed to work. I've googled it but I couldn't find much especially on releases prior 5!!

Re: bsdinstall to jail aborted (9.0-RELEASE-p3, amd64)

2012-07-29 Thread Matthias Petermann
Hi Darren, On Sun, 29 Jul 2012 04:57:43 +0400 Darren Baginski wrote: > No, feel free to open if you feel it needed. > I would say it's more a feature request, but without it, bsdinstall not > usable on non release environments. thanks, I submitted the PR here: http://www.freebsd.org/cgi/query-

Re: bsdinstall to jail aborted (9.0-RELEASE-p3, amd64)

2012-07-28 Thread Darren Baginski
29.07.2012, 00:29, "Matthias Petermann" : > Hi Darren, > > thanks for diving into the issue. I looked through the mentioned places in > the bsdinstall code and understand it now. > > On Sat, 28 Jul 2012 17:24:48 +0400 > Darren Baginski wrote: > >>  I thing release/arch selection has to be a par

Re: bsdinstall to jail aborted (9.0-RELEASE-p3, amd64)

2012-07-28 Thread Matthias Petermann
Hi Darren, thanks for diving into the issue. I looked through the mentioned places in the bsdinstall code and understand it now. On Sat, 28 Jul 2012 17:24:48 +0400 Darren Baginski wrote: > I thing release/arch selection has to be a part of the installer, either > directly or via environment v

Re: bsdinstall to jail aborted (9.0-RELEASE-p3, amd64)

2012-07-28 Thread Darren Baginski
28.07.2012, 17:13, "Darren Baginski" : > 28.07.2012, 13:46, "Matthias Petermann" : > >>  Hello, >> >>  currently I experienced an unexpected behavior of the FreeBSD bsdinstall >> installer. Some weeks ago I could use it sucessfully to create a

Re: bsdinstall to jail aborted (9.0-RELEASE-p3, amd64)

2012-07-28 Thread Darren Baginski
28.07.2012, 13:46, "Matthias Petermann" : > Hello, > > currently I experienced an unexpected behavior of the FreeBSD bsdinstall > installer. Some weeks ago I could use it sucessfully to create a jail > environment with > > # bsdinstall jail /jails/myjail >

bsdinstall to jail aborted (9.0-RELEASE-p3, amd64)

2012-07-28 Thread Matthias Petermann
Hello, currently I experienced an unexpected behavior of the FreeBSD bsdinstall installer. Some weeks ago I could use it sucessfully to create a jail environment with # bsdinstall jail /jails/myjail Today I tried to repeat this on another system(2) and it fails after the selection of the to

Apache FCGI in a a jail under FBSD 9 won't start due to shared memory creation error

2012-07-27 Thread Chad Leigh Shire . Net LLC
Hi I run systems using FreeBSD 9.0 FreeBSD utah.XXXcom 9.0-STABLE FreeBSD 9.0-STABLE #1: Wed Mar 21 15:22:14 MDT 2012 chad@underhill:/usr/obj/usr/src/sys/UNDERHILL-XEN amd64 and on those systems run a bunch of jails. I have Apache 2.2 built and running in the jail in question, and

Re: Jailed slapd process not visible with ps within a jail

2012-07-04 Thread Matthias Petermann
Hi Matthew, thanks for your response. On Wed, 04 Jul 2012 08:05:00 +0100 Matthew Seaman wrote: > What does > > # ps -uxp 6255 > > show, from within the jail? (if you've restarted slapd since, > substitute the current PID, obviously.) This is funny, I restarted

Re: Jailed slapd process not visible with ps within a jail

2012-07-04 Thread Matthew Seaman
On 04/07/2012 06:20, Matthias Petermann wrote: > When I now do "ps aux" within the Jail, it doesn't show me the slapd > process but doing the same in the Host system, I can see it. > >[matthias@netti2 /usr/home/matthias]$ ps ax|grep slap > 6255 ?? IsJ0:

Jailed slapd process not visible with ps within a jail

2012-07-03 Thread Matthias Petermann
Hello, under my FreeBSD 9 I recently found a behavior I cannot explain. The systems fingerprint is: netti2# uname -a FreeBSD netti2 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 There is a Jail

Re: jail v2 documentation?

2012-04-15 Thread Devin Teske
On Apr 14, 2012, at 2:19 PM, Mark Felder wrote: > On Sat, 14 Apr 2012 14:59:47 -0500, wrote: >> >> I don't see any v2 in the jail environment. Vimage is a separate software >> module that is not part of the the system base release. It has to be >> compiled in

Re: jail v2 documentation?

2012-04-14 Thread Mark Felder
On Sat, 14 Apr 2012 14:59:47 -0500, wrote: I don't see any v2 in the jail environment. Vimage is a separate software module that is not part of the the system base release. It has to be compiled into a custom kernel to be enabled and it's labeled as experimental, "use a

Re: jail v2 documentation?

2012-04-14 Thread Fbsd8
Mark Felder wrote: On Fri, 13 Apr 2012 15:18:05 -0500, wrote: Where can I find documentation on version 2 of jail? It's quite scare because it's still experimental. I'd look up VNET and VIMAGE. You can probably get more questions answered on the freebsd-jails@ mailing lis

Re: jail v2 documentation?

2012-04-13 Thread Mark Felder
On Fri, 13 Apr 2012 18:01:08 -0500, Mark Felder wrote: freebsd-jails@ My apologies; this should be singular and not plural: freebsd-jail@ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

Re: jail v2 documentation?

2012-04-13 Thread Mark Felder
On Fri, 13 Apr 2012 15:18:05 -0500, wrote: Where can I find documentation on version 2 of jail? It's quite scare because it's still experimental. I'd look up VNET and VIMAGE. You can probably get more questions answered on the freebsd-jails@

jail v2 documentation?

2012-04-13 Thread Fbsd8
Where can I find documentation on version 2 of jail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: Problem installing bind in jail

2012-04-05 Thread Da Rock
On 04/06/12 03:24, bsd wrote: Hi, I have followed the tutorial provided in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-application.html I have now five jails up and running and I am very happy with the system. One of my jail is acting as an important DNS server and It

Re: Problem installing bind in jail

2012-04-05 Thread Matthew Seaman
On 05/04/2012 18:24, bsd wrote: > I have decided to recompile bind in the latest version and I am > running into a problem which is caused by bind port not following the > FreeBSD requisites and trying to install things in /usr/include/isc What on earth gives you the idea that dns/bind98 doesn't c

Problem installing bind in jail

2012-04-05 Thread bsd
Hi, I have followed the tutorial provided in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-application.html I have now five jails up and running and I am very happy with the system. One of my jail is acting as an important DNS server and It needs to be up to date. I have

Re: Questions about Jail

2012-04-04 Thread perryh
Fbsd8 wrote: > In most cases your jail environment will function ok as long as > its the same base release level. Example, host=8.0 jail1=8.1 and > jail2=8.2 IIUC, a better example would be host=8.2, jail1=8.1 and jail2=8.0. A point release is not supposed to make any incompatible c

Re: Questions about Jail

2012-04-03 Thread Fbsd8
James Y Chen wrote: Hi I think Jail on FreeBSD 8.2 can generate 2 jailed machine using the same version of FreeBSD, for example, on a 8.2 AMD64 Jailer, I can create 2 or more FreeBSD 8.2 amd64 Jailed machine. My question is: can I install other version of FreeBSD on the Jailed environment? If

Re: Questions about Jail

2012-04-03 Thread Michael Powell
James Y Chen wrote: > Hi > > I think Jail on FreeBSD 8.2 can generate 2 jailed machine using the same > version of FreeBSD, for example, on a 8.2 AMD64 Jailer, I can create 2 > or more FreeBSD 8.2 amd64 Jailed machine. > > My question is: can I install other version of

Re: Questions about Jail

2012-04-03 Thread Patrick
u and you want to easily keep things up to date across jails, I'd take a look at ezjail: http://erdgeist.org/arts/software/ezjail/ Patrick On Mon, Apr 2, 2012 at 11:20 PM, James Y Chen wrote: > Hi > > I think Jail on FreeBSD 8.2 can generate 2 jailed machine using the same > v

Re: Questions about Jail

2012-04-03 Thread Bernt Hansson
2012-04-03 08:20, James Y Chen skrev: Hi Hello My question is: can I install other version of FreeBSD on the Jailed environment? Since all jails use the same kernel I think you can not do that. There has been a lot of changes between versions of freebsd. ___

Questions about Jail

2012-04-02 Thread James Y Chen
Hi I think Jail on FreeBSD 8.2 can generate 2 jailed machine using the same version of FreeBSD, for example, on a 8.2 AMD64 Jailer, I can create 2 or more FreeBSD 8.2 amd64 Jailed machine. My question is: can I install other version of FreeBSD on the Jailed environment? If yes, which steps shall

Re: Jail and questions

2012-03-13 Thread Fbsd8
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 wheel12

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

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 ->

JAIL - building perl 5.1? fails on 8.2-STABLE

2012-02-21 Thread Damien Fleuriot
Hello list, I'm trying to build perl5.12 in a jail running on 8.2-STABLE, to ultimately build php5. I'm getting the following error: Running Mkbootstrap for threads::shared () chmod 644 shared.bs rm -f ../../lib/auto/threads/shared/shared.so cc -shared -L/usr/local/lib -fstack

Problem with auditd into jail

2012-01-31 Thread Vitaly Nikitin
Hello! I try to start service auditd into jail. I permit the device "audit" from the parent OS, everything else is limited. When I start auditd, I see the message: "Error setting audit stat". What steps do I need to do and what permission (perhaps via sysctl) I must to giv

Re: Setting up a syslog server in a jail [SOLVED]

2012-01-30 Thread bsd
Le 30 janv. 2012 à 17:15, bsd a écrit : > Le 30 janv. 2012 à 16:59, Matthew Seaman a écrit : > >> On 30/01/2012 15:40, bsd wrote: >>> I am still not able to get the log correctly sent to the specified jail… ?? >> >> Are you running syslogd in the host envi

Re: Setting up a syslog server in a jail

2012-01-30 Thread bsd
Le 30 janv. 2012 à 16:59, Matthew Seaman a écrit : > On 30/01/2012 15:40, bsd wrote: >> I am still not able to get the log correctly sent to the specified jail… ?? > > Are you running syslogd in the host environment? Yes I am running it both in the host and jail environment.

Re: Setting up a syslog server in a jail

2012-01-30 Thread Matthew Seaman
On 30/01/2012 15:40, bsd wrote: > I am still not able to get the log correctly sent to the specified jail… ?? Are you running syslogd in the host environment? If so, it's probably bound to INADDR_ANY and thus pre-empted your jailed syslog from binding to a network port. Tr

Setting up a syslog server in a jail

2012-01-30 Thread bsd
Hello, I would like to setup a syslog server inside a jail I have setup couple of other jail and they are already working as a DNS server and a HTTP server. The next step would be to configure a new jail as a syslog server. I have the following parameters : jail_enable=&quo

Re: Backup strategy for zfs + jail

2012-01-17 Thread Dmitry Sarkisov
On 17-01-2012, Tue [23:31:30], Wojciech Puchar wrote: > > > >Create snapshots of your datasets and use zfs send. You can even transfer > >differences between snapshots. > and then try to recover data from these backups after a year or so ;) No one did mention the retention policy ;) Jokes aside,

Re: Backup strategy for zfs + jail

2012-01-17 Thread bsd
>> Subject: Backup strategy for zfs + jail >> >> Hi, >> >> I have a simple 1U server with two disks that I have configured as a jail > server. >> >> I want to setup a simple yet very efficient backup policy for my jail > environment. >>

Re: Backup strategy for zfs + jail

2012-01-17 Thread Wojciech Puchar
Create snapshots of your datasets and use zfs send. You can even transfer differences between snapshots. and then try to recover data from these backups after a year or so ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mail

RE: Backup strategy for zfs + jail

2012-01-17 Thread Wojciech Puchar
--> Efficiency --> Compatibility with ZFS If you're running 9, give HAST a shot. maybe a stupid question but what is a practical difference between hast and doing ggate+gmirror and setting "prefer" load balancing to local disk? ___ freebsd-question

Re: Backup strategy for zfs + jail

2012-01-17 Thread Dmitry Sarkisov
BSD > > Subject: Backup strategy for zfs + jail > > > > Hi, > > > > I have a simple 1U server with two disks that I have configured as a jail > server. > > > > I want to setup a simple yet very efficient backup policy for my jail > environment

RE: Backup strategy for zfs + jail

2012-01-17 Thread Devin Teske
> -Original Message- > From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- > questi...@freebsd.org] On Behalf Of bsd > Sent: Tuesday, January 17, 2012 1:04 PM > To: Liste FreeBSD > Subject: Backup strategy for zfs + jail > > Hi, > > I have a s

Backup strategy for zfs + jail

2012-01-17 Thread bsd
Hi, I have a simple 1U server with two disks that I have configured as a jail server. I want to setup a simple yet very efficient backup policy for my jail environment. This server is running a ZFS filesystem. Ideally I would like to backup the main zfsroot/jail and all subdirectories on

Re: Problem installing world in jail template [Solved] 

2012-01-12 Thread bsd
Le 12 janv. 2012 à 19:46, bsd a écrit : > > Le 12 janv. 2012 à 17:29, ss griffon a écrit : > >> On Thu, Jan 12, 2012 at 8:09 AM, bsd wrote: >>> Hi, >>> >>> >>> I am following the FBSD handbook tutorial in order to install the world in >&

Re: Problem installing world in jail template

2012-01-12 Thread bsd
Le 12 janv. 2012 à 17:29, ss griffon a écrit : > On Thu, Jan 12, 2012 at 8:09 AM, bsd wrote: >> Hi, >> >> >> I am following the FBSD handbook tutorial in order to install the world in >> my jail template : >> >> # cd /usr/src >> # make

Problem installing world in jail template

2012-01-12 Thread bsd
Hi, I am following the FBSD handbook tutorial in order to install the world in my jail template : # cd /usr/src # make installworld DESTDIR=/jails/j/mroot The directory already exists. I have the following errors : > ln -fs libcom_err.so.5 /jails/j/mroot/usr/lib/libcom_err

Re: Shared Memory allocation in jail

2012-01-05 Thread Alejandro Imass
On Thu, Jan 5, 2012 at 8:56 AM, bsd wrote: > Hi, > > I am trying to run both postgres and zabbix in the same jail and I am only > able to start postgres or zabbix not both of them. > Yeah bro, it bit me in the ass as well ;-) the SysV IPC is common for the whole system. So any

Re: Shared Memory allocation in jail

2012-01-05 Thread bsd
Le 5 janv. 2012 à 14:56, bsd a écrit : > Hi, > > I am trying to run both postgres and zabbix in the same jail and I am only > able to start postgres or zabbix not both of them. > > I have tuned my sysctl on master host as follow : > > kern.ipc.shmmax=268435456

Shared Memory allocation in jail

2012-01-05 Thread bsd
Hi, I am trying to run both postgres and zabbix in the same jail and I am only able to start postgres or zabbix not both of them. I have tuned my sysctl on master host as follow : kern.ipc.shmmax=268435456 kern.ipc.shmall=409600 kern.ipc.semmap=256 security.jail.allow_raw_sockets=1

Re: * Re: IPSec in Jail

2011-12-05 Thread Alejandro Imass
On Sun, Dec 4, 2011 at 11:54 AM, Devin Teske wrote: > > We're using 8.1 + VIMAGE and using openvpn, ipfw, and IPSec within jail > successfully. > > No stability issues with other jails (so far), but then again only been > running that setup (with IPSec/openvpn in a vima

* Re: IPSec in Jail

2011-12-05 Thread Devin Teske
; on some jails we provide them. We can provide them with a public IP > for the jail but I'm not sure if this will work. > > I understand from the thread that recompiling the kernel with VIMAGE > enabled should allow the use of IPSec in the jails but apparently > until 8.0 this wa

IPSec in Jail

2011-12-03 Thread Alejandro Imass
Hello, I was following a thread in FBSD Spanish talking about the use of IPSec in Jails and there was no conclusion to the matter. I have a client that wants to run a VPN which requires IPSec and he is running on some jails we provide them. We can provide them with a public IP for the jail but

<    1   2   3   4   5   6   7   8   9   10   >