jails

  1. A

    jails with nullfs on host base install

    Hi all, this is my first post here. First thanks for this great system. Im a long term linux guy (principally debian), but after linux move to systemd I started to look on another direction... First an introduction before my question. I'm building an automated provisioning system with ansible...
  2. pming

    Jail lost all packages

    Hello everyone I recently set up Nextcloud in a jail using apache24, mariadb101 and php70 on FreeBSD 10.3. After rebooting my server the jail will not come up correctly. It won't mount datasets and all the packages I installed and their configuration seems gone. pkg info only returns pkg. I...
  3. 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.
  4. 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?
  5. J

    Simulating WLAN-Mesh (802.11s) with Jails

    Hi, I want to simulate at least 100 nodes of an 802.11s network, but each of the nodes has to run some java code. The java code reads from the routing tables. The packages between the nodes as well as the network interfaces should be simulated. Is FreeBSD/Jails a reasonable choice? Could a...
  6. I

    Server (NFS,SMB,CUPS,DLNA...)

    Hello everybody, I have just registered here because I am planning a project where I think FreeBSD could be the ideal OS. I am currently running a dual boot system with Arch Linux and Windows 10. Both systems have FDE, Linux with LUKS (LVM) and Windows with Bitlocker, so data can not be easily...
  7. masteroman

    Solved Redis in FreeBSD jail

    I've been using jails and managing them with ezjail, as such I'm not using vimage jails but plain ol' jails. In one of the jails I have installed Nginx, PHP-FPM, Redis, and Wordpress located on one of the user accounts within jail. When configuring Redis to listen on 127.0.0.1 it binds to all...
  8. A

    Advice needed for networking multiple jails with openvpn

    Greetings! I am having trouble understanding how to configure my network in the manner I desire. I googled around and searched the forums and have come across all kinds of stuff however I'm not sure what is best practice and such. I saw a lot of terms such as aliases, dummy interfaces, taps...
  9. 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...
  10. 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...
  11. timypcr

    Delete network alias

    I created a bad alias when attempting to setup networking for a jail. I ran ifconfig bce0 alias 192.168.1.111 netmask 0xffffff00 broadcast 192.168.4.255 when I should have done this ifconfig bce0 alias 192.168.4.111 netmask 0xffffff00 broadcast 192.168.4.255 I've corrected the problem but...
  12. timypcr

    Access/modification time set failed on: ./var/empty

    Hello, I run three jails on a FreeBSD 11-release host, and manage them with ezjail. One of the jails generates an error when attempting to archive it. ezjail-admin stop reminder ezjail-admin archive reminder pax: Access/modification time set failed on: ./var/empty <Operation not permitted>...
  13. N

    Postfix multi-domain mail server - jails or virtual domains?

    Hello folks! I am just getting started to setup a new mail server running FreeBSD 11. I need to setup 4 domains on this server. I am using Postfix as the MTA, Dovecot for Imap/Pop, Amavisd, Spamassassin, Postgrey & Clamav for filtering messages. Initially, all the domains will share a common...
  14. 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...
  15. W

    Solved What level of devfs_ruleset is more secure?

    Hey guys, I am working on my git server, and SSH its claiming about have no access to /dev/tty inside of jail. After read about this issue, I have found is need setup on /etc/rc.conf to start it using: devfs_load_rulesets="YES" And on my jail.conf I need use devfs_ruleset, the level 3 and 5...
  16. Rand0m

    Installing packages in Jails is very slow and causing timeout

    Hi All, I am still quite new to jails and still getting my head around. I am using ezjail and created few jails. Everything is fine apart from pkg install which is very flow and quite often times-out before it finishes downloading all the dependencies. roceed with this action? [y/N]: y...
  17. puppydog

    Does each jail need its own loopback or can they all share one?

    I thought this would be clearly spelled out somewhere but if it is I can't find it. Under the ezjail section in the handbook it includes a couple parts about creating an extra loopback for a jail. First you create it with cloned_interfaces="lo1" in /etc/rc.conf, and then in the example jail it...
  18. S

    migrate FreeBSD jails to linux

    we are running some jails in FreeBSD 10 and the decision has been made to decommission the FreeBSD server and migrate all the jails to Linux environment Red Hat 6 or 7. Is there a straight forward way of migrating BSD jails to linux -- as containers that can be run via docker or any other way...
  19. korund

    Routing between jails and physical interfaces

    I'm trying to get the following scheme up and running: What would be a good read to start except of jail man page?
  20. T

    Networking Structure for VM Host

    Hello, I'm currently running a server based on FreeBSD 10.3. I'm using jails to separate all the running services. Since I only have one public IPv4 address, I use PF and a nginx-proxy to redirect to the specific jails inside the NAT. My plan is to use 11.0 and it's enhanced bhyve features to...
Back
Top