jails

  1. I

    How to create a ZFS dataset within a jail?

    I'm trying to run Docker (must be within a FreeBSD jail) How do I create this: -- You will need to create a ZFS dataset on /usr/docker # zfs create -o mountpoint=/usr/docker <zroot>/docker -- when zfs list shows "no datasets available" ? The jail name is "testing" and it seems that is trying...
  2. I

    How to configure IP address in jails for a machine without network card.

    Normally, we have to put the network interface (e.g. em0 or igb0) when setting up jails. For example: jail_jailname_ip="192.168.1.100" jail_jailname_interface="igb0" If the network interface (physical card) is being sent as pass-thru via bhyve to a virtualized operating system running within...
  3. I

    Where is official documentation for "jail.conf"?

    Since the several past releases, we had been been getting this message: /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf. I had been keeping watch on the jails documentation for a few years and still couldn't see...
  4. H

    Solved PF in jail: /dev/pf: No such file or directory

    When trying to start pf with service pf start, I get the following error message: Enabling pfpfctl: /dev/pf: No such file or directory pfctl: /dev/pf: No such file or directory pfctl: /dev/pf: No such file or directory My Jails are confiugred in /etc/jail.conf: # Global Stuff exec.start...
  5. 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...
  6. 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...
  7. 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.
  8. 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?
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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>...
  17. 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...
  18. 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...
  19. 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...
  20. 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...
Back
Top