jails

  1. n9010

    change the default shell for jexec

    Hi, I recently changed the default shell of one of my servers to zsh, since I'm lazy I used to type jexec <jailname> to jump inside a jail. After I switched to zsh, I get an error because zsh is not installed inside the jails. I know that I can use jexec <jailname> /bin/csh, but since I'm...
  2. scrappywan

    IOCAGE jails not found after pkg upgrade to 0.9.9.1_1

    On FreeBSD 11.1 I have four jails running that were created with py36-iocage about three months ago. Recently I ran pkg update/upgrade on my system and it upgraded IOCAGE to version 0.9.9.1_1. Since my last reboot IOCAGE can no longer locate any of the jails it originally created as if it...
  3. DiscmanDaemon

    Automating Headless Firefox with XVFB in Jails without login

    Hello all, I am trying to make use of the jails to run instances of a selenium/firefox app. To make Firefox run "headlessly", I am using XVFB (yes I do know that PhantomJS exists. This is testing a Firefox extension, so it really needs to be firefox) Currently, it works fine if I manually log...
  4. driesm

    Solved Jail IP configuration

    I've been diving into jails lately and I'm scratching my head. In terms of pure configuration of jail.conf I have no real questions. However in terms of IP usage and interface allocation I have a few. I have read many threads about jails and have seen 2 approaches most widely used: 1) Jail IP...
  5. Phishfry

    Solved Jail with other versions of FreeBSD

    I created my first jail tonight. My goal was to build NanoBSD images from source with -CURRENT in a jail on a FreeBSD 11.1 server. Is this possible? I got it up and running and configured ssh but when I run uname I get FreeBSD 11.1 not -CURRENT So can I run -CURRENT in a Jail and compile...
  6. Farhan Khan

    Jails different VLANs can still communicate?

    I first created two vlans, as follows: ifconfig vlan1 create vlan 1 vlandev em0 ifconfig vlan1 10.1.0.1/24 ifconfig vlan2 create vlan 2 vlandev em0 ifconfig vlan2 10.2.0.1/24 I then created two jails as follows: vlan1 { path = /usr/jail/vlan1; allow.mount; mount.devfs...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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.
  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. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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...
Back
Top