ezjail

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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.
  13. 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...
  14. 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?
  15. 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...
  16. 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...
  17. P

    Solved portmaster in ezjail after upgrade from 10.1 to 10.3

    Hi. I have upgraded host from 10.1 to 10.3. After that i coudn't start ezjail. I edited fstab.jail_name to /usr/jails/basejail /usr/jails/jail_name/basejail nullfs ro 0 0 After that it started. I stoped it. Updated jail with ezjail-admin update -U -s 10.1-RELEASE mergemaster -U -D...
  18. masteroman

    Solved Convert ezjail to use ZFS with running jails

    OK, so I've made an mistake with rushing into setting up Jails and haven't configured ezjail before I started creating jails so it by default created all of the jails within /usr/jails directory which is part of zroot ZFS pool, not its own pool. To be more specific I'm talking about the...
  19. masteroman

    Updating jails with ezjail-admin fails

    I've tried updating my basejail on the system with: ezjail-admin update -u but it is unfortunately failing with following message: Looking up update.FreeBSD.org mirrors... 4 mirrors found. Fetching metadata signature for 11.0-RELEASE from update6.freebsd.org... done. Fetching metadata...
  20. mrpsycho

    ezjail at start can't find indexinfo distr

    Hello, tried to find similar problem... but it looks like nobody got it. so, I'm trying to make different flavours with installing software from ports. and for example, i can't install ports-mgmt/portdowngrade cause of: Making all in m4 Making all in tests ===> Staging for...
Top