ezjail

  1. J

    Running the same service (apache, mysql) in multiple jails

    I am running a few jails via ezjail. Nginx and pf on the main host take care of routing incoming requests to the appropriate jail. Each jail needs to run different instances of the same service - Apache and MySQL. Please help me get the set up right for doing this^^. As far as I understand...
  2. D

    jails and loopback

    Im new to freebsd and jails, please be patient. according to the freebsd documentation, one should create a cloned loopback for a jail instance. I can't get behind the purpose of creating multiple loopback interfaces. can someone explain me this? Should I create a new lo interface for each...
  3. J

    jails pkg version mismatch

    On my system, pkg within jails seems to complain about the version numbers. I have checked the older posts (mostly from late last year) in this category, but I don't believe they solve my problem. Symptoms: Issuing a pkg update within a jail gave the apparently common error But, doing uname...
  4. B

    rndc unable to connect to named inside jail

    FreeBSD-12.0p7 We created a jail using ezjail-admin and configured it for bind 911 using ipv4 [192.168.209.133] (DNS02). Everything works including rndc. We then shut down the jail and archived it using ezjail-admin. We transferred the archived jail to another server and used ezjail-admin...
  5. fishfox

    Firewalling jail > host and jail <-> jail traffic

    I'm using ezjail and IPFW, at least thus far. So far I have 10.13.13.0/8 subnet. My gateway is .1, my host server is .2, and my first jail is at .3 I noticed that from within my jail at .3 I can knock on the outside if .2. I added this rule to my host but it makes no difference: add 10032...
  6. Martin Garcia

    Limit/cap resources on jails

    Hello, Im getting into jails I want to move away some KVM vms, and transform it into jails. My goal is to optimize (even more with jails) all resources, specially storage. Currently Im running 2 vms with FreeBSD, vm1 has PHP7.1 and MariaDB and vm2 has PHP5.6 with MySQL. (vm1 should have more...
  7. marcelbonnet

    ezjail abnormal service start

    Hi folks. I'd appreciate a help to discover what's wrong with sysutils/ezail. The service is started but never return the therminal, as you see below. Though, the jail is up and running, but never available through ezjail-admin . [@machine jails #] service ezjail onestart...
  8. P

    How to keep Base Jail and Host equal using EzJail?

    Hi This is my first post, I hope I can explaing my self in english, my natural language is spanish, and I speak/write very bad in spanish too :D I have multiple servers with multiple Jails, and is hard to keep all syncronized I have one machine with 1 jail as "model", I have it with all the...
  9. sysnes

    using ezjail just for isolation user home directory

    Hello everyone, I hope all of you are fine. I decided to change my strategy using ezjail. Before: * Install nginx, php-fpm, in one jail and also created all users in this jail * Install mysql in another jail * In main host used pf to forwarding port to and nginx,mysql, etc. Now: * In main...
  10. jdb

    Solved [ jail ] problems with DNS resolving/networking...

    Hi, I'm new to FreeBSD and jails... and I have difficulties with setting up networking inside a jail. The jail management utility I use is ezjail. I tried different utilities (iocage, qjail, cbsd etc.) but without success. My host system: FreeBSD 11.1-RELEASE-p10 #0: Tue May 8 05:21:56 UTC...
  11. L

    Solved Jails - ezjail, qjail, iocage, other

    After almost a couple years away, I'd like to know about jails management systems, for a new server. In the past I've used ezjail, then qjail. Now, in 2018, are all these tools up-to-date with current? ezjail is mentioned in the manual, so I guess it should be... iocage seems to require Python...
  12. L

    This weird PF

    Hey Guys. Following problem: Inside a jail I can ping my nameserver, i can ping someones ip adress but I cant ping a domain name. I cant install pkg or anything else inside a jail, because its not working. I set up my jails with ezjail. I created a fresh jail but its not working. I have set my...
  13. FBSD

    Support for your FreeBSD version has ended

    Good day - I've come across a weird problem with installing ports in a new jail. Using FreeBSD 11.1 with ezjail, updated with the latest patches. You may suggest to install the package, but I want to change something in the defaults (MySQL support). Host System # uname -a FreeBSD...
  14. petur

    Solved Should each jail have it's own loopback network interface?

    In the handbook section Managing Jails with ezjail, it is demonstrated how to setup a jail. From 14.6.1. Installing ezjail: (just below the reddish subsection), it says: Installing ezjail consists of adding a loopback interface for use in jails, installing the port or package, and enabling the...
  15. sysnes

    Send command to jail from main host - Socket with openssl api

    Hi, first of all I want to thanks for this community, this forum have rich content. Is possible to send a command from the main host to jail host? Like this: ezjail-admin console WEBSERVER | nginx -s reload I want to restart a service and check status, so I think I need to do this via...
  16. T

    mlock(2) in jails

    Hi, since various applications want to do that, often fail/coredump not being able to I wonder whether there is a way to allow mlock in jail. I am getting a permission denied there. I am using FreeBSD 10.3 on the target machine and ezjail.
  17. andrewm659

    routing in jails

    Not sure this is the right part of the forums. Move it if necessary. I have my FreeBSD 11 server running jails (ezjail) and I just moved it to a new VLAN. Most everything inbound works. I have for example rancid setup in one of the jails. Works great. But since I moved it to a new VLAN...
  18. andrewm659

    nfs server within jail

    Is this possible? I have seen older threads stating this is not possible. But I think it might have to do with older versions... do I need to explicitly disable nfs and rpc on the host?
  19. allan_sundry

    Solved FreeBSD 9.3 -> 10.3 Bind issues in jail

    Hello, Recently I updated my server FreeBSD server to 10.3 release. I have a few jails at that server and one of them with DNS. I used to work with Bind and expected to install a fresh one to the jail, in case that Bind isn't part of the base system since 10.0 release. When I check my jail I...
  20. J

    Why am I unable to update my FreeBSD jails?

    Hello, I'm trying to update the base system of the jails on my host. I created the jails using EZJail. On the host or on the jails, I think the correct way to check if my base system is up to date is to call # freebsd-update fetch This way I get a list of available updates. If the list is...
Top