Re: children of ezjail managed jails

2021-03-21 Thread Ruben van Staveren via freebsd-jail
o have ezjails managed inside ezjails. I did not try the VIMAGE approach though Best regards, Ruben > On 18 Mar 2021, at 11:27, Axel Rau wrote: > > Hi all, > > is it possible to create children of jails, managed by ezjail, which are also > managed by ezjail? > Can the bas

Re: children of ezjail managed jails

2021-03-19 Thread Axel Rau
> Am 18.03.2021 um 11:27 schrieb Axel Rau : > > Hi all, > > is it possible to create children of jails, managed by ezjail, which are also > managed by ezjail? I now try to create a child manually by jail(8), but I cant even set children.max in the parent. In host: /us

children of ezjail managed jails

2021-03-18 Thread Axel Rau
Hi all, is it possible to create children of jails, managed by ezjail, which are also managed by ezjail? Can the basejail of the parent be used for that? Can I just set children.max and ezjail_jaildir ? I just need the children to install different versions of some packages. I did not succeed

Re: Ezjail

2020-04-30 Thread BulkMailForRudy
On 4/30/20 8:30 AM, Brandon helsley wrote: I installed and updated base jail with ezjail and then like the example in the handbook, created dnsjail with it's ip. I'm now needed to change the jail file in ezjail directory to a different ip address. What do I change it to and how do

Re: Ezjail

2020-04-30 Thread Mike Wayne
On Thu, Apr 30, 2020 at 03:30:59PM +, Brandon helsley wrote: > I installed and updated base jail with ezjail and then like the > example in the handbook, created dnsjail with it's ip. I'm now > needed to change the jail file in ezjail directory to a different > ip addres

Re: Ezjail

2020-04-30 Thread Dirk Engling
On 30.04.20 17:30, Brandon helsley wrote: > I installed and updated base jail with ezjail and then like the > example in the handbook, created dnsjail with it's ip. I'm now needed > to change the jail file in ezjail directory to a different ip > address. What do I change

Ezjail

2020-04-30 Thread Brandon helsley
I installed and updated base jail with ezjail and then like the example in the handbook, created dnsjail with it's ip. I'm now needed to change the jail file in ezjail directory to a different ip address. What do I change it to and how do I do this? Can I get any help? Please?

Binary jail install/maintain/upgrade code (plus ezjail replacement)

2019-07-22 Thread Mike Wayne
A while ago I discovered that jails installed as purely binary jails (where /usr/src is not installed) using ezjail can never be upgraded. This led to a lot of investigation where I also discovered that freebsd-update can not update a jail from the host. This means that jails with no Internet

Re: IP address assignments to jails using ezjail

2016-12-24 Thread Alexander Leidinger
Quoting "James B. Byrne via freebsd-jail" (from Fri, 23 Dec 2016 09:33:17 -0500): I am experimenting with jails on a bhyve vm guest running FBSD-11.0 using ezjail. I am having a problem with network connections to the outside from within the jail. I have sshd configured and I can

Re: Does ezjail require manual configuration?

2016-12-23 Thread Ernie Luzar
James B. Byrne via freebsd-jail wrote: I am experimenting with jails and ezjail on a FreeBSD-11.0 bhyve vm guest. I followed the instructions in the handbook to install ezjail and create a jail instance. I have connectivity issues with this jail of which I have inquired in another message

Does ezjail require manual configuration?

2016-12-23 Thread James B. Byrne via freebsd-jail
I am experimenting with jails and ezjail on a FreeBSD-11.0 bhyve vm guest. I followed the instructions in the handbook to install ezjail and create a jail instance. I have connectivity issues with this jail of which I have inquired in another message. However, in this case I need to discover

IP address assignments to jails using ezjail

2016-12-23 Thread James B. Byrne via freebsd-jail
I am experimenting with jails on a bhyve vm guest running FBSD-11.0 using ezjail. I am having a problem with network connections to the outside from within the jail. I have sshd configured and I can reach the jail from the outside: $ ssh -vv 192.168.216.196 OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11

Re: Failure to add new files when updating jails with ezjail-admin

2016-12-07 Thread Kirk Coombs
ls/newjail//boot/kernel: No such file or directory >>> mtree: /usr/jails/newjail//boot/kernel.old: No such file or directory >>> touch: /usr/jails/newjail//boot/kernel.old/.freebsd-update: No such file or >>> directory >>> Could not create kernel backup directory &g

Re: Failure to add new files when updating jails with ezjail-admin

2016-12-06 Thread Ernie Luzar
directory Jails are not using own kernel thus don;t need /boot/kernel directory The output is the same now matter how many times I invoke "ezjail-admin update -u,” so the new files are clearly not being inserted into the basejail. Any suggestions? I don't like ezjail I am rolling jai

Re: Failure to add new files when updating jails with ezjail-admin

2016-12-06 Thread Miroslav Lachman
kernel thus don;t need /boot/kernel directory The output is the same now matter how many times I invoke "ezjail-admin update -u,” so the new files are clearly not being inserted into the basejail. Any suggestions? I don't like ezjail I am rolling jails by hand (few simple shell scr

Failure to add new files when updating jails with ezjail-admin

2016-12-06 Thread Kirk Coombs
m just doing something wrong. I am running FreeBSD 10.3, with several jails built using ezjail-admin using the instructions at https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-ezjail.html <https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-ezjail.html>. I also

Re: Configuring network without ezjail

2015-12-13 Thread Michael B. Eichorn
; > > > > host's rc.conf: > > > > > > > > > > > > > > jail_enable="YES" > > > > > > > jail_list="thename" > > > > > > > jail_guantanamo_rootdir="thepath" > > > >

Re: Configuring network without ezjail

2015-12-13 Thread marcel
gt; jail_enable="YES" > >>>> jail_list="thename" > >>>> jail_guantanamo_rootdir="thepath" > >>>> jail_guantanamo_hostname="thename" > >>>> jail_guantanamo_ip="192.168.0.12" &

Re: Configuring network without ezjail

2015-12-13 Thread marcel
On 13/12/2015 06:07, James Gritton wrote: > On 2015-12-12 23:18, marcel wrote: >> On 12/12/2015 18:10, James Gritton wrote: >>> On 2015-12-11 18:50, marcel wrote: No I don't get to have an IP address... Yet I have writed this in my host's rc.conf: jail_enable="YES" jail_l

Re: Configuring network without ezjail

2015-12-13 Thread marcel
;>>> my >>>>>> host's rc.conf: >>>>>> >>>>>> jail_enable="YES" >>>>>> jail_list="thename" >>>>>> jail_guantanamo_rootdir="thepath" >>>>>> j

Re: Configuring network without ezjail

2015-12-13 Thread Michael B. Eichorn
jail_guantanamo_hostname="thename" > > > > > jail_guantanamo_ip="192.168.0.12" > > > > > > > > > > and I use the command: > > > > > > > > > > jail thepath thename 192.168.0.12 /bin/csh > > > > >

Re: Configuring network without ezjail

2015-12-12 Thread Sami Halabi
hostname="thename" > >>>> jail_guantanamo_ip="192.168.0.12" > >>>> > >>>> and I use the command: > >>>> > >>>> jail thepath thename 192.168.0.12 /bin/csh > >>>> > >>>> to conn

Re: Configuring network without ezjail

2015-12-12 Thread James Gritton
On 2015-12-12 23:18, marcel wrote: On 12/12/2015 18:10, James Gritton wrote: On 2015-12-11 18:50, marcel wrote: No I don't get to have an IP address... Yet I have writed this in my host's rc.conf: jail_enable="YES" jail_list="thename" jail_guantanamo_rootdir="thepath" jail_guantanamo_hostname=

Re: Configuring network without ezjail

2015-12-12 Thread marcel
On 12/12/2015 18:10, James Gritton wrote: > On 2015-12-11 18:50, marcel wrote: >> No I don't get to have an IP address... Yet I have writed this in my >> host's rc.conf: >> >> jail_enable="YES" >> jail_list="thename" >> jail_guantanamo_rootdir="thepath" >> jail_guantanamo_hostname="thename" >> ja

Re: Configuring network without ezjail

2015-12-12 Thread marcel
jail_guantanamo_rootdir="thepath" >>>> jail_guantanamo_hostname="thename" >>>> jail_guantanamo_ip="192.168.0.12" >>>> >>>> and I use the command: >>>> >>>> jail thepath thename 192.168.0.12 /bin/csh &

Re: Configuring network without ezjail

2015-12-12 Thread James Gritton
On 2015-12-11 18:50, marcel wrote: No I don't get to have an IP address... Yet I have writed this in my host's rc.conf: jail_enable="YES" jail_list="thename" jail_guantanamo_rootdir="thepath" jail_guantanamo_hostname="thename" jail_guantanamo_ip="192.168.0.12" and I use the command: jail thepa

Re: Configuring network without ezjail

2015-12-11 Thread Michael B. Eichorn
; > > > and I use the command: > > > > > > jail thepath thename 192.168.0.12 /bin/csh > > > > > > to connect to my jail... > > > > > > On 11/12/2015 23:31, Dirk Engling wrote: > > > > On 12.12.15 01:19, marcel wrote

Re: Configuring network without ezjail

2015-12-11 Thread Michael B. Eichorn
amo_hostname="thename" > > jail_guantanamo_ip="192.168.0.12" > > > > and I use the command: > > > > jail thepath thename 192.168.0.12 /bin/csh > > > > to connect to my jail... > > > > On 11/12/2015 23:31, Dirk Engling wrote: >

Re: Configuring network without ezjail

2015-12-11 Thread marcel
gt; jail_guantanamo_ip="192.168.0.12" > > and I use the command: > > jail thepath thename 192.168.0.12 /bin/csh > > to connect to my jail... > > On 11/12/2015 23:31, Dirk Engling wrote: >> On 12.12.15 01:19, marcel wrote: >> >>> I would like

Re: Configuring network without ezjail

2015-12-11 Thread Dirk Engling
command: > > jail thepath thename 192.168.0.12 /bin/csh Looks like you need to create the jail first. Use the -c parameter to jail. However I suggest to configure your jails with either a tool like ezjail or at least start the jails with the /etc/rc.d/jail script. erdgeist

Re: Configuring network without ezjail

2015-12-11 Thread marcel
1/12/2015 23:31, Dirk Engling wrote: > On 12.12.15 01:19, marcel wrote: > >> I would like to know if it is possible to configure a jail's network for >> accessing to the World Wide Web but without ezjail ? >> I have created my jail without ezjail (mkdir jail, make

Re: Configuring network without ezjail

2015-12-11 Thread marcel
the command: jail thepath thename 192.168.0.12 /bin/csh to connect to my jail... On 11/12/2015 23:31, Dirk Engling wrote: > On 12.12.15 01:19, marcel wrote: > >> I would like to know if it is possible to configure a jail's network for >> accessing to the World Wide

Re: Configuring network without ezjail

2015-12-11 Thread Dirk Engling
On 12.12.15 01:19, marcel wrote: > I would like to know if it is possible to configure a jail's network for > accessing to the World Wide Web but without ezjail ? > I have created my jail without ezjail (mkdir jail, make installworld, > etc...) and I would like to continue w

Configuring network without ezjail

2015-12-11 Thread marcel
Hello everybody, I would like to know if it is possible to configure a jail's network for accessing to the World Wide Web but without ezjail ? I have created my jail without ezjail (mkdir jail, make installworld, etc...) and I would like to continue without it if it's possible... Than

Re: Freebsd 10.1 - Ezjail - OpenVPN - Tun Interface

2015-10-24 Thread James Lodge
Hello all, >>>>> >>>>> >>>>> I'm trying to build a jail on FreeBSD 10.1 using ezjail in order to run >>>>> OpenVPN. I'm not using vimage and don't particularly want to but I'm >>>>> having an issue with ne

Re: Freebsd 10.1 - Ezjail - OpenVPN - Tun Interface

2015-10-23 Thread Allan Jude
lo all, >>>>> >>>>> >>>>> I'm trying to build a jail on FreeBSD 10.1 using ezjail in order to run >>>>> OpenVPN. I'm not using vimage and don't particularly want to but I'm >>>>> having an issue with netwo

Re: Freebsd 10.1 - Ezjail - OpenVPN - Tun Interface

2015-10-23 Thread James Lodge
>On 2015-10-23 16:45, James Lodge wrote: > >> On 2015-10-23 15:15, James Lodge wrote: >> On 2015-10-23 14:13, James Lodge wrote: >>>> On 2015-10-23 11:37, James Lodge wrote: >>>> Hello all, >>>> >>>> >>>> I'm try

Re: Freebsd 10.1 - Ezjail - OpenVPN - Tun Interface

2015-10-23 Thread Allan Jude
On 2015-10-23 16:45, James Lodge wrote: > >> On 2015-10-23 15:15, James Lodge wrote: >> On 2015-10-23 14:13, James Lodge wrote: >>>> On 2015-10-23 11:37, James Lodge wrote: >>>> Hello all, >>>> >>>> >>>> I'm trying

Re: Freebsd 10.1 - Ezjail - OpenVPN - Tun Interface

2015-10-23 Thread James Lodge
>On 2015-10-23 15:15, James Lodge wrote: > On 2015-10-23 14:13, James Lodge wrote: >>> On 2015-10-23 11:37, James Lodge wrote: >>> Hello all, >>> >>> >>> I'm trying to build a jail on FreeBSD 10.1 using ezjail in order to run >>>

Re: Freebsd 10.1 - Ezjail - OpenVPN - Tun Interface

2015-10-23 Thread Allan Jude
On 2015-10-23 15:15, James Lodge wrote: > On 2015-10-23 14:13, James Lodge wrote: >>> On 2015-10-23 11:37, James Lodge wrote: >>> Hello all, >>> >>> >>> I'm trying to build a jail on FreeBSD 10.1 using ezjail in order to run >>> OpenVP

Re: Freebsd 10.1 - Ezjail - OpenVPN - Tun Interface

2015-10-23 Thread James Lodge
On 2015-10-23 14:13, James Lodge wrote: >> On 2015-10-23 11:37, James Lodge wrote: >> Hello all, >> >> >> I'm trying to build a jail on FreeBSD 10.1 using ezjail in order to run >> OpenVPN. I'm not using vimage and don't particularly

Re: Freebsd 10.1 - Ezjail - OpenVPN - Tun Interface

2015-10-23 Thread Allan Jude
On 2015-10-23 14:13, James Lodge wrote: >> On 2015-10-23 11:37, James Lodge wrote: >> Hello all, >> >> >> I'm trying to build a jail on FreeBSD 10.1 using ezjail in order to run >> OpenVPN. I'm not using vimage and don't particularly

Re: Freebsd 10.1 - Ezjail - OpenVPN - Tun Interface

2015-10-23 Thread James Lodge
> On 2015-10-23 11:37, James Lodge wrote: > Hello all, > > > I'm trying to build a jail on FreeBSD 10.1 using ezjail in order to run > OpenVPN. I'm not using vimage and don't particularly want to but I'm having > an issue with networking. > > >

Re: Freebsd 10.1 - Ezjail - OpenVPN - Tun Interface

2015-10-23 Thread Allan Jude
On 2015-10-23 11:37, James Lodge wrote: > Hello all, > > > I'm trying to build a jail on FreeBSD 10.1 using ezjail in order to run > OpenVPN. I'm not using vimage and don't particularly want to but I'm having > an issue with networking. > >

Freebsd 10.1 - Ezjail - OpenVPN - Tun Interface

2015-10-23 Thread James Lodge
Hello all, I'm trying to build a jail on FreeBSD 10.1 using ezjail in order to run OpenVPN. I'm not using vimage and don't particularly want to but I'm having an issue with networking. OpenVPN daemon is up and running and I can connect successfully as a client. I rece

Re: ezjail and mergemaster

2014-08-05 Thread Warren Block
On Tue, 5 Aug 2014, mailinglists wrote: On 5/08/14 11:13 am, Warren Block wrote: On Tue, 29 Jul 2014, Allan Jude wrote: On 2014-07-29 17:44, Warren Block wrote: What process for running mergemaster should I suggest? Maybe different ones for trusted and untrusted jails? This will mount /u

Re: ezjail and mergemaster

2014-08-05 Thread mailinglists
On 5/08/14 11:13 am, Warren Block wrote: > On Tue, 29 Jul 2014, Allan Jude wrote: > >> On 2014-07-29 17:44, Warren Block wrote: >>> >>> What process for running mergemaster should I suggest? Maybe different >>> ones for trusted and untrusted jails? >> >> This will mount /usr/src into the basejail

Re: ezjail and mergemaster

2014-08-04 Thread Warren Block
On Tue, 29 Jul 2014, Allan Jude wrote: On 2014-07-29 17:44, Warren Block wrote: What process for running mergemaster should I suggest? Maybe different ones for trusted and untrusted jails? This will mount /usr/src into the basejail read-only: mount -t nullfs -o ro /usr/src /usr/jails/basej

Re: ezjail and mergemaster

2014-07-29 Thread Allan Jude
On 2014-07-29 17:44, Warren Block wrote: > This is tangential to my earlier changes to mergemaster. > > I'm working on an ezjail addition for the Handbook. The update section > shows both source and binary updates. > > For source, ezjail-admin update -b on the h

ezjail and mergemaster

2014-07-29 Thread Warren Block
This is tangential to my earlier changes to mergemaster. I'm working on an ezjail addition for the Handbook. The update section shows both source and binary updates. For source, ezjail-admin update -b on the host does a buildworld;installworld on the basejail. For binary, ezjail-

ezjail update errors

2014-06-24 Thread Kenta S.
I'm trying to update my jail system. "ezjail-admin update -u" gives me this problem: Looking up update.FreeBSD.org mirrors... 5 mirrors found. Fetching metadata signature for 9.2-RELEASE from update5.freebsd.org... done. Fetching metadata index... done. Inspecting system... don

Re: kern/188495: [jail] /etc/rc.d/jail, ezjail and Linux jails don't work with FreeBSD 10.0

2014-05-04 Thread linimon
Old Synopsis: /etc/rc.d/jail, ezjail and Linux jails don't work with FreeBSD 10.0 New Synopsis: [jail] /etc/rc.d/jail, ezjail and Linux jails don't work with FreeBSD 10.0 Responsible-Changed-From-To: freebsd-bugs->freebsd-jail Responsible-Changed-By: linimon Responsible-Changed-Wh

Re: ezjail and UPDATING20131010

2013-10-12 Thread Jase Thew
s in preparation for depreciating the jail.conf jail >> parameters. >> >> ezjail uses the rc.conf jail parameters and needs to be updated to use >> the native jail(8) parameters. Until that gets done ezjail only works >> with 9.2 and older versions of FreeBSD. The qjai

Re: ezjail and UPDATING20131010

2013-10-12 Thread Dirk Engling
On 12.10.13 07:24, Alexander Leidinger wrote: > Regarding OS updates (and I assume manual installworld updates in the > question as freebsd-update is not considered an option) I use: Well, running freebsd-update on all the jails with IgnorePaths set to "/[^e][^t][^c].*" does the trick > ---snip-

Re: ezjail and UPDATING20131010

2013-10-11 Thread Alexander Leidinger
On Fri, 11 Oct 2013 15:42:11 -0500 Mark Felder wrote: > On Fri, Oct 11, 2013, at 14:30, Dirk Engling wrote: > > On 11.10.13 21:27, wishmaster wrote: > > > > > Yeah!? But do you think updating python in each jail this is the > > > right solution? Freebsd-update in each jail?? What about when > >

Re: ezjail and UPDATING20131010

2013-10-11 Thread Fbsd8
jail rc.conf parameters to the new jail(8) format and then exec jail(8). This is in preparation for depreciating the jail.conf jail parameters. ezjail uses the rc.conf jail parameters and needs to be updated to use the native jail(8) parameters. Until that gets done ezjail only works with 9.

Re: ezjail and UPDATING20131010

2013-10-11 Thread Kenta Suzumoto
On 10/11/2013 at 8:11 PM, "Fbsd8" wrote: >The jail rc.script environment in 10.0 has been patched to convert all >the jail rc.conf parameters to the new jail(8) format and then exec >jail(8). This is in preparation for depreciating the jail.conf jail >parameters. >

Re: ezjail and UPDATING20131010

2013-10-11 Thread Mark Felder
On Fri, Oct 11, 2013, at 14:30, Dirk Engling wrote: > On 11.10.13 21:27, wishmaster wrote: > > > Yeah!? But do you think updating python in each jail this is the > > right solution? Freebsd-update in each jail?? What about when number > > of jails is 10 or about. My server is very high loaded

Re[2]: ezjail and UPDATING20131010

2013-10-11 Thread wishmaster
--- Original message --- From: "Dirk Engling" Date: 11 October 2013, 22:30:24 > On 11.10.13 21:27, wishmaster wrote: > > > Yeah!? But do you think updating python in each jail this is the > > right solution? Freebsd-update in each jail?? What about when number > > of jails is 10 or about.

Re: ezjail and UPDATING20131010

2013-10-11 Thread Dirk Engling
On 11.10.13 21:27, wishmaster wrote: > Yeah!? But do you think updating python in each jail this is the > right solution? Freebsd-update in each jail?? What about when number > of jails is 10 or about. My server is very high loaded and I use > tunable custom kernel and world. Don't use jails th

Re[2]: ezjail and UPDATING20131010

2013-10-11 Thread wishmaster
or any > > others dependent software. With ezjail, this software must be in each > > jail. What about updating this software? What about updating whole > > jail when base system was updated (mergemaster, etc)? > > Use the right tool for the right task, i.e. freebsd-update ins

Re: ezjail and UPDATING20131010

2013-10-11 Thread Dirk Engling
On 11.10.13 20:55, wishmaster wrote: > Dirk, one question. For example, I have multiple services (about 5 or > more) which must be isolated. Each services uses www-server or any > others dependent software. With ezjail, this software must be in each > jail. What about updating this so

Re[2]: ezjail and UPDATING20131010

2013-10-11 Thread wishmaster
> On 11.10.13 19:44, wishmaster wrote: > > > No, no. There is one solution. You should stopping to uses tools like > > this. Instead write own shell-script which do what you need. Overall, > > Jail is like "Lego" constructor :-). > > Excuse me? The ez

Re: ezjail and UPDATING20131010

2013-10-11 Thread Dirk Engling
On 11.10.13 19:44, wishmaster wrote: > No, no. There is one solution. You should stopping to uses tools like > this. Instead write own shell-script which do what you need. Overall, > Jail is like "Lego" constructor :-). Excuse me? The ezjail framework indeed tries to implemen

Re: Re[2]: ezjail and UPDATING20131010

2013-10-11 Thread Alejandro Imass
On Fri, Oct 11, 2013 at 1:44 PM, wishmaster wrote: [...] > No, no. There is one solution. You should stopping to uses tools like this. > Instead write own shell-script which do what you need. Overall, >Jail is like > "Lego" constructor :-). EzJail is great and

Re[2]: ezjail and UPDATING20131010

2013-10-11 Thread wishmaster
--- Original message --- From: "Mark Felder" Date: 11 October 2013, 20:31:19 > On Fri, Oct 11, 2013, at 12:03, Kenta Suzumoto wrote: > > Hi there. I updated to 10-STABLE after it was branched and suddenly none > > of my [ez]jails will start. Does it have anything to do with the entry in > >

Re: ezjail and UPDATING20131010

2013-10-11 Thread Mark Felder
On Fri, Oct 11, 2013, at 12:03, Kenta Suzumoto wrote: > Hi there. I updated to 10-STABLE after it was branched and suddenly none > of my [ez]jails will start. Does it have anything to do with the entry in > UPDATING? > What's the best way to solve it? > This is being discussed. I don't know a sol

ezjail and UPDATING20131010

2013-10-11 Thread Kenta Suzumoto
Hi there. I updated to 10-STABLE after it was branched and suddenly none of my [ez]jails will start. Does it have anything to do with the entry in UPDATING? What's the best way to solve it? ___ freebsd-jail@freebsd.org mailing list http://lists.freebsd.

Re: Solved Re: ezjail and allow.mount.zfs on 9.1

2013-01-27 Thread Jase Thew
On 27/01/2013 20:21, Russell Poyner wrote: > I apparently don't understand the update world process as well as I thought. > > make buildworld > make installworld > > did NOT replace my /etc/rc.d/jail script. > > When I copied the script from /usr/src/etc/rc.d to /etc/rc.d things started > worki

Solved Re: ezjail and allow.mount.zfs on 9.1

2013-01-27 Thread Russell Poyner
t I'm at a loss to figure out how to make the >>> setting survive a restart of the jail. >>> >>> Is there a way to get ezjail to honor the new /etc/jail.conf file? >>> >>> Or could someone post an example of how to set this using the >>> /usr

Re: ezjail and allow.mount.zfs on 9.1

2013-01-27 Thread Russell Poyner
llow-mount-allow-mount-zfs-do-not-get-passed-to-child-td5740553.html#a5742453 >> >> >> I can get it to work if I do: >> jail -m jid=12 allow.mount.zfs >> >> on the running jail, but I'm at a loss to figure out how to make the >> setting survive

Re: ezjail and allow.mount.zfs on 9.1

2013-01-25 Thread Jase Thew
3 > > > I can get it to work if I do: > jail -m jid=12 allow.mount.zfs > > on the running jail, but I'm at a loss to figure out how to make the > setting survive a restart of the jail. > > Is there a way to get ezjail to honor the new /etc/jail.conf file? >

ezjail and allow.mount.zfs on 9.1

2013-01-25 Thread Russell Poyner
on the running jail, but I'm at a loss to figure out how to make the setting survive a restart of the jail. Is there a way to get ezjail to honor the new /etc/jail.conf file? Or could someone post an example of how to set this using the /usr/local/etc/ezjail/JAILNAME file? Thanks Russ P

Options for updating jail world (regular and ezjail)

2012-12-16 Thread Beeblebrox
/release do: # make release -DNOSRC -DNOPORTS -DNODOC -DNO_MAN DNO_GAMES -DNO_INFO -DNO_JAIL * Update native jail and ezjail base using the release sources (ftp or release.iso) So my question is how to update exactly: 1. for ezjail would it be: #ezjail-admin update -h file://usr/obj/src/release

Options for updating jail world (regular and ezjail)

2012-11-23 Thread Beeblebrox
ing to pre-set config file), then untar the iso(?) into destdir. The problem is further complicated by the fact that there are jails I have setup through "installworld DESTDIR" and by using "ezjail-admin update -i -b". ezjail is able to update through iso/tar (optn 3) and

Re: Getting hostname from jail_getid(3) or ezjail(5)

2011-05-04 Thread Uffe Jakobsen
libjail, more specific jail_getid(3) to get the id of the jail and start a shell in it. The name of the jail is 'jail2', it was created by ezjail(5), and the important lines in /usr/local/etc/ezjail/jail2 are: export jail_jail2_hostname="zweihorn2" export jail_jail2_ip=&

Getting hostname from jail_getid(3) or ezjail(5)

2011-02-08 Thread Julian Fagir
the id of the jail and start a shell in it. The name of the jail is 'jail2', it was created by ezjail(5), and the important lines in /usr/local/etc/ezjail/jail2 are: export jail_jail2_hostname="zweihorn2" export jail_jail2_ip="IPADDRESS" export jail_jail22_root

Re: bizarre mount_nullfs issue with jails / ezjail

2010-04-07 Thread Dan Naumov
n and damage) the real underlying disks of the host? >>>> >>> Disks (as well as others you have in your host's /dev) aren't visible >>> inside jails. >> >> Well, somehow they are on my system. >> >> I guess I should've also

Re: bizarre mount_nullfs issue with jails / ezjail

2010-04-07 Thread Aiza
en't visible inside jails. Well, somehow they are on my system. I guess I should've also clarified that the jail was installed using ezjail and not completely manually From /usr/local/etc/ezjail/semipublic export jail_semipublic_devfs_enable="YES" export jail_semipublic

Re: bizarre mount_nullfs issue with jails / ezjail

2010-04-06 Thread Mars G Miro
he host? >>> >> >> Disks (as well as others you have in your host's /dev) aren't visible >> inside jails. > > Well, somehow they are on my system. > > I guess I should've also clarified that the jail was installed using > ezjail and not co

Re: bizarre mount_nullfs issue with jails / ezjail

2010-04-06 Thread Dan Naumov
in your host's /dev) aren't visible > inside jails. Well, somehow they are on my system. I guess I should've also clarified that the jail was installed using ezjail and not completely manually >From /usr/local/etc/ezjail/semipublic export jail_semipublic_devfs_enable="Y

Re: bizarre mount_nullfs issue with jails / ezjail

2010-04-06 Thread Mars G Miro
/usr/ports >>> mount_nullfs: /basejail: No such file or directory >>> >>> mkdir /basejail >>> >>> mount_nullfs /usr/ports/ /usr/jails/semipublic/usr/ports >>> mount_nullfs: /basejail/usr: No such file or directory >>> >>> Yet, this

bizarre mount_nullfs issue with jails / ezjail

2010-04-06 Thread Dan Naumov
So, I want the basejail to only contain the world and link the ports tree from the host into each individual jail when it's time to update the ports inside them, but I am running into a bit of a bizarre issue: I can mount_nullfs /usr/ports elsewhere on the host just fine, but it doesn't work if I t

Re: bizarre mount_nullfs issue with jails / ezjail

2010-04-06 Thread Dan Naumov
t_nullfs: /basejail/usr: No such file or directory >> >> Yet, this works: >> >> mkdir /usr/jails/semipublic/test >> mount_nullfs /usr/ports/ /usr/jails/semipublic/test >> umount /usr/jails/semipublic/test >> >> Any ideas? >> >> > > T

Re: bizarre mount_nullfs issue with jails / ezjail

2010-04-06 Thread Glen Barber
> mkdir /basejail > > mount_nullfs /usr/ports/ /usr/jails/semipublic/usr/ports > mount_nullfs: /basejail/usr: No such file or directory > > Yet, this works: > > mkdir /usr/jails/semipublic/test > mount_nullfs /usr/ports/ /usr/jails/semipublic/test > umount /usr/jai

Re: ezjail with vimage

2009-12-07 Thread Miroslav Lachman
Bjoern A. Zeeb wrote: *mumble* *tired* *again* .. Let me cite man rc.conf to not mess it up again: jail__exec_afterstart (str) Unset by default. This is the command run as Nth com- mand in a jail after jail startup, where N is 1, 2, and so on. jail__exec_posts

Re: ezjail with vimage

2009-12-07 Thread Bjoern A. Zeeb
On Mon, 7 Dec 2009, Miroslav Lachman wrote: Bjoern A. Zeeb wrote: On Mon, 7 Dec 2009, Miroslav Lachman wrote: Hi Miroslav, The last time I wrote with Bjoern A. Zeeb about jailname, cpuset etc. support in rc.conf (back in March 2009) he stated that "there is no need to add anything" because i

Re: ezjail with vimage

2009-12-07 Thread Miroslav Lachman
Bjoern A. Zeeb wrote: On Mon, 7 Dec 2009, Miroslav Lachman wrote: Hi Miroslav, The last time I wrote with Bjoern A. Zeeb about jailname, cpuset etc. support in rc.conf (back in March 2009) he stated that "there is no need to add anything" because it can be done by jail_NAME_flags. AFAIK curren

Re: ezjail with vimage

2009-12-07 Thread Bjoern A. Zeeb
On Mon, 7 Dec 2009, Miroslav Lachman wrote: Hi Miroslav, The last time I wrote with Bjoern A. Zeeb about jailname, cpuset etc. support in rc.conf (back in March 2009) he stated that "there is no need to add anything" because it can be done by jail_NAME_flags. AFAIK current system still doesn't

Re: ezjail with vimage

2009-12-07 Thread Alexander Leidinger
Quoting Miroslav Lachman <000.f...@quip.cz> (from Mon, 07 Dec 2009 13:27:31 +0100): Alexander Leidinger wrote: Quoting Alexander Petrovsky (from Mon, 7 Dec 2009 17:04:04 +0800): Hello! I want merge all my jails (ezjail framework) working under freebsd 7.2 to freebsd 8.0 with s

Re: ezjail with vimage

2009-12-07 Thread Miroslav Lachman
Alexander Leidinger wrote: Quoting Alexander Petrovsky (from Mon, 7 Dec 2009 17:04:04 +0800): Hello! I want merge all my jails (ezjail framework) working under freebsd 7.2 to freebsd 8.0 with support vimage. Ezjail don't support jail_NAME_flags="" http://www.leidinger.net/

Re: ezjail with vimage

2009-12-07 Thread Miroslav Lachman
Alexander Petrovsky wrote: Hello! I want merge all my jails (ezjail framework) working under freebsd 7.2 to freebsd 8.0 with support vimage. Ezjail don't support jail_NAME_flags="" Whether, I can simply change the line in /usr/local/etc/rc.d/ezjail: # Pass control to jail script

Re: ezjail with vimage

2009-12-07 Thread Alexander Petrovsky
Miroslav Lachman, Alexander Leidinger - big thanks! -- Петровский Александр / Alexander Petrovsky, ICQ: 350342118 Jabber: ju...@jabber.ru Phone: +7 914 8 820 815 ___ freebsd-jail@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freeb

Re: ezjail with vimage

2009-12-07 Thread Alexander Leidinger
Quoting Alexander Petrovsky (from Mon, 7 Dec 2009 17:04:04 +0800): Hello! I want merge all my jails (ezjail framework) working under freebsd 7.2 to freebsd 8.0 with support vimage. Ezjail don't support jail_NAME_flags="" http://www.leidinger.net/FreeBSD/current-patches/jail

ezjail with vimage

2009-12-07 Thread Alexander Petrovsky
Hello! I want merge all my jails (ezjail framework) working under freebsd 7.2 to freebsd 8.0 with support vimage. Ezjail don't support jail_NAME_flags="" Whether, I can simply change the line in /usr/local/etc/rc.d/ezjail: # Pass control to jail script which does the actual work [

Re: Problem with ezjail: Manually restarted jails don't come up again

2009-01-31 Thread Mel
On Wednesday 28 January 2009 16:09:26 Frank Steinborn wrote: > On Wed, Jan 28, 2009 at 03:23:33PM -0900, Mel wrote: > > On Wednesday 28 January 2009 12:24:31 Frank Steinborn wrote: > > > 37948 p3 TJ 0:00.01 -su -c /bin/sh -c ^I"/usr/local/bin/mlnet ^I > > > ^I ^I>> /dev/null 2>&1 &" (zsh) >

Re: Problem with ezjail: Manually restarted jails don't come up again

2009-01-28 Thread Frank Steinborn
On Wed, Jan 28, 2009 at 03:23:33PM -0900, Mel wrote: > On Wednesday 28 January 2009 12:24:31 Frank Steinborn wrote: > > I guess i found a possible answer to my problem: The jail is running > > mldonkey, which is started via /etc/rc.conf. If I don't start it, the > > jail comes up as expected. These

Re: Problem with ezjail: Manually restarted jails don't come up again

2009-01-28 Thread Mel
On Wednesday 28 January 2009 12:24:31 Frank Steinborn wrote: > On Wed, Jan 28, 2009 at 09:02:35PM +, Bjoern A. Zeeb wrote: > > if it's network services hanging on startup, check firewall and > > resolve.conf inside the jail or wait a few minutes to let possible dns > > queries timeout. > > Also

Re: Problem with ezjail: Manually restarted jails don't come up again

2009-01-28 Thread Frank Steinborn
On Wed, Jan 28, 2009 at 12:50:40PM -0900, Mel wrote: > On Wednesday 28 January 2009 11:25:56 Frank Steinborn wrote: > > > # /usr/local/etc/rc.d/ezjail.sh start mldonkey.local > > Configuring jails:. > > Starting jails: > > > > If I check with jls and 'pgrep -lfj ', i see that there are processes >

Re: Problem with ezjail: Manually restarted jails don't come up again

2009-01-28 Thread Mel
On Wednesday 28 January 2009 11:25:56 Frank Steinborn wrote: > # /usr/local/etc/rc.d/ezjail.sh start mldonkey.local > Configuring jails:. > Starting jails: > > If I check with jls and 'pgrep -lfj ', i see that there are processes > inside the hanging jail running, including /etc/rc. I guess the >

  1   2   >